1 //int pyTestAssert <void > zzpy_testAssert(TP)2tp_obj zzpy_testAssert(TP) 3 { 4 int r=pyTestAssert(); 5 return tp_number(r); 6 } 7 //int pyTestCrash <void > zzpy_testCrash(TP)8tp_obj zzpy_testCrash(TP) 9 { 10 int r=pyTestCrash(); 11 return tp_number(r); 12 } 13 //int pyTestSub <char> zzpy_testSub(TP)14tp_obj zzpy_testSub(TP) 15 { 16 char * p0=(char *)TP_STR().string.val; 17 int r=pyTestSub(p0); 18 return tp_number(r); 19 } 20 pyFunc pyHelpers_functions[]={ 21 {"testAssert",zzpy_testAssert}, 22 {"testCrash",zzpy_testCrash}, 23 {"testSub",zzpy_testSub}, 24 {NULL,NULL} 25 }; 26