~siretart/gnucash/ubuntu-fullsource

« back to all changes in this revision

Viewing changes to src/business/dialog-tax-table/swig-dialog-tax-table.c

  • Committer: Reinhard Tartler
  • Date: 2008-08-03 07:27:37 UTC
  • mto: (2.1.1 debian)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: siretart@tauware.de-20080803072737-tnidfmnpamgavfk5
import gnucash_2.2.6.orig.tar.gz

The original tarball had the md5sum: 7ac08c5e2076c9b4d44c785d21bc1a2f

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- buffer-read-only: t -*- vi: set ro: */
2
2
/* ----------------------------------------------------------------------------
3
3
 * This file was automatically generated by SWIG (http://www.swig.org).
4
 
 * Version 1.3.33
 
4
 * Version 1.3.35
5
5
 * 
6
6
 * This file is not intended to be easily readable and contains a number of 
7
7
 * coding conventions designed to improve portability and efficiency. Do not make
126
126
 
127
127
/* This should only be incremented when either the layout of swig_type_info changes,
128
128
   or for whatever reason, the runtime changes incompatibly */
129
 
#define SWIG_RUNTIME_VERSION "3"
 
129
#define SWIG_RUNTIME_VERSION "4"
130
130
 
131
131
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
132
132
#ifdef SWIG_TYPE_TABLE
161
161
 
162
162
/* Flags for pointer conversions */
163
163
#define SWIG_POINTER_DISOWN        0x1
 
164
#define SWIG_CAST_NEW_MEMORY       0x2
164
165
 
165
166
/* Flags for new pointer objects */
166
167
#define SWIG_POINTER_OWN           0x1
301
302
extern "C" {
302
303
#endif
303
304
 
304
 
typedef void *(*swig_converter_func)(void *);
 
305
typedef void *(*swig_converter_func)(void *, int *);
305
306
typedef struct swig_type_info *(*swig_dycast_func)(void **);
306
307
 
307
 
/* Structure to store inforomation on one type */
 
308
/* Structure to store information on one type */
308
309
typedef struct swig_type_info {
309
310
  const char             *name;                 /* mangled name of this type */
310
311
  const char             *str;                  /* human readable name of this type */
431
432
  Cast a pointer up an inheritance hierarchy
432
433
*/
433
434
SWIGRUNTIMEINLINE void *
434
 
SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
435
 
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
 
435
SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
 
436
  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
436
437
}
437
438
 
438
439
/* 
697
698
#include <stdio.h>
698
699
#include <string.h>
699
700
#include <stdlib.h>
 
701
#include <assert.h>
700
702
 
701
703
#ifdef __cplusplus
702
704
extern "C" {
851
853
    if (type) {
852
854
      cast = SWIG_TypeCheckStruct(from, type);
853
855
      if (cast) {
854
 
        *result = SWIG_TypeCast(cast, (void *) SCM_CELL_WORD_1(smob));
 
856
        int newmemory = 0;
 
857
        *result = SWIG_TypeCast(cast, (void *) SCM_CELL_WORD_1(smob), &newmemory);
 
858
        assert(!newmemory); /* newmemory handling not yet implemented */
855
859
        return SWIG_OK;
856
860
      } else {
857
861
        return SWIG_ERROR;
1343
1347
SWIG_InitializeModule(void *clientdata) {
1344
1348
  size_t i;
1345
1349
  swig_module_info *module_head, *iter;
1346
 
  int found;
 
1350
  int found, init;
1347
1351
  
1348
1352
  clientdata = clientdata;
1349
1353
  
1353
1357
    swig_module.type_initial = swig_type_initial;
1354
1358
    swig_module.cast_initial = swig_cast_initial;
1355
1359
    swig_module.next = &swig_module;
 
1360
    init = 1;
 
1361
  } else {
 
1362
    init = 0;
1356
1363
  }
1357
1364
  
1358
1365
  /* Try and load any already created modules */
1381
1388
    module_head->next = &swig_module;
1382
1389
  }
1383
1390
  
 
1391
  /* When multiple interpeters are used, a module could have already been initialized in
 
1392
       a different interpreter, but not yet have a pointer in this interpreter.
 
1393
       In this case, we do not want to continue adding types... everything should be
 
1394
       set up already */
 
1395
  if (init == 0) return;
 
1396
  
1384
1397
  /* Now work on filling in swig_module.types */
1385
1398
#ifdef SWIGRUNTIME_DEBUG
1386
1399
  printf("SWIG_InitializeModule: size %d\n", swig_module.size);