Re:Announcing TypeScript 0.9.1
by ygra on Wednesday August 07, 2013 @09:54AM
(#6172801)
As an example, SQLite:
Here the void * is an argument that is passed in the callback as well so that you can update your own struct with the result, for example. Singe the library cannot know anything about your types, void * is the only option.
[ Parent
| on HN ]
Re:Announcing TypeScript 0.9.1
by harrytuttle on Wednesday August 07, 2013 @11:52AM
(#6173599)
Thanks for the example. Agree entirely then :)