diff --git a/src/vm/datatypes/strings.c b/src/vm/datatypes/strings.c index 3d724594..622f57be 100644 --- a/src/vm/datatypes/strings.c +++ b/src/vm/datatypes/strings.c @@ -884,12 +884,6 @@ static Value isValidUtf8(DictuVM *vm, int argCount, Value *args) { return BOOL_VAL(string->character_len != -1); } -static Value testThing(DictuVM *vm, int argCount, Value *args) { - int argC = argCount-1; - Value func = args[1]; - Value* func_args = args +2; - return callFunction(vm, func, argC, func_args); -} void declareStringMethods(DictuVM *vm) { // Note(Liz3): We need functions from the c stdlib for iswalpha, iswlower, @@ -923,5 +917,4 @@ void declareStringMethods(DictuVM *vm) { defineNative(vm, &vm->stringMethods, "collapseSpaces", collapseSpacesString); defineNative(vm, &vm->stringMethods, "wrap", wrapString); - defineNative(vm, &vm->stringMethods, "testThing", testThing); }