| 1032 | return cppName.empty() ? name : cppName; |
| 1033 | } |
| 1034 | FunctionPtr arg ( const char * argName ) { |
| 1035 | DAS_VERIFYF(arguments.size() == 1, "during a processing of the '%s' function\n", cppName.c_str()); |
| 1036 | arguments[0]->name = argName; |
| 1037 | return this; |
| 1038 | } |
| 1039 | FunctionPtr args ( std::initializer_list<const char *> argList ) { |
| 1040 | if ( argList.size()==0 ) return this; |
| 1041 | DAS_VERIFYF(argList.size() == arguments.size(), "during a processing of the '%s' function\n", cppName.c_str()); |