| 37 | } |
| 38 | |
| 39 | void CppiaModule::setDebug(CppiaExpr *outExpr, int inFileId, int inLine) |
| 40 | { |
| 41 | #ifdef HXCPP_DEBUGGER |
| 42 | if (inFileId) |
| 43 | allFileIds.insert(inFileId); |
| 44 | #endif |
| 45 | outExpr->className = creatingClass; |
| 46 | outExpr->functionName = creatingFunction; |
| 47 | //outExpr->filename = cStrings[inFileId].c_str(); |
| 48 | outExpr->filename = strings[inFileId].utf8_str(); |
| 49 | outExpr->line = inLine; |
| 50 | } |
| 51 | |
| 52 | |
| 53 | // --- CppiaModule ------------------------- |
no test coverage detected