Skip to content

Commit

Permalink
refactor!: renamed object function properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopodl committed Sep 25, 2023
1 parent 9529e38 commit 20d5f99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions argon/vm/datatype/function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
using namespace argon::vm::datatype;

const MemberDef function_members[] = {
ARGON_MEMBER("arity", MemberType::SHORT, offsetof(Function, arity), true),
ARGON_MEMBER("base", MemberType::OBJECT, offsetof(Function, base), true),
ARGON_MEMBER("doc", MemberType::OBJECT, offsetof(Function, doc), true),
ARGON_MEMBER("name", MemberType::OBJECT, offsetof(Function, name), true),
ARGON_MEMBER("qname", MemberType::OBJECT, offsetof(Function, qname), true),
ARGON_MEMBER("__arity", MemberType::SHORT, offsetof(Function, arity), true),
ARGON_MEMBER("__base", MemberType::OBJECT, offsetof(Function, base), true),
ARGON_MEMBER("__doc", MemberType::OBJECT, offsetof(Function, doc), true),
ARGON_MEMBER("__name", MemberType::OBJECT, offsetof(Function, name), true),
ARGON_MEMBER("__qname", MemberType::OBJECT, offsetof(Function, qname), true),
ARGON_MEMBER_SENTINEL
};

Expand Down

0 comments on commit 20d5f99

Please sign in to comment.