Skip to content

Commit

Permalink
CONTRIBUTING: Adds int64 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 8, 2024
1 parent b56cfa1 commit 126e522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ To improve code compatibility, please use the following syntax:
| `GetPointer(obj)` | `*obj` | `GET_PTR(obj)` |
| `T name[]` | `_cpp_array<T> name` | `ARRAY(T, name)` |
| `T<A, B> N[]` | `_cpp_array<T<A, B>> N` | `ARRAY(T<A, B>, N)` |
| `long` | `long long` | `int64` |
| `obj.Method()` | `obj->Method()` | `obj PTR_DEREF Method()` |
| `obj.Ptr().a` | `obj.Ptr()->a` | `obj REF_DEREF a` |
| `obj.a1.a2` | `obj->a1->a2` | `PTR_ATTRIB2(obj, a1, a2)` |
Expand Down

0 comments on commit 126e522

Please sign in to comment.