Skip to content

wrap declaration inside extern "C" #135

@StephaneCapo

Description

@StephaneCapo

Hello,

it should be useful to set declarations in headers files between : 

#ifdef __cplusplus
extern "C"
{
#endif

// declarations

#ifdef __cplusplus
} // extern "C"
#endif

so that including those headers in a C++ project will work directly.

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