En Fri, 22 Jun 2007 12:09:40 -0300, <[EMAIL PROTECTED]> escribió:
> At the moment i can run python-string-code from C (MinGW, WinXP)
>
> But how can i register a C-function in python-RUNTIME and call this C
> function from python - without wrapper dll's or libs???
You can use ctypes:
http://www.p
i readed this before but not understand it - but now - the second time
it works
THANK YOU!!
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> At the moment i can run python-string-code from C (MinGW, WinXP)
>
> But how can i register a C-function in python-RUNTIME and call this C
> function from python - without wrapper dll's or libs???
Have a look at the following documentation page on extending/embedding
p
At the moment i can run python-string-code from C (MinGW, WinXP)
But how can i register a C-function in python-RUNTIME and call this C
function from python - without wrapper dll's or libs???
STEPS:
initialize python
regsiter foo() ### don't know how to do this
run python-script "c=foo(a