Skip to content

Commit

Permalink
Add a FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed May 29, 2024
1 parent f91e837 commit f539391
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pgrx/src/callconv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ use core::panic::{RefUnwindSafe, UnwindSafe};
use std::ffi::{CStr, CString};

type FcinfoData = pg_sys::FunctionCallInfoBaseData;
// FIXME: replace with a real implementation
pub struct Fcinfo<'a>(pub pg_sys::FunctionCallInfo, pub PhantomData<&'a mut FcinfoData>);
impl<'fcx> UnwindSafe for Fcinfo<'fcx> {}
impl<'fcx> RefUnwindSafe for Fcinfo<'fcx> {}
Expand Down

0 comments on commit f539391

Please sign in to comment.