PyInline problem

Fredrik Juhlin laz at netg.se
Wed Dec 5 12:18:13 EST 2001


Duncan Smith <buzzard at urubu.freeserve.co.uk> wrote:
: Can anybody tell me why this won't build?
:     int myfunc(int a) {
                     ^
:         if(n < 0){
             ^
Because you are using different variable names, perhaps?
:             exit(1);
:             }
:         return a * (a+1);
:     }

obIHaveNeverUsedPyInlineDisclaimer

//FJ




More information about the Python-list mailing list