SyFi  0.3
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 3912 of file SyFiPYTHON_wrap.cxx.


Member Function Documentation

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

Definition at line 3913 of file SyFiPYTHON_wrap.cxx.

References SyFi::p, run_all::res, SWIG_ConvertPtr, and SWIG_IsOK.

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

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines