diff --git a/docs/functions/core/flags/setters/why2_reset_memory_identifier.md b/docs/functions/core/flags/setters/why2_reset_memory_identifier.md new file mode 100644 index 0000000..33ccb2b --- /dev/null +++ b/docs/functions/core/flags/setters/why2_reset_memory_identifier.md @@ -0,0 +1,37 @@ + + +# why2_reset_memory_identifier + +## Parameters + +*This functions doesn't take any parameters.* + +## Attributes + +| | | +| ------------------ | ---------------------------------------------- | +| **Return type** | `void` | +| **Header comment** | *This functions doesn't have any description.* | +| **Added in commit** | [`70335e67ad3e7ef3bc693741a03cb91962b91863`](https://github.com/ENGO150/WHY2/commit/70335e67ad3e7ef3bc693741a03cb91962b91863) | + +## Description + +Resets string, used in garbage collector for identifying (separating) nodes, to default. + +Every allocation has its own ID, which is set to lastly used `memory_identifier`. This separates allocations in code to blocks and you can run GC with the `memory_identifier` to deallocate those blocks. \ No newline at end of file diff --git a/docs/functions/index.md b/docs/functions/index.md index 0d404f4..8d885a0 100644 --- a/docs/functions/index.md +++ b/docs/functions/index.md @@ -70,6 +70,7 @@ You can find documentation for every *public* function of WHY2 below. | [`why2_set_encryption_operation`](./core/flags/setters/why2_set_encryption_operation) | *This functions doesn't have any description.* | | [`why2_set_memory_identifier`](./core/flags/setters/why2_set_memory_identifier) | *This functions doesn't have any description.* | | [`why2_set_padding`](./core/flags/setters/why2_set_padding) | Set padding rate without rewriting input flags | +| [`why2_reset_memory_identifier`](./core/flags/setters/why2_reset_memory_identifier) | *This functions doesn't have any description.* | ## Logger