Skip to content

Can't link libdispatch in C language #835

Open
@RainyLave

Description

@RainyLave

when i use cmake to link libdispatch with my project written in C, I got API_AVAILABLE(macos(10.7), ios(5.0))
DISPATCH_EXPORT DISPATCH_PURE DISPATCH_NONNULL1 DISPATCH_NOTHROW
is not defined.
and there's still a lot of errors in data.h queue.h dipatch.h .etc
if I wants to use libdispatch, should I change these .h files to compate with C project? Is there any better solution to reduce the work when linking the lib with C project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions