Re: Python/swig bindings.
From: C. Michael Pilato <cmpilato_at_collab.net>
 
Date: 2004-10-01 18:21:55 CEST 
Douglas Waer <douglas.m.waer@boeing.com> writes:
 > I'm trying to create some Python scripts, and I'm having some trouble
 The argument-reductions laws of the SWIG bindings go like this:
    1.  Python functions don't return errors.  They throw exceptions.
    2.  ...Python functions will return the "other" stuff that the C
           error = foo (object **returned_obj, int blah);
        becomes:
           try:
    3.  Callback function/baton pairs get reduced to just callback
           error = foo (callback_t function, void *baton);
        becomes:
           try:
 ---------------------------------------------------------------------
  | 
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.