Simply return the pointer from the function with the 'return' statement, like any other function return value. Remember that pointers are just integers.
-- brion
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Dr. Joshua E. Auerbach Postdoctoral Researcher Laboratory of Intelligent Systems École Polytechnique Fédérale de Lausanne