#include <functional>
#include <tool/coroutine.h>
#include <qa_utils/utility_registry.h>
#include <common.h>
#include <wx/cmdline.h>
#include <cstdio>
#include <string>
 
Go to the source code of this file.
◆ MyCoroutine
◆ coroutine_main_func()
  
  
      
        
          | static int coroutine_main_func  | 
          ( | 
          int |           argc,  | 
         
        
           | 
           | 
          char ** |           argv ) | 
         
       
   | 
  
static   | 
  
 
 
◆ g_cmdLineDesc
  
  
      
        
          | const wxCmdLineEntryDesc g_cmdLineDesc[] | 
         
       
   | 
  
static   | 
  
 
Initial value:= {
    {
            wxCMD_LINE_SWITCH,
            "h",
            "help",
            _( 
"displays help on the command line parameters" ).mb_str(),
 
            wxCMD_LINE_VAL_NONE,
            wxCMD_LINE_OPTION_HELP,
    },
    {
            wxCMD_LINE_OPTION,
            "c",
            "count",
            _( 
"how high to count" ).mb_str(),
 
            wxCMD_LINE_VAL_NUMBER,
            wxCMD_LINE_PARAM_OPTIONAL,
    },
    { wxCMD_LINE_NONE }
}
 
Definition at line 80 of file coroutines.cpp.
Referenced by coroutine_main_func(), pcb_parser_main_func(), replay_main_func(), and sexpr_parser_func().
 
 
◆ registered
Initial value:
        "coroutine",
        "Test a simple coroutine",
} )
static bool Register(const KI_TEST::UTILITY_PROGRAM &aProgInfo)
Register a utility program factory function against an ID string.
 
static int coroutine_main_func(int argc, char **argv)
 
 
Definition at line 128 of file coroutines.cpp.
Referenced by DSN::SPECCTRA_DB::FromBOARD().