#ifndef ATOM_INCLUDED #define ATOM_INCLUDED #include // Return the length of a given atom. extern int atom_len(const char *str); // Create or retrieve an atom corresponding to a string with a given length extern const char *atom_new (const char *str, int64_t len); // Get the atom corresponding to a string extern const char *atom_string(const char *str); // Function to convert an integer to an atom (string representation of the number) extern const char *atom_int(int64_t n); #endif