Enhance: expose atom2str in the API
Can atom2str, which is now static i.e. not exported in the API, be made non-static and visible?
The context is ScriptFu in Gimp. Which wraps the TinyScheme interpreter, and binds libgimp to the TinyScheme language.
I am contemplating using the error hook of TinyScheme. So that error messages can be tee'd off to other streams, such as a window in Gimp, the "Gimp Error Console." As ScriptFu is now, some error messages from TinyScheme interpreter itself are almost invisible to a user, displayed in the terminal where the Gimp app was started.
The error hook receives a pointer to args which are atoms in the interpreter data structures. I want to use atom2str to pretty print the atoms, i.e. I want a C string representation of the atoms.
Its possible that I don't need to use the error hook, nor atom2str. But it naturally comes to mind as a solution.