I'm currently trying to bind Protobuf,
so I used Objective-Sharpie to generate ApiDefinition and StructsAndEnums (that contains lot of errors ).
When I finished to fix errors, I still got one last :
The type or namespace name 'GPBEnumValidationFunc' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (Protobuf.Binding)
I found that this type is declared in GPBRuntimeTypes.h like that :
/**
* Verifies that a given value can be represented by an enum type.
* /
typedef BOOL (GPBEnumValidationFunc)(int32_t);
And this type/struct, is not declared in sharpie's generated files.
Is there a way to bind this "type" in C# ?
Answers
Anyone ? please