*polished code.
This commit is contained in:
parent
8c9fc7ee99
commit
ec124d4a37
@ -467,7 +467,7 @@ typedef struct _label_t {
|
||||
|
||||
#define _CLASS_HASH_FUNC "HASH"
|
||||
#define _CLASS_COMPARE_FUNC "COMPARE"
|
||||
#define _CLASS_TO_STRING_FUNC "TOSTRING"
|
||||
#define _CLASS_TOSTRING_FUNC "TOSTRING"
|
||||
|
||||
typedef struct _class_t {
|
||||
_ref_t ref;
|
||||
@ -15903,7 +15903,7 @@ _print:
|
||||
#ifdef MB_ENABLE_CLASS
|
||||
} else if(val_ptr->type == _DT_CLASS) {
|
||||
bool_t got_tostr = false;
|
||||
_ls_node_t* tsn = _search_identifier_in_class(s, val_ptr->data.instance, _CLASS_TO_STRING_FUNC, 0, 0);
|
||||
_ls_node_t* tsn = _search_identifier_in_class(s, val_ptr->data.instance, _CLASS_TOSTRING_FUNC, 0, 0);
|
||||
if(tsn) {
|
||||
_object_t* tso = (_object_t*)tsn->data;
|
||||
_ls_node_t* tmp = (_ls_node_t*)*l;
|
||||
|
Loading…
x
Reference in New Issue
Block a user