Skip to content

Forward Declaration of Struct and Struct Methods #178

@isVoid

Description

@isVoid

Similar to #177, struct and struct methods can also be forward declared. In the forward declaration mode, struct and struct method are also supported.

// Instead of including:
// #include <bar.h>

// Forward declaration of Bar and method baz
struct Bar {
    void baz();
};

extern "C"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions