Skip to content

Converge raw types with winapi #101

Description

@Rantanen

Given our raw::Variant is now raw::Variant<TS>, this isn't something we want anymore. We'll live with our own raw types, but we should probably have a feature that impls From between our and winapi's types for AutomationTypeSystem types.


We're starting to have a lot of duplication between Intercom and winapi: raw::VARIANT, raw::BSTR, etc.

Ideally we should introduce a winapi feature which pub uses the respective winapi items instead of defining our own.

This means making our own raw structs compatible with winapi and prevents us from defining custom methods on them. Instead such custom methods need to be functions or newtypes.

Fortunately in most cases we do not have that many methods on the raw types.~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions