We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb3c8f3 + c0949e2 commit 777ef66Copy full SHA for 777ef66
src/targets.rs
@@ -1316,11 +1316,11 @@ impl TargetData {
1316
/// let target_data = execution_engine.get_target_data();
1317
/// let int_type = target_data.ptr_sized_int_type_in_context(&context, None);
1318
/// ```
1319
- pub fn ptr_sized_int_type_in_context(
+ pub fn ptr_sized_int_type_in_context<'ctx>(
1320
&self,
1321
- context: &Context,
+ context: &'ctx Context,
1322
address_space: Option<AddressSpace>,
1323
- ) -> IntType {
+ ) -> IntType<'ctx> {
1324
let int_type_ptr = match address_space {
1325
Some(address_space) => unsafe {
1326
LLVMIntPtrTypeForASInContext(
0 commit comments