Displaying 1 result from an estimated 1 matches for "_wllvmaddfunction".
2012 Mar 28
0
[LLVMdev] GSoC 2012 Proposal: Python bindings for LLVM
...RARGS },*
In the above macro, func is the name used in python, and _w ## func is the
corresponding name of the wrapper function. ie, When we call a function
func in python, it intrinsically calls the wrapper C funtcion _w ## func.
So when we use LLVMAddFunction methoed in python, it actually calls
_wLLVMAddFunction. Then how is _wLLVMAddFunction defined?
Also in *_core.c* file, there is such a statement that is related to
LLVMAddFunction:
*_wrap_objstrobj2obj(LLVMAddFunction, LLVMModuleRef, LLVMTypeRef,
LLVMValueRef) *
This macro is defined in wrap.h file:
*/**
* Wrap LLVM functions of the type
* outtyp...