It's unclear what this create function should return:
|
GDNativeExtensionClassCreateInstance create_instance_func; /* this one is mandatory */ |
But looking at the code in main godot repo, which handles this objects, it's obvious that there are specific requirement, including functions this object should have. Godot-cpp is complient with it as it appears.
Thus, to me it seems like it's important to cover this information in the header file. Be it a comment or (preferably) a struct.