New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81254


Ignore:
Timestamp:
07/28/11 01:36:47 (4 years ago)
Author:
cal@…
Message:

rev-upgrade: New interface generated by SWIG 1.3.40 (rather than 1.3.31 before)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gsoc11-rev-upgrade/base/src/machista1.0/machista_wrap.c

    r80760 r81254  
    11/* ---------------------------------------------------------------------------- 
    22 * This file was automatically generated by SWIG (http://www.swig.org). 
    3  * Version 1.3.31 
     3 * Version 1.3.40 
    44 *  
    55 * This file is not intended to be easily readable and contains a number of  
     
    99 * ----------------------------------------------------------------------------- */ 
    1010 
     11#define SWIGTCL 
     12 
    1113/* ----------------------------------------------------------------------------- 
    1214 *  This section contains generic SWIG labels for method/variable 
     
    1618/* template workaround for compilers that cannot correctly implement the C++ standard */ 
    1719#ifndef SWIGTEMPLATEDISAMBIGUATOR 
    18 # if defined(__SUNPRO_CC) 
    19  if (__SUNPRO_CC <= 0x560) 
    20 #     define SWIGTEMPLATEDISAMBIGUATOR template 
    21 #   else 
    22 #     define SWIGTEMPLATEDISAMBIGUATOR  
    23  endif 
     20# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) 
     21define SWIGTEMPLATEDISAMBIGUATOR template 
     22# elif defined(__HP_aCC) 
     23/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ 
     24/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ 
     25define SWIGTEMPLATEDISAMBIGUATOR template 
    2426# else 
    25  define SWIGTEMPLATEDISAMBIGUATOR  
     27define SWIGTEMPLATEDISAMBIGUATOR 
    2628# endif 
    2729#endif 
     
    4951#   define SWIGUNUSED  
    5052# endif 
     53#endif 
     54 
     55#ifndef SWIG_MSC_UNSUPPRESS_4505 
     56# if defined(_MSC_VER) 
     57#   pragma warning(disable : 4505) /* unreferenced local function has been removed */ 
     58# endif  
    5159#endif 
    5260 
     
    106114#endif 
    107115 
     116/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ 
     117#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) 
     118# define _SCL_SECURE_NO_DEPRECATE 
     119#endif 
     120 
     121 
    108122 
    109123#include <stdio.h> 
     
    117131 * swigrun.swg 
    118132 * 
    119  * This file contains generic CAPI SWIG runtime support for pointer 
     133 * This file contains generic C API SWIG runtime support for pointer 
    120134 * type checking. 
    121135 * ----------------------------------------------------------------------------- */ 
     
    123137/* This should only be incremented when either the layout of swig_type_info changes, 
    124138   or for whatever reason, the runtime changes incompatibly */ 
    125 #define SWIG_RUNTIME_VERSION "3" 
     139#define SWIG_RUNTIME_VERSION "4" 
    126140 
    127141/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
     
    136150/* 
    137151  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
    138   creating a static or dynamic library from the swig runtime code. 
    139   In 99.9% of the cases, swig just needs to declare them as 'static'. 
    140    
    141   But only do this if is strictly necessary, ie, if you have problems 
    142   with your compiler or so. 
     152  creating a static or dynamic library from the SWIG runtime code. 
     153  In 99.9% of the cases, SWIG just needs to declare them as 'static'. 
     154   
     155  But only do this if strictly necessary, ie, if you have problems 
     156  with your compiler or suchlike. 
    143157*/ 
    144158 
     
    158172/* Flags for pointer conversions */ 
    159173#define SWIG_POINTER_DISOWN        0x1 
     174#define SWIG_CAST_NEW_MEMORY       0x2 
    160175 
    161176/* Flags for new pointer objects */ 
     
    166181   Flags/methods for returning states. 
    167182    
    168    The swig conversion methods, as ConvertPtr, return and integer  
     183   The SWIG conversion methods, as ConvertPtr, return and integer  
    169184   that tells if the conversion was successful or not. And if not, 
    170185   an error code can be returned (see swigerrors.swg for the codes). 
     
    173188   states. 
    174189    
    175    In old swig versions, you usually write code as: 
     190   In old versions of SWIG, code such as the following was usually written: 
    176191 
    177192     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { 
     
    181196     } 
    182197 
    183    Now you can be more explicit as: 
     198   Now you can be more explicit: 
    184199 
    185200    int res = SWIG_ConvertPtr(obj,vptr,ty.flags); 
     
    190205    } 
    191206 
    192    that seems to be the same, but now you can also do 
     207   which is the same really, but now you can also do 
    193208 
    194209    Type *ptr; 
     
    208223   I.e., now SWIG_ConvertPtr can return new objects and you can 
    209224   identify the case and take care of the deallocation. Of course that 
    210    requires also to SWIG_ConvertPtr to return new result values, as 
     225   also requires SWIG_ConvertPtr to return new result values, such as 
    211226 
    212227      int SWIG_ConvertPtr(obj, ptr,...) {          
     
    226241   Of course, returning the plain '0(success)/-1(fail)' still works, but you can be 
    227242   more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the 
    228    swig errors code. 
     243   SWIG errors code. 
    229244 
    230245   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code 
     
    240255 
    241256   just use the SWIG_AddCast()/SWIG_CheckState() 
    242  
    243  
    244  */ 
     257*/ 
     258 
    245259#define SWIG_OK                    (0)  
    246260#define SWIG_ERROR                 (-1) 
     
    267281#define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) 
    268282 
    269  
    270283/* Cast-Rank Mode */ 
    271284#if defined(SWIG_CASTRANK_MODE) 
     
    290303 
    291304 
    292  
    293  
    294305#include <string.h> 
    295306 
     
    298309#endif 
    299310 
    300 typedef void *(*swig_converter_func)(void *); 
     311typedef void *(*swig_converter_func)(void *, int *); 
    301312typedef struct swig_type_info *(*swig_dycast_func)(void **); 
    302313 
    303 /* Structure to store inforomation on one type */ 
     314/* Structure to store information on one type */ 
    304315typedef struct swig_type_info { 
    305316  const char             *name;                 /* mangled name of this type */ 
     
    346357    if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; 
    347358  } 
    348   return (l1 - f1) - (l2 - f2); 
     359  return (int)((l1 - f1) - (l2 - f2)); 
    349360} 
    350361 
     
    388399 
    389400 
    390 /* think of this as a c++ template<> or a scheme macro */ 
    391 #define SWIG_TypeCheck_Template(comparison, ty)         \ 
    392   if (ty) {                                             \ 
    393     swig_cast_info *iter = ty->cast;                    \ 
    394     while (iter) {                                      \ 
    395       if (comparison) {                                 \ 
    396         if (iter == ty->cast) return iter;              \ 
    397         /* Move iter to the top of the linked list */   \ 
    398         iter->prev->next = iter->next;                  \ 
    399         if (iter->next)                                 \ 
    400           iter->next->prev = iter->prev;                \ 
    401         iter->next = ty->cast;                          \ 
    402         iter->prev = 0;                                 \ 
    403         if (ty->cast) ty->cast->prev = iter;            \ 
    404         ty->cast = iter;                                \ 
    405         return iter;                                    \ 
    406       }                                                 \ 
    407       iter = iter->next;                                \ 
    408     }                                                   \ 
    409   }                                                     \ 
    410   return 0 
    411  
    412401/* 
    413402  Check the typename 
     
    415404SWIGRUNTIME swig_cast_info * 
    416405SWIG_TypeCheck(const char *c, swig_type_info *ty) { 
    417   SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); 
    418 } 
    419  
    420 /* Same as previous function, except strcmp is replaced with a pointer comparison */ 
     406  if (ty) { 
     407    swig_cast_info *iter = ty->cast; 
     408    while (iter) { 
     409      if (strcmp(iter->type->name, c) == 0) { 
     410        if (iter == ty->cast) 
     411          return iter; 
     412        /* Move iter to the top of the linked list */ 
     413        iter->prev->next = iter->next; 
     414        if (iter->next) 
     415          iter->next->prev = iter->prev; 
     416        iter->next = ty->cast; 
     417        iter->prev = 0; 
     418        if (ty->cast) ty->cast->prev = iter; 
     419        ty->cast = iter; 
     420        return iter; 
     421      } 
     422      iter = iter->next; 
     423    } 
     424  } 
     425  return 0; 
     426} 
     427 
     428/*  
     429  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison 
     430*/ 
    421431SWIGRUNTIME swig_cast_info * 
    422 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { 
    423   SWIG_TypeCheck_Template(iter->type == from, into); 
     432SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { 
     433  if (ty) { 
     434    swig_cast_info *iter = ty->cast; 
     435    while (iter) { 
     436      if (iter->type == from) { 
     437        if (iter == ty->cast) 
     438          return iter; 
     439        /* Move iter to the top of the linked list */ 
     440        iter->prev->next = iter->next; 
     441        if (iter->next) 
     442          iter->next->prev = iter->prev; 
     443        iter->next = ty->cast; 
     444        iter->prev = 0; 
     445        if (ty->cast) ty->cast->prev = iter; 
     446        ty->cast = iter; 
     447        return iter; 
     448      } 
     449      iter = iter->next; 
     450    } 
     451  } 
     452  return 0; 
    424453} 
    425454 
     
    428457*/ 
    429458SWIGRUNTIMEINLINE void * 
    430 SWIG_TypeCast(swig_cast_info *ty, void *ptr) { 
    431   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); 
     459SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) { 
     460  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory); 
    432461} 
    433462 
     
    826855  swig_attribute     *attributes; 
    827856  struct swig_class **bases; 
    828   char              **base_names; 
     857  const char              **base_names; 
    829858  swig_module_info   *module; 
    830859} swig_class; 
     
    957986#define SWIG_Tcl_GetConstant    SWIG_Tcl_GetConstantObj 
    958987 
     988#include "assert.h" 
    959989 
    960990#ifdef __cplusplus 
     
    10121042    *ptr = (void *) 0; 
    10131043    if (strcmp(c,"NULL") == 0) return SWIG_OK; 
     1044 
     1045    /* Empty string: not a pointer */ 
     1046    if (*c == 0) return SWIG_ERROR;  
     1047 
    10141048    /* Hmmm. It could be an object name. */ 
    1015     if (Tcl_VarEval(interp,c," cget -this", (char *) NULL) == TCL_OK) { 
     1049 
     1050    /* Check if this is a command at all. Prevents <c> cget -this         */ 
     1051    /* from being called when c is not a command, firing the unknown proc */ 
     1052    if (Tcl_VarEval(interp,"info commands ", c, (char *) NULL) == TCL_OK) { 
    10161053      Tcl_Obj *result = Tcl_GetObjResult(interp); 
    1017       c = Tcl_GetStringFromObj(result, NULL); 
    1018       continue; 
    1019     } 
    1020     Tcl_ResetResult(interp); 
    1021     return SWIG_ERROR; 
    1022   } 
     1054      if (*(Tcl_GetStringFromObj(result, NULL)) == 0) { 
     1055        /* It's not a command, so it can't be a pointer */ 
     1056        Tcl_ResetResult(interp); 
     1057        return SWIG_ERROR; 
     1058      } 
     1059    } else { 
     1060      /* This will only fail if the argument is multiple words. */ 
     1061      /* Multiple words are also not commands.                  */ 
     1062      Tcl_ResetResult(interp); 
     1063      return SWIG_ERROR; 
     1064    } 
     1065 
     1066    /* Check if this is really a SWIG pointer */ 
     1067    if (Tcl_VarEval(interp,c," cget -this", (char *) NULL) != TCL_OK) { 
     1068      Tcl_ResetResult(interp); 
     1069      return SWIG_ERROR; 
     1070    } 
     1071 
     1072    c = Tcl_GetStringFromObj(Tcl_GetObjResult(interp), NULL); 
     1073  } 
     1074 
    10231075  c++; 
    10241076  c = SWIG_UnpackData(c,ptr,sizeof(void *)); 
     
    10311083      SWIG_Disown((void *) *ptr); 
    10321084    } 
    1033     *ptr = SWIG_TypeCast(tc,(void *) *ptr); 
     1085    { 
     1086      int newmemory = 0; 
     1087      *ptr = SWIG_TypeCast(tc,(void *) *ptr,&newmemory); 
     1088      assert(!newmemory); /* newmemory handling not yet implemented */ 
     1089    } 
    10341090  } 
    10351091  return SWIG_OK; 
     
    13221378    while (meth && meth->name) { 
    13231379      char *cr = (char *) Tcl_GetStringResult(interp); 
    1324       int meth_len = strlen(meth->name); 
     1380      size_t meth_len = strlen(meth->name); 
    13251381      char* where = strchr(cr,':'); 
    13261382      while(where) { 
     
    15861642#define SWIG_version "1.0" 
    15871643 
    1588 #define SWIGVERSION 0x010331  
     1644#define SWIGVERSION 0x010340  
    15891645#define SWIG_VERSION SWIGVERSION 
    15901646 
     
    16091665#endif 
    16101666 
     1667/* Compatibility version for TCL stubs */ 
     1668#ifndef SWIG_TCL_STUBS_VERSION 
     1669#define SWIG_TCL_STUBS_VERSION "8.1" 
     1670#endif 
     1671 
    16111672 
    16121673 
     
    16201681 
    16211682#include <limits.h> 
    1622 #ifndef LLONG_MIN 
    1623 # define LLONG_MIN      LONG_LONG_MIN 
    1624 #endif 
    1625 #ifndef LLONG_MAX 
    1626 # define LLONG_MAX      LONG_LONG_MAX 
    1627 #endif 
    1628 #ifndef ULLONG_MAX 
    1629 # define ULLONG_MAX     ULONG_LONG_MAX 
     1683#if !defined(SWIG_NO_LLONG_MAX) 
     1684# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__) 
     1685#   define LLONG_MAX __LONG_LONG_MAX__ 
     1686#   define LLONG_MIN (-LLONG_MAX - 1LL) 
     1687#   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) 
     1688# endif 
    16301689#endif 
    16311690 
     
    17561815      unsigned long v; 
    17571816      if (*nptr == '-') return SWIG_OverflowError; 
     1817      errno = 0; 
    17581818      v = strtoul(nptr, &endptr,0); 
    1759       if (errno == ERANGE) { 
     1819      if (nptr[0] == '\0' || *endptr != '\0') 
     1820        return SWIG_TypeError; 
     1821      if (v == ULONG_MAX && errno == ERANGE) { 
    17601822        errno = 0; 
    17611823        return SWIG_OverflowError; 
     
    17981860}; 
    17991861static swig_class *swig_macho_handle_bases[] = {0}; 
    1800 static char *swig_macho_handle_base_names[] = {0}; 
     1862static const char * swig_macho_handle_base_names[] = {0}; 
    18011863static swig_class _wrap_class_macho_handle = { "macho_handle", &SWIGTYPE_p_macho_handle,0,0, swig_macho_handle_methods, swig_macho_handle_attributes, swig_macho_handle_bases,swig_macho_handle_base_names, &swig_module }; 
    18021864SWIGINTERN int 
    18031865_wrap_macho_loadcmd_mlt_install_name_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    18041866  struct macho_loadcmd *arg1 = (struct macho_loadcmd *) 0 ; 
    1805   char *result = 0 ; 
    18061867  void *argp1 = 0 ; 
    18071868  int res1 = 0 ; 
     1869  char *result = 0 ; 
    18081870   
    18091871  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_loadcmd_mlt_install_name_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    18241886_wrap_macho_loadcmd_mlt_type_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    18251887  struct macho_loadcmd *arg1 = (struct macho_loadcmd *) 0 ; 
    1826   uint32_t result; 
    18271888  void *argp1 = 0 ; 
    18281889  int res1 = 0 ; 
     1890  uint32_t result; 
    18291891   
    18301892  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_loadcmd_mlt_type_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    18451907_wrap_macho_loadcmd_mlt_comp_version_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    18461908  struct macho_loadcmd *arg1 = (struct macho_loadcmd *) 0 ; 
    1847   uint32_t result; 
    18481909  void *argp1 = 0 ; 
    18491910  int res1 = 0 ; 
     1911  uint32_t result; 
    18501912   
    18511913  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_loadcmd_mlt_comp_version_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    18661928_wrap_macho_loadcmd_mlt_version_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    18671929  struct macho_loadcmd *arg1 = (struct macho_loadcmd *) 0 ; 
    1868   uint32_t result; 
    18691930  void *argp1 = 0 ; 
    18701931  int res1 = 0 ; 
     1932  uint32_t result; 
    18711933   
    18721934  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_loadcmd_mlt_version_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    18871949_wrap_macho_loadcmd_next_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    18881950  struct macho_loadcmd *arg1 = (struct macho_loadcmd *) 0 ; 
    1889   struct macho_loadcmd *result = 0 ; 
    18901951  void *argp1 = 0 ; 
    18911952  int res1 = 0 ; 
     1953  struct macho_loadcmd *result = 0 ; 
    18921954   
    18931955  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_loadcmd_next_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    19171979}; 
    19181980static swig_class *swig_macho_loadcmd_bases[] = {0}; 
    1919 static char *swig_macho_loadcmd_base_names[] = {0}; 
     1981static const char * swig_macho_loadcmd_base_names[] = {0}; 
    19201982static swig_class _wrap_class_macho_loadcmd = { "macho_loadcmd", &SWIGTYPE_p_macho_loadcmd,0,0, swig_macho_loadcmd_methods, swig_macho_loadcmd_attributes, swig_macho_loadcmd_bases,swig_macho_loadcmd_base_names, &swig_module }; 
    19211983SWIGINTERN int 
    19221984_wrap_macho_arch_mat_install_name_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    19231985  struct macho_arch *arg1 = (struct macho_arch *) 0 ; 
    1924   char *result = 0 ; 
    19251986  void *argp1 = 0 ; 
    19261987  int res1 = 0 ; 
     1988  char *result = 0 ; 
    19271989   
    19281990  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_arch_mat_install_name_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    19432005_wrap_macho_arch_mat_rpath_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    19442006  struct macho_arch *arg1 = (struct macho_arch *) 0 ; 
    1945   char *result = 0 ; 
    19462007  void *argp1 = 0 ; 
    19472008  int res1 = 0 ; 
     2009  char *result = 0 ; 
    19482010   
    19492011  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_arch_mat_rpath_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    19642026_wrap_macho_arch_mat_arch_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    19652027  struct macho_arch *arg1 = (struct macho_arch *) 0 ; 
    1966   cpu_type_t result; 
    19672028  void *argp1 = 0 ; 
    19682029  int res1 = 0 ; 
     2030  cpu_type_t result; 
    19692031   
    19702032  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_arch_mat_arch_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    19852047_wrap_macho_arch_mat_comp_version_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    19862048  struct macho_arch *arg1 = (struct macho_arch *) 0 ; 
    1987   uint32_t result; 
    19882049  void *argp1 = 0 ; 
    19892050  int res1 = 0 ; 
     2051  uint32_t result; 
    19902052   
    19912053  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_arch_mat_comp_version_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    20062068_wrap_macho_arch_mat_version_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    20072069  struct macho_arch *arg1 = (struct macho_arch *) 0 ; 
    2008   uint32_t result; 
    20092070  void *argp1 = 0 ; 
    20102071  int res1 = 0 ; 
     2072  uint32_t result; 
    20112073   
    20122074  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_arch_mat_version_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    20272089_wrap_macho_arch_mat_loadcmds_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    20282090  struct macho_arch *arg1 = (struct macho_arch *) 0 ; 
    2029   struct macho_loadcmd *result = 0 ; 
    20302091  void *argp1 = 0 ; 
    20312092  int res1 = 0 ; 
     2093  struct macho_loadcmd *result = 0 ; 
    20322094   
    20332095  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_arch_mat_loadcmds_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    20482110_wrap_macho_arch_next_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    20492111  struct macho_arch *arg1 = (struct macho_arch *) 0 ; 
    2050   struct macho_arch *result = 0 ; 
    20512112  void *argp1 = 0 ; 
    20522113  int res1 = 0 ; 
     2114  struct macho_arch *result = 0 ; 
    20532115   
    20542116  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_arch_next_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    20802142}; 
    20812143static swig_class *swig_macho_arch_bases[] = {0}; 
    2082 static char *swig_macho_arch_base_names[] = {0}; 
     2144static const char * swig_macho_arch_base_names[] = {0}; 
    20832145static swig_class _wrap_class_macho_arch = { "macho_arch", &SWIGTYPE_p_macho_arch,0,0, swig_macho_arch_methods, swig_macho_arch_attributes, swig_macho_arch_bases,swig_macho_arch_base_names, &swig_module }; 
    20842146SWIGINTERN int 
    20852147_wrap_macho_mt_archs_get(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    20862148  struct macho *arg1 = (struct macho *) 0 ; 
    2087   struct macho_arch *result = 0 ; 
    20882149  void *argp1 = 0 ; 
    20892150  int res1 = 0 ; 
     2151  struct macho_arch *result = 0 ; 
    20902152   
    20912153  if (SWIG_GetArgs(interp, objc, objv,"o:machista::macho_mt_archs_get self ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    21112173}; 
    21122174static swig_class *swig_macho_bases[] = {0}; 
    2113 static char *swig_macho_base_names[] = {0}; 
     2175static const char * swig_macho_base_names[] = {0}; 
    21142176static swig_class _wrap_class_macho = { "macho", &SWIGTYPE_p_macho,0,0, swig_macho_methods, swig_macho_attributes, swig_macho_bases,swig_macho_base_names, &swig_module }; 
    21152177SWIGINTERN int 
     
    21512213  char *arg2 = (char *) 0 ; 
    21522214  struct macho **arg3 = (struct macho **) 0 ; 
    2153   int result; 
    21542215  void *argp1 = 0 ; 
    21552216  int res1 = 0 ; 
     
    21582219  int alloc2 = 0 ; 
    21592220  struct macho *res3 ; 
     2221  int result; 
    21602222   
    21612223  { 
     
    21892251_wrap_strerror(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    21902252  int arg1 ; 
    2191   char *result = 0 ; 
    21922253  int val1 ; 
    21932254  int ecode1 = 0 ; 
     2255  char *result = 0 ; 
    21942256   
    21952257  if (SWIG_GetArgs(interp, objc, objv,"o:machista::strerror err ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    22102272_wrap_format_dylib_version(ClientData clientData SWIGUNUSED, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { 
    22112273  uint32_t arg1 ; 
    2212   char *result = 0 ; 
    22132274  unsigned int val1 ; 
    22142275  int ecode1 = 0 ; 
     2276  char *result = 0 ; 
    22152277   
    22162278  if (SWIG_GetArgs(interp, objc, objv,"o:machista::format_dylib_version uint32_t ",(void *)0) == TCL_ERROR) SWIG_fail; 
     
    22702332static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; 
    22712333static swig_type_info _swigt__p_int = {"_p_int", "int *|cpu_type_t *", 0, 0, (void*)0, 0}; 
    2272 static swig_type_info _swigt__p_macho = {"_p_macho", "struct macho *", 0, 0, (void*)&_wrap_class_macho, 0}; 
    2273 static swig_type_info _swigt__p_macho_arch = {"_p_macho_arch", "struct macho_arch *", 0, 0, (void*)&_wrap_class_macho_arch, 0}; 
    2274 static swig_type_info _swigt__p_macho_handle = {"_p_macho_handle", "struct macho_handle *", 0, 0, (void*)&_wrap_class_macho_handle, 0}; 
    2275 static swig_type_info _swigt__p_macho_loadcmd = {"_p_macho_loadcmd", "struct macho_loadcmd *", 0, 0, (void*)&_wrap_class_macho_loadcmd, 0}; 
     2334static swig_type_info _swigt__p_macho = {"_p_macho", "struct macho *|macho *", 0, 0, (void*)&_wrap_class_macho, 0}; 
     2335static swig_type_info _swigt__p_macho_arch = {"_p_macho_arch", "struct macho_arch *|macho_arch *", 0, 0, (void*)&_wrap_class_macho_arch, 0}; 
     2336static swig_type_info _swigt__p_macho_handle = {"_p_macho_handle", "macho_handle *|struct macho_handle *", 0, 0, (void*)&_wrap_class_macho_handle, 0}; 
     2337static swig_type_info _swigt__p_macho_loadcmd = {"_p_macho_loadcmd", "struct macho_loadcmd *|macho_loadcmd *", 0, 0, (void*)&_wrap_class_macho_loadcmd, 0}; 
    22762338static swig_type_info _swigt__p_p_macho = {"_p_p_macho", "struct macho **", 0, 0, (void*)0, 0}; 
    2277 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|uint32_t *", 0, 0, (void*)0, 0}; 
     2339static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uint32_t *|unsigned int *", 0, 0, (void*)0, 0}; 
    22782340 
    22792341static swig_type_info *swig_type_initial[] = { 
     
    23712433  size_t i; 
    23722434  swig_module_info *module_head, *iter; 
    2373   int found; 
     2435  int found, init; 
    23742436   
    23752437  clientdata = clientdata; 
     
    23812443    swig_module.cast_initial = swig_cast_initial; 
    23822444    swig_module.next = &swig_module; 
     2445    init = 1; 
     2446  } else { 
     2447    init = 0; 
    23832448  } 
    23842449   
     
    24092474  } 
    24102475   
     2476  /* When multiple interpeters are used, a module could have already been initialized in 
     2477       a different interpreter, but not yet have a pointer in this interpreter. 
     2478       In this case, we do not want to continue adding types... everything should be 
     2479       set up already */ 
     2480  if (init == 0) return; 
     2481   
    24112482  /* Now work on filling in swig_module.types */ 
    24122483#ifdef SWIGRUNTIME_DEBUG 
     
    25922663  if (interp == 0) return TCL_ERROR; 
    25932664#ifdef USE_TCL_STUBS 
    2594   if (Tcl_InitStubs(interp, (char*)"8.1", 0) == NULL) { 
     2665  /* (char*) cast is required to avoid compiler warning/error for Tcl < 8.4. */ 
     2666  if (Tcl_InitStubs(interp, (char*)SWIG_TCL_STUBS_VERSION, 0) == NULL) { 
    25952667    return TCL_ERROR; 
    25962668  } 
    25972669#endif   
     2670#ifdef USE_TK_STUBS 
     2671  /* (char*) cast is required to avoid compiler warning/error. */ 
     2672  if (Tk_InitStubs(interp, (char*)SWIG_TCL_STUBS_VERSION, 0) == NULL) { 
     2673    return TCL_ERROR; 
     2674  } 
     2675#endif 
     2676   
    25982677  Tcl_PkgProvide(interp, (char*)SWIG_name, (char*)SWIG_version); 
    25992678   
Note: See TracChangeset for help on using the changeset viewer.