mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-09 21:51:48 +00:00
add .len to unsolved array
This commit is contained in:
parent
c24e028960
commit
e96ea63479
1 changed files with 6 additions and 0 deletions
|
@ -152,7 +152,12 @@ Variable_t createUnsolvedArrayVariable(Function_t* f) {
|
||||||
return var;
|
return var;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ClassFunction(retZero){
|
||||||
|
return newIntVariablePtr(0);
|
||||||
|
}
|
||||||
|
|
||||||
u8 anotherOneVarArg[] = { VARARGCOUNT };
|
u8 anotherOneVarArg[] = { VARARGCOUNT };
|
||||||
|
u8 unsolvedArrayStr[] = { StringClass };
|
||||||
|
|
||||||
ClassFunction(createTypedArray) {
|
ClassFunction(createTypedArray) {
|
||||||
Vector_t v = { 0 };
|
Vector_t v = { 0 };
|
||||||
|
@ -180,6 +185,7 @@ ClassFunction(createTypedArray) {
|
||||||
ClassFunctionTableEntry_t unsolvedArrayFunctions[] = {
|
ClassFunctionTableEntry_t unsolvedArrayFunctions[] = {
|
||||||
{"+", createTypedArray, 1, anotherOneVarArg},
|
{"+", createTypedArray, 1, anotherOneVarArg},
|
||||||
{"add", createTypedArray, 1, anotherOneVarArg},
|
{"add", createTypedArray, 1, anotherOneVarArg},
|
||||||
|
{"len", retZero, 0, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
Variable_t getUnsolvedArrayMember(Variable_t* var, char* memberName) {
|
Variable_t getUnsolvedArrayMember(Variable_t* var, char* memberName) {
|
||||||
|
|
Loading…
Reference in a new issue