Passing class instance as void* and casting back
Jonas Drewsen
jdrewsen at nospam.com
Sat Nov 5 13:00:06 PDT 2011
Den 05-11-2011 09:38, Maxim Fomin skrev:
> Hello. I use curl library and need to overwrite default behavior of
> data/headers writing.
<snip>
> So, how can I pass an object through void* or may be there is another
> way to tell
> header_func() which object should be used?
You can use this working curl wrapper (from phobos review 2) as inspiration.
/Jonas
More information about the Digitalmars-d
mailing list