Changeset 19717


Ignore:
Timestamp:
11/12/15 21:08:05 (9 years ago)
Author:
Eric.Larour
Message:

CHG: shuffling things around. wrapper_macros does not define WRAPPER for the javascript
but instead the specific wrapper header file.

Location:
issm/trunk-jpl/src/wrappers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/wrappers/ElementConnectivity/ElementConnectivity.h

    r19716 r19717  
    5151/* serial output macros: */
    5252#define ELEMENTCONNECTIVITY pelementconnectivity,NULL,NULL
    53 #undef WRAPPER
    5453#define WRAPPER(modulename) extern "C" { int  ElementConnectivityModule(double** pelementconnectivity, int* elementsin, int* nodeconnectivityin, int nelsin, int nodsin, int widthin)
    5554#endif
  • TabularUnified issm/trunk-jpl/src/wrappers/NodeConnectivity/NodeConnectivity.h

    r19716 r19717  
    5151/* serial output macros: */
    5252#define CONNECTIVITY pconnectivity,pnods,pwidth
    53 #undef WRAPPER
    5453#define WRAPPER(modulename) extern "C" { int  NodeConnectivityModule(double** pconnectivity, int* pnods, int *pwidth, int* elementsin, int nelsin, int nodsin)
    5554#endif
  • TabularUnified issm/trunk-jpl/src/wrappers/TriMesh/TriMesh.h

    r19716 r19717  
    7171#define SEGMENTS          psegments,pnsegs
    7272#define SEGMENTMARKERLIST psegmentmarkers,pnsegs
    73 #undef WRAPPER
    7473#define WRAPPER(modulename) extern "C" { int  TriMeshModule(double** pindex, double** px, double** py, int* pnel, int* pnods, double** psegments, double** psegmentmarkers, int* pnsegs, double* domainx, double* domainy, int domainnods, double areain)
    7574#define _DO_NOT_LOAD_GLOBALS_//we only load globals for TriMeshModule.js, not other modules!
  • TabularUnified issm/trunk-jpl/src/wrappers/javascript/include/wrapper_macros.h

    r19702 r19717  
    3434        }
    3535/*}}}*/
    36 /* WRAPPER {{{*/
    37 #define WRAPPER(modulename,...) extern "C" { int  modulename##Module(__VA_ARGS__)
    38 /*}}}*/
    3936/* CHECKARGUMENTS {{{*/
    4037#define CHECKARGUMENTS(NLHS,NRHS,functionpointer)  //do nothing, we are not creating a dynamic library here!
Note: See TracChangeset for help on using the changeset viewer.