It looks like you're new here. If you want to get involved, click one of these buttons!
function bla(RTVal val) = "bla";, kl2edk generates a cpp function with a Fabric::EDK::KL::RTVal argument... but KL::RTVal doesn't define any relevant methods at all, only FabricCore::RTVal does. Casting doesn't work (nice segfault), so how do I get there?
I see the EDK version only has an m_bits pointer, that in turn only seems to have an m_refCount. Somehow that still has to point to an actual RTVal (right??), which in turn is a Ref that points to an actual object, eventually (one can hope ).
I fail to see the distinction between KL::RTVal and FabricCore::RTVal, isn't that one too many indirection?
Overall, I don't understand the EDK namespace, seems like it redefines empty shells for Core classes (String etc). Also, Object is again redefined in a kl2edk-generated .h.
... what for?
R&D Developer at Dwarf Animation Studio
©Copyright 2017 Fabric Software Inc. All rights reserved. | Privacy