Problem related with scope

2020-12-28 Thread mantielero
The issue is a misunderstanding on my side on how [scope rules works](https://nim-lang.org/docs/manual.html#scope-rules-module-scope). I have to move the Vec4us declaration from `osg.nim` to a file that can be imported from those modules needing them.

Problem related with scope

2020-12-28 Thread Araq
Because you named it `Value_type`. type Value_type* {.header: "Vec4us", importcpp: "osg::Vec4us::value_type".} = cushort Run

Problem related with scope

2020-12-28 Thread mantielero
While playing with the creation of a wrapper for a C++ library (OpenSceneGraph in this case). I am facing the following (it is like a file is not "seeing" a type defined beforehand). I have created the following [OpenSceneGraph repository](https://github.com/mantielero/openscenegraph.nim). Whe