From 66f5c141852fb9e45bab06a362088867f7538107 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Fri, 5 Nov 2021 03:26:52 +0700 Subject: [PATCH] Improve documentation --- docs/objects.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/objects.md b/docs/objects.md index 7765242..91f257b 100644 --- a/docs/objects.md +++ b/docs/objects.md @@ -109,8 +109,10 @@ create and destroy their instances. | Function | Description | | -------- | ----------- | | `Allocate(class, optional bool)` | Creates a new `Object` / `Actor` of a given class. `bool` argument allows to forbid reallocation, forcing creation of a new object. -| `LoadClass(Text)` | Creates a class instance from its textual representation. | -| `AllocateByReference(Text, optional bool)` | Same as `Allocate()`, but takes textual representation of the class as an argument. | +| `LoadClass(Text)` | Creates a class instance from its `Text` representation. | +| `LoadClassS(string)` | Creates a class instance from its `string` representation. | +| `AllocateByReference(Text, optional bool)` | Same as `Allocate()`, but takes `Text` representation of the class as an argument. | +| `AllocateByReferenceS(string, optional bool)` | Same as `Allocate()`, but takes `string` representation of the class as an argument. | | `Free(Object)` | Deallocates provided object. Does not produce errors if its argument is `none`. | | `FreeMany(array)` | Deallocates every object inside given array. Does not produce errors if some (or all) of them are `none`. | | `CollectGarbage(optional bool)` | Forces garbage collection. By default also includes all deallocated (but not destroyed) objects and `bool` argument allows to skip collecting them.