356 |
} |
} |
357 |
} |
} |
358 |
|
|
359 |
|
/* Exception handler for the add_field method */ |
360 |
|
%typemap(python,except) int DBFFile_add_field { |
361 |
|
$function; |
362 |
|
if ($source < 0) |
363 |
|
{ |
364 |
|
SWIG_exception(SWIG_RuntimeError, "add_field failed"); |
365 |
|
} |
366 |
|
} |
367 |
|
|
368 |
/* define and use some typemaps for the field_info() method whose |
/* define and use some typemaps for the field_info() method whose |
369 |
* C-implementation has three output parameters that are returned |
* C-implementation has three output parameters that are returned |