search for: pfuncincontext2

Displaying 1 result from an estimated 1 matches for "pfuncincontext2".

2017 Aug 15
2
transfer type to 'local' context
...type living in another context into the local context? Background: when calling a function residing in a different module (context2) from a module (context1), we first need to introduce a function declaration of the function with empty body. However, in order to do so, we need the function type. pFuncInContext2->getType gives us the type in context2. The returnType or argument type might refer to some types yet only defined in context2 (e.g. special structs). In order to get the functin declaration right, I would need to find out if we have in context 1every necessary type referred to by the function...