src/NumPtr/NumPtr_wrap.c
/* Register a type mapping with the type-checking */
Register a type mapping with the type-checking
Register a type mapping with the type - checking
SWIGRUNTIME(swig_type_info *)
SWIG_TypeRegister(swig_type_info *ti)
{
  swig_type_info *tc, *head, *ret, *next;
  tc = swig_type_list;
  while (tc) {
    if (strcmp(tc->name, ti->name) == 0) {
      if (tc->clientdata) ti->clientdata = tc->clientdata;	
      head = tc;
      next = tc->next;
      goto l1;
    }
    tc = tc->prev;
  }
  head = ti;
  next = 0;
  ti->prev = swig_type_list;
  swig_type_list = ti;
 l1:
  ret = head;
  tc = ti + 1;
  while (tc->name) {
    head->next = tc;
    tc->prev = head;
    head = tc;
    tc++;
  }
  if (next) next->prev = head;  
  head->next = next;
  return ret;
}
SWIGRUNTIME ( swig_type_info * ) SWIG_TypeRegister ( swig_type_info * ti ) { swig_type_info * tc , * head , * ret , * next ; tc = swig_type_list ; while ( tc ) { if ( strcmp ( tc -> name , ti -> name ) == 0 ) { if ( tc -> clientdata ) ti -> clientdata = tc -> clientdata ; head = tc ; next = tc -> next ; goto l1 ; } tc = tc -> prev ; } head = ti ; next = 0 ; ti -> prev = swig_type_list ; swig_type_list = ti ; l1 : ret = head ; tc = ti + 1 ; while ( tc -> name ) { head -> next = tc ; tc -> prev = head ; head = tc ; tc ++ ; } if ( next ) next -> prev = head ; head -> next = next ; return ret ; }
Register a type mapping with the type-checking
Register a type mapping with the type - checking
/* Check to see if this type has already been registered */ /* Already exists in the table.  Just add additional types to the list */ /* Place in list */ /* Build linked lists */ /* Patch up the rest of the links */ /**/