Closed realvictorprm closed 6 years ago
I cannot access the handles of the classes without using hacks (reflection. This approach is not considerable for public libraries.
The access to the handle is needed to support external window libraries like GLFW which make cross-platform surface creation very easy.
Fixing this would require to making the Handle property of IMarshalling public in the various classes.
IMarshalling
PS: The Handle property from IMarshalling itself is already public however it is not generated as public in the classes.
See the pull request #60 Simple change, heavy impact for my binding-library GLFW3.NET.
Description:
I cannot access the handles of the classes without using hacks (reflection. This approach is not considerable for public libraries.
Why:
The access to the handle is needed to support external window libraries like GLFW which make cross-platform surface creation very easy.
How to fix:
Fixing this would require to making the Handle property of
IMarshalling
public in the various classes.PS: The Handle property from IMarshalling itself is already public however it is not generated as public in the classes.