My applications are written in C++ and while everything works as expected I’ve noticed some problems that are arising due to potential name mangling. Specifically, when I try to use the config tree API (le_cfg.api), I get build errors
error: ‘le_cfg_CreateReadTxn’ was not declared in this scope
I have the api in the requires section of my cdef
It works when I declare the function le_cfg_CreateReadTxn in an extern “C” block leading me to believe that it’s due to name mangling. Is this by design or am I doing something wrong?