Skip to content

Commit

Permalink
remove ghost function from other PR
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed Dec 16, 2023
1 parent da4ed1a commit d1400fd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/types/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d1400fd

Please sign in to comment.