Commit a3e570b1 authored by Canvas123's avatar Canvas123
Browse files

Minor changes

parent 3733817b
......@@ -7,13 +7,10 @@ extern "C" DLL_EXPORT char *test(int argc, char *argv[]) {
unsigned int name_str_id, repl_str_id, type, id, get_type, get_id;
type = decode_ref_string(argv[0], &id);
char *buf = new char[1000];
name_str_id = resolve_const_string("hand");
char *buf = new char[100];
name_str_id = resolve_const_string("name");
repl_str_id = resolve_const_string("TEST NAME");
#ifdef DEBUG
return (char *)(std::to_string(name_str_id) + std::to_string).c_str();
#endif
get_type = GetVariableFrom(type, id, name_str_id, &get_id);
snprintf(buf, sizeof(buf) * 100, "%#x %#x [%#04x %#08x] [%#04x %#08x]",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment