Here is an example of what I mean.
sfTexture* someTexture = sfTexture_createFromFile("some image.png", null);
How can I figure out the size of someTexture? I'm not doing the allocating myself.
I'm working on some binding stuff at the moment. My current issue relates to some stuff I'm doing with the Font class. My Font will return a Texture representation with the function getTexture just like sf::Font, but sfFont_getTexture returns a const pointer to a sfTexture. I didn't want to cast away the const, so I thought I would make a new sfTexture using sfTexture_createFromMemory, and then I came to where I am now.
In any case, I have experienced this elsewhere when playing with my binding and I now feel like it is something I should make sure i can handle.
Any suggestions?