search for: interface_group_get_interfac

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

2013 Sep 03
1
[LLVMdev] X86_thiscall
...s is a bit of a hack, but it works (I have tested it in other situations). vector<llvm::Type *> arguments; arguments.push_back(interface_group_ptr); arguments.push_back(any); arguments.push_back(instance_ptr); auto get_interface_type=FunctionType::get(any, arguments, false); interface_group_get_interface=Function::Create(get_interface_type, Function::ExternalLinkage, "get_interface", llvm_module); interface_group_get_interface->setCallingConv(CallingConv::X86_ThisCall); execution_engine->addGlobalMapping(interface_group_get_interface, (void *)as_ptr(&InterfaceGroup::get...