This commit is contained in:
2026-03-08 16:28:12 -05:00
parent 83b60a9cf5
commit f9d8b81b1a

View File

@@ -12,7 +12,7 @@ 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.<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