[Python-Dev] Inline and SWIG
Greg Ewing
greg@cosc.canterbury.ac.nz
Fri, 24 Aug 2001 10:55:00 +1200 (NZST)
Paul Prescod <paulp@ActiveState.com>:
> You are describing inline.
No, I'm not describing Inline, that's the point. I
have some fairly detailed ideas on what I am describing,
but this message is too small to contain them...
As a brief example, the Inline::C example
posted earlier would look something like this:
cdef printf(char *,...): extern
def hello(s):
printf("Hello, world, %s\n", s)
But that's way too simple an example to really
convey anything. More later...
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+