Prefixed const methods with "const" instead of "c"

This commit is contained in:
Denis Merigoux 2018-09-06 11:57:42 -07:00 committed by Eduard-Mihai Burtescu
parent 730b13ab51
commit 6d42574b7a
19 changed files with 212 additions and 212 deletions

View file

@ -364,17 +364,17 @@ impl CommonWriteMethods for ModuleLlvm<'ll> {
common::val_ty(v)
}
fn c_bytes_in_context(&self, llcx: &'ll llvm::Context, bytes: &[u8]) -> &'ll Value {
common::c_bytes_in_context(llcx, bytes)
fn const_bytes_in_context(&self, llcx: &'ll llvm::Context, bytes: &[u8]) -> &'ll Value {
common::const_bytes_in_context(llcx, bytes)
}
fn c_struct_in_context(
fn const_struct_in_context(
&self,
llcx: &'a llvm::Context,
elts: &[&'a Value],
packed: bool,
) -> &'a Value {
common::c_struct_in_context(llcx, elts, packed)
common::const_struct_in_context(llcx, elts, packed)
}
}