foralex / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Embedding picoc inside a C/C++ application as a scripting engine #146

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to embed picoc inside a C/C++ application (say, as a DLL) to 
provide scripting capability? The idea is to extend the functionality of the 
program through picoc. It should be possible to exchange data between the C/C++ 
program and the picoc scripts. Thanks.

Original issue reported on code.google.com by selvahar...@gmail.com on 11 Jan 2012 at 5:05

GoogleCodeExporter commented 8 years ago
Yes, this is how it's designed to be used.

Original comment by zik.sale...@gmail.com on 11 Jan 2012 at 5:18

GoogleCodeExporter commented 8 years ago
Thanks. Is there any documentation/example on how to do it?

Original comment by selvahar...@gmail.com on 11 Jan 2012 at 5:24

GoogleCodeExporter commented 8 years ago
There's some doco at:
http://code.google.com/p/picoc/wiki/Adding_native_C_library_functions

Original comment by zik.sale...@gmail.com on 11 Jan 2012 at 5:37