Messing around with Base.__toplevel__
or Base.loaded_modules
is not recommended and may break at any time in a 1.x release. I don’t really understand the use case for CxxWrap well enough to give advice on a better way to do this. @barche, can you elaborate?