Bytecode: change interface of function called from bytecode MEX
parent
ec3ce156b4
commit
a4f299c0b7
|
@ -1178,12 +1178,12 @@ public:
|
|||
return code;
|
||||
};
|
||||
instructions_list_t
|
||||
get_op_code(string file_name)
|
||||
get_op_code(const filesystem::path &codfile)
|
||||
{
|
||||
instructions_list_t tags_liste;
|
||||
ifstream CompiledCode;
|
||||
streamoff Code_Size;
|
||||
CompiledCode.open(file_name + ".cod", ios::in | ios::binary| ios::ate);
|
||||
CompiledCode.open(codfile, ios::in | ios::binary| ios::ate);
|
||||
if (!CompiledCode.is_open())
|
||||
return tags_liste;
|
||||
Code_Size = CompiledCode.tellg();
|
||||
|
|
Loading…
Reference in New Issue