-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
@manuelbl I have been advised to explore your work to go further with JExtract/Panama that I use to generate Java bindings to OpenGL.
You seam to be experienced at generating bindings to macOS SDK frameworks so I'd like to ask how you deal with surprising cases such as in Foundation/NSObjCRuntime.h at line 492. The @Class keyword does not seam to be regular C language to me.
#define NSFoundationVersionNumber_iOS_9_x_Max 1299
#endif
@class NSString, Protocol;
typedef NSString * NSExceptionName NS_EXTENSIBLE_STRING_ENUM;
typedef NSString * NSRunLoopMode NS_EXTENSIBLE_STRING_ENUM;Here is JExtract output:
./panama-gl-bindings-macos/include/Foundation/NSObjCRuntime.h:492:1: error: expected identifier or '('
How did you deal with this kind of line?
Metadata
Metadata
Assignees
Labels
No labels