intern_static_string
Description:
Finds or creates an atom corresponding to a given string.
Note that this function is identical to intern except that if a new Atom is created the string itself is used rather than a copy. This saves memory, but can only be used if the string will always exist. It can be used with statically allocated strings in the main program, but not with statically allocated memory in dynamically loaded modules, if you expect to ever unload the module again (e.g. do not use this function in GTK+ theme engines).
Parameters:
atom_name |
a static string |
Returns:
the atom corresponding to |