| 157 | |
| 158 | |
| 159 | void LanguageRepresentationFunction::EndLinesCallback(void* ctxt, BNHighLevelILFunction* il, size_t exprIndex, |
| 160 | BNHighLevelILTokenEmitter* tokens) |
| 161 | { |
| 162 | LanguageRepresentationFunction* func = (LanguageRepresentationFunction*)ctxt; |
| 163 | Ref<HighLevelILFunction> ilObj = new HighLevelILFunction(BNNewHighLevelILFunctionReference(il)); |
| 164 | HighLevelILInstruction instr = ilObj->GetExpr(exprIndex); |
| 165 | Ref<HighLevelILTokenEmitter> tokenObj = new HighLevelILTokenEmitter(BNNewHighLevelILTokenEmitterReference(tokens)); |
| 166 | func->EndLines(instr, *tokenObj); |
| 167 | } |
| 168 | |
| 169 | |
| 170 | char* LanguageRepresentationFunction::GetCommentStartStringCallback(void* ctxt) |