Increment the reference count to an AssimObj (_not_ a pyAssimObj)
Need to call CCref under the following circumstances:
When we are creating an object that points to another underlying C-class object
which already has a permanent reference to it somewhere else
For example, if we're returning a pyNetAddr object that points to a NetAddr object
that's in a ConfigContext object. If we don't, then when our pyNetAddr object goes
out of scope, then the underlying NetAddr object will be freed, even though there's
a reference to it in the ConfigContext object. Conversely, if the ConfigContext
object goes out of scope first, then the our pyNetAddr object could become invalid.
Do not call it when you've constructed a new object that there were no previous pointers
Definition at line 50 of file AssimCclasses.py.
Referenced by cma.AssimCclasses.pyNetIO.boundaddr(), cma.AssimCclasses.pyFrame.Cstruct2Frame(), cma.AssimCclasses.pyConfigValue.get(), cma.AssimCclasses.pyConfigContext.getaddr(), cma.AssimCclasses.pyConfigContext.getarray(), and cma.AssimCclasses.pyConfigContext.getconfig().