Re: EMBEDDING > Run Python & Run C Function

2007-06-22 Thread Gabriel Genellina
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

Re: EMBEDDING > Run Python & Run C Function

2007-06-22 Thread anonymisiert85
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

Re: EMBEDDING > Run Python & Run C Function

2007-06-22 Thread Farshid Lashkari
[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

EMBEDDING > Run Python & Run C Function

2007-06-22 Thread anonymisiert85
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