It should at least be in an internal header/namespace if it is not exported to swig or exposed in doxygen (that is what internal is for).