Proper C Pointer Binding

ralex krckoorascic at gmail.com
Wed Mar 26 04:27:04 PDT 2014


>   static Font opCall(string path) {
>      Font f;
>      f.fptr = loadFont(path.toStringz());
>     return s;
>   }

That should be return f; of course.


More information about the Digitalmars-d mailing list