From d1400fd7073489baa5eb5240505386cf3e8f56ba Mon Sep 17 00:00:00 2001 From: Angelo Verlain Date: Sat, 16 Dec 2023 18:21:59 +0200 Subject: [PATCH] remove ghost function from other PR --- src/types/object.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/types/object.js b/src/types/object.js index ad600ec..1157817 100644 --- a/src/types/object.js +++ b/src/types/object.js @@ -82,17 +82,6 @@ function defineProps(target, info) { } } -function defineStructMethods(target, structInfo) { - const nMethods = g.struct_info.get_n_methods(structInfo); - - for (let i = 0; i < nMethods; i++) { - const methodInfo = g.struct_info.get_method(structInfo, i); - if (!Object.hasOwn(target.prototype, getName(methodInfo))) { - handleMethod(target, methodInfo); - } - } -} - export function createObject(info, gType) { const ParentClass = getParentClass(info) ?? Object;