Changeset 12119


Ignore:
Timestamp:
04/24/12 21:44:05 (13 years ago)
Author:
Eric.Larour
Message:

Added nrhs as input argument for all python modules to access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/python/include/python_macros.h

    r12073 r12119  
    2323
    2424#define MODULEBOOT(); ModuleBoot();  \
    25         PyObject* output = PyTuple_New(NLHS); if (!output) return NULL;
     25        PyObject* output = PyTuple_New(NLHS); if (!output) return NULL;\
     26                        int nrhs = (int)PyTuple_Size(args);
    2627
    2728#define MODULEEND();  ModuleEnd(); \
Note: See TracChangeset for help on using the changeset viewer.