Skip to content

Commit

Permalink
typo on INTERN macro was causing errors in PICKLE
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoncoder047 authored Mar 14, 2024
1 parent bfcab27 commit 771dbdd
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 49 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test/** linguist-generated
20 changes: 10 additions & 10 deletions test/out32.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions test/out64.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions test/valgrind32.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions test/valgrind64.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tinobsy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ object* markcons(vm*, object*);
#define car(x) ((x)->car)
#define cdr(x) ((x)->cdr)

#define INTERN(vm, typ, sch, val) INTERN_PTR((vm), typ, (sch), (val), op_eq<typ>)
#define INTERN(vm, typ, sch, val) INTERN_PTR((vm), typ, (sch), (val), ::tinobsy::op_eq<typ>)

#define INTERN_PTR(vm, typ, sch, val, cmp) do { \
object* maybe = (vm)->get_existing_object<typ>((::tinobsy::object_type*)(sch), (val), (cmp)); \
Expand Down

0 comments on commit 771dbdd

Please sign in to comment.