replace some deprecated functions
This commit is contained in:
parent
a5cf8bbd4e
commit
b7c5656713
14 changed files with 61 additions and 87 deletions
|
@ -912,17 +912,7 @@ unsafe extern "C" {
|
|||
pub fn LLVMGetPoison(Ty: &Type) -> &Value;
|
||||
|
||||
// Operations on metadata
|
||||
// FIXME: deprecated, replace with LLVMMDStringInContext2
|
||||
pub fn LLVMMDStringInContext(C: &Context, Str: *const c_char, SLen: c_uint) -> &Value;
|
||||
|
||||
pub fn LLVMMDStringInContext2(C: &Context, Str: *const c_char, SLen: size_t) -> &Metadata;
|
||||
|
||||
// FIXME: deprecated, replace with LLVMMDNodeInContext2
|
||||
pub fn LLVMMDNodeInContext<'a>(
|
||||
C: &'a Context,
|
||||
Vals: *const &'a Value,
|
||||
Count: c_uint,
|
||||
) -> &'a Value;
|
||||
pub fn LLVMMDNodeInContext2<'a>(
|
||||
C: &'a Context,
|
||||
Vals: *const &'a Metadata,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue