C structs

Mafi mafi at example.org
Tue Oct 19 13:42:39 PDT 2010


Hello,
I'm trying to write some SDL wrapper. After a long fight against 
objconv, implib and optlink I finally got SDL loading. Hurray! Now I'm 
going to write a wrapper for SDL_Surface. I will only use surface 
poiters so my questions is if I can safely put these pointers into class 
instances which on destruction free the surface (iff it's no display)?


More information about the Digitalmars-d-learn mailing list