pgrx_pg_sys

Type Alias PushFunction

Source
pub type PushFunction = Option<unsafe extern "C" fn(opaque: Datum, state: TSQueryParserState, token: *mut c_char, tokenlen: c_int, tokenweights: int16, prefix: bool)>;

Aliased Type§

enum PushFunction {
    None,
    Some(unsafe extern "C" fn(_: Datum, _: *mut TSQueryParserStateData, _: *mut i8, _: i32, _: i16, _: bool)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: Datum, _: *mut TSQueryParserStateData, _: *mut i8, _: i32, _: i16, _: bool))

Some value of type T.