Re: [Tutor] How to wrap ctype functions

2010-03-05 Thread Mark Tolonen
"Jan Jansen" wrote in message news:f17500b71003030943w606925edie41b41d6d64ef...@mail.gmail.com... Hi there, I wonder what's the best way to wrap given function calls (in this case ctype function calls but more generally built-in functions and those kinds). I have a huge c library and almost

Re: [Tutor] How to wrap ctype functions

2010-03-03 Thread Steven D'Aprano
On Thu, 4 Mar 2010 04:43:28 am Jan Jansen wrote: > Hi there, > > I wonder what's the best way to wrap given function calls (in this > case ctype function calls but more generally built-in functions and > those kinds). I have a huge c library and almost all functions return > an error code. The libr

Re: [Tutor] How to wrap ctype functions

2010-03-03 Thread Hugo Arts
On Wed, Mar 3, 2010 at 6:43 PM, Jan Jansen wrote: > Hi there, > > I wonder what's the best way to wrap given function calls (in this case > ctype function calls but more generally built-in functions and those kinds). > I have a huge c library and almost all functions return an error code. The > li

[Tutor] How to wrap ctype functions

2010-03-03 Thread Jan Jansen
Hi there, I wonder what's the best way to wrap given function calls (in this case ctype function calls but more generally built-in functions and those kinds). I have a huge c library and almost all functions return an error code. The library also contains a function, that returns the corresponding