Back to index

nordugrid-arc-nox  1.1.0~rc6
Static Public Member Functions
swig::traits_asptr< Type > Struct Template Reference

List of all members.

Static Public Member Functions

static int asptr (PyObject *obj, Type **val)

Detailed Description

template<class Type>
struct swig::traits_asptr< Type >

Definition at line 3319 of file arc_wrap.cpp.


Member Function Documentation

template<class Type >
static int swig::traits_asptr< Type >::asptr ( PyObject *  obj,
Type **  val 
) [inline, static]

Definition at line 3320 of file arc_wrap.cpp.

                                                {
      Type *p;
      int res = (SWIG_ConvertPtr(obj, (void**)&p, type_info<Type>(), 0) == SWIG_OK) ? SWIG_OLDOBJ : 0;
      if (SWIG_IsOK(res)) {
       if (val) *val = p;
      }
      return res;
    }

Here is the caller graph for this function:


The documentation for this struct was generated from the following file: