From f2bb79a174608c7180f819209edfd653c516fe37 Mon Sep 17 00:00:00 2001 From: kenorb Date: Mon, 9 Sep 2024 18:38:40 +0100 Subject: [PATCH] CONTRIBUTING: Clarifies Ref syntax --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 313e71c91..f0b20e908 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,11 +36,11 @@ To improve code compatibility, please use the following syntax: |:------------------|:------------------------|:---------------------------| | `&this` | `this` | `THIS_PTR` | | `GetPointer(obj)` | `*obj` | `GET_PTR(obj)` | +| `Ref.Ptr().a` | `Ref.Ptr()->a` | `Ref REF_DEREF a` | | `T name[]` | `_cpp_array name` | `ARRAY(T, name)` | | `T N[]` | `_cpp_array> N` | `ARRAY(T, 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)` | | `obj.attr` | `obj->attr` | `PTR_ATTRIB(obj, attr)` | | `str == NULL` | `str == NULL` | `IsNull(str)` |