Value.uses API

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@70 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-02-25 17:41:37 +00:00
commit d5328ef255
8 changed files with 152 additions and 17 deletions

View file

@ -98,12 +98,15 @@ void *get_object_arg(PyObject *args);
void **make_array_from_list(PyObject *list, int n);
/**
* Given an array of LLVMTypeRef's, create a PyList object. Note that
* currently such an action is required only for LLVMTypeRef's, when
* it is required another type, this method has to be generalized.
* Given an array of LLVMTypeRef's, create a PyList object.
*/
PyObject *make_list_from_LLVMTypeRef_array(LLVMTypeRef *p, unsigned n);
/**
* Given an array of LLVMValueRef's, create a PyList object.
*/
PyObject *make_list_from_LLVMValueRef_array(LLVMValueRef *p, unsigned n);
/*===----------------------------------------------------------------------===*/
/* Wrapper macros */