Revive inline_function()

This commit is contained in:
Siu Kwan Lam 2012-09-03 22:24:09 -07:00
commit 78cde30883
5 changed files with 44 additions and 12 deletions

View file

@ -1431,7 +1431,7 @@ _wLLVMParseEnvOpts(PyObject *self, PyObject *args)
Py_RETURN_NONE;
}
//_wrap_obj2obj(LLVMInlineFunction, LLVMValueRef, int)
_wrap_obj2obj(LLVMInlineFunction, LLVMValueRef, int)
/* Expose the void* inside a PyCObject as a PyLong. This allows us to
* use it as a unique ID. */
@ -2038,7 +2038,7 @@ static PyMethodDef core_methods[] = {
_method( LLVMLoadLibraryPermanently )
_method( LLVMParseEnvOpts )
//_method( LLVMInlineFunction )
_method( LLVMInlineFunction )
_method( PyCObjectVoidPtrToPyLong )
{ NULL }
};