Hi Malte,

the first step is for you to decide what semantics you want `someStruct` to carry, which would then translate into an API. This is also a prerequisite for using this in pure C++, i.e. without any Python bindings. It just becomes more obvious if you want to think about accessing this in a pythonic way.

So, can you rephrase your question by describing `someStruct` in terms of behaviour rather than structure, i.e. in an "object-oriented" way ?

Stefan
--

      ...ich hab' noch einen Koffer in Berlin...
null
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to