Navigation



Ignore:
Timestamp:
Dec 7, 2010, 11:13:58 AM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Cleanup many SWIG definitions from main .h files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dbg_interactive/dbg_interactive.c

    r618 r621  
    6666       
    6767        Py_Initialize();
     68       
     69#if PY_VERSION_HEX >= 0x03000000
     70        PyInit__diwrap();
     71#else /* PY_VERSION_HEX */
    6872        init_diwrap();
     73#endif /* PY_VERSION_HEX */
    6974       
     75        /* In future version, it might be better to use the diwrap.py file generated by SWIG here to get the proxy classes definitions */
    7076        PyRun_SimpleString("from _diwrap import *\n");
    7177        if (TRACE_BOOL(INFO)) {
    72                 PyRun_SimpleString("print \"[dbg_interactive] fD \",FD_PROJECT_VERSION_MAJOR,\".\",FD_PROJECT_VERSION_MINOR,\".\",FD_PROJECT_VERSION_REV\n");
     78                PyRun_SimpleString("print \"[dbg_interactive] \",FD_PROJECT_NAME,FD_PROJECT_VERSION_MAJOR,FD_PROJECT_VERSION_MINOR,FD_PROJECT_VERSION_REV\n");
    7379        }
    7480       
    75         /*
    76         PyRun_SimpleString("config = cvar.fd_g_config\n");
    77         PyRun_SimpleString("dict = fd_config_cnf_dict_get(config)\n");
    78         PyRun_SimpleString("fd_dict_dump(dict)\n");
    79         */
    8081        CHECK_POSIX( pthread_create(&pyinterp, NULL, myinterp, conffile) );
    8182 
Note: See TracChangeset for help on using the changeset viewer.