>From: Frame Buffer <framebuffer gm...>
>I tried using boost.python, but I believe I totally
missed the point.
>Embedding python using boost.python requires python/c
api anyways which to
>me defeats the very purpose of using it.
I don't see how that would defeat the purpose. boost.python
is a high
level wrapper for python/c api, just as luabind is a high
level
wrapper for the lua c api.
take note that you don't need to dabble in the python/c api
if you
don't want to (you may have to if you want something overly
complex).
the same goes for luabind and the lua c api.
the idea is that you don't need to since Boost.Python does
it for you
(just as well as luabind handles the lua c api for you).
that's the
concept of high level wrappers.
>I though it was something like
>luabind that allowed me to embed the interpretor.
it *is* something like luabind that allows you to embed the
interpreter.
>But it only allows to
>extend python with c++ code.
that's wrong.
http://www.boost.org/libs/python/doc
/tutorial/doc/html/python/embedding.html
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
a>
_______________________________________________
luabind-user mailing list
luabind-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luabind-us
er
|