File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ use uuid::fmt::Hyphenated;
1919/// Violating any of the following constraints will result in undefined behavior:
2020///
2121/// - `schema` must be a valid pointer returned by [`schema_new`].
22+ /// - `schema` must be alive, and unmodified at least until [`context_free`] is called on the result
2223///
2324/// [`schema_new`]: crate::ffi::schema::schema_new
2425#[ no_mangle]
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ use uuid::Uuid;
2323/// Violating any of the following constraints will result in undefined behavior:
2424///
2525/// - `schema` must be a valid pointer returned by [`schema_new`].
26+ /// - `schema` must be alive, and unmodified at least until [`router_free`] is called on the result
2627///
2728/// [`schema_new`]: crate::ffi::schema::schema_new
2829#[ no_mangle]
You can’t perform that action at this time.
0 commit comments