Navigation



Ignore:
Timestamp:
Dec 3, 2010, 6:29:51 PM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Attempting to improve python wrapper usability (work in progress)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dbg_interactive/dbg_interactive.c

    r609 r618  
    4444static void * myinterp (void * arg)
    4545{
    46         char * dum[2] = { arg, NULL };
     46        char * dum[3] = { "<dbg_interactive>", arg, NULL };
    4747        TRACE_ENTRY("%p", arg);
     48       
     49        fd_log_threadname ( "[dbg_interactive python interpreter]" );
    4850       
    4951        sleep(1);
    5052        fd_log_debug("\nStarting python interpreter [experimental].\n");
    5153        fd_log_debug("Example syntax:\n>>> print fd_config_cnf_diamid_get(cvar.fd_g_config)\n\n");
    52         Py_Main(arg ? 1 : 0, dum);
     54        Py_Main(arg ? 2 : 1, dum);
    5355       
    5456        /* Upon exit, issue the order of terminating to fD */
Note: See TracChangeset for help on using the changeset viewer.