This commit is contained in:
2026-03-08 16:27:23 -05:00
parent 2716e96d7a
commit 83b60a9cf5

View File

@@ -12,8 +12,8 @@ Simple string interning library. Interning strings will optimize memory usage an
- [License](#license) - [License](#license)
## Features ## Features
atom_string(const char *str): Interns a string and returns a pointer to the interned string. It is automatically converted to a string if given an argument of type const char *.<br> `atom_string(const char *str)`: Interns a string and returns a pointer to the interned string. It is automatically converted to a string if given an argument of type const char *.<br>
atom_int(int64_t n): Converts an integer to its string representation and interns it. Useful for handling numeric strings efficiently. `atom_int(int64_t n)`: Converts an integer to its string representation and interns it. Useful for handling numeric strings efficiently.
## Usage ## Usage