Yes, there are examples on __bi.py, basically you have to create a Python
object with the returned data and store it on the Python stack using the
TOS macros :-)
Sent from my Android cell phone, please forgive the lack of format on the
text, and my fat thumbs :-P
El 31/10/2012 17:17, "GilRoss" <gilbert.r...@gmail.com> escribió:
> I would like to return an integer from a native funcion:
> myValue = ReadAdc( freq, oversamples )
> Where ReadAdc is a native function. Are there examples of returning values
> from C code?
> Gil
> --
> You are subscribed to the "python-on-a-chip" (or p14p for short) Google
> Group.
> Site: http://groups.google.com/group/python-on-a-chip