You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen #285 and #191, this Google group post and another Google group post. size_t and ssize_t are very common types especially when making system calls in Linux.
However, I don't see any direct support for those types still in JNA. There looks to be a couple of implementations buried as nested classes, but they are not accessible since they aren't in the public scope. Why don't classes exist for these types?
The text was updated successfully, but these errors were encountered:
You are right, there are multiple definitions for size_t and ssize_t in the JNA codebase, however no one stepped up yet to unify/implement them. You are wrong however, that the existing definitions are not public:
com.sun.jna.platform.linux.XAttr.size_t
com.sun.jna.platform.linux.XAttr.ssize_t
com.sun.jna.platform.win32.BaseTSD.SSIZE_T
com.sun.jna.platform.win32.BaseTSD.SIZE_T
These are all accessible. In all fairness the inline definition:
I've seen #285 and #191, this Google group post and another Google group post.
size_t
andssize_t
are very common types especially when making system calls in Linux.However, I don't see any direct support for those types still in JNA. There looks to be a couple of implementations buried as nested classes, but they are not accessible since they aren't in the public scope. Why don't classes exist for these types?
The text was updated successfully, but these errors were encountered: