Re: SFML2 Demo Dilema
- Posted by Shian_Lee May 09, 2015
- 2587 views
Since I'm not a C programmer, I've never had to use define_c_func(), and I don't remember what's on the manual as well...
But the difference between your example and my old library is that in your example you are using few variables, while my old library was just an intermediate utility to store and extract variables from a single string.
As far as I understand C struct, it's about a single pointer for continuous block of memory. So I assume that all you need is a pointer and a single string. If that's true, then the library I offered is just the utility to store and extract your variables from that string...