FSDK_SetTimeFunction function
- @Native<Void Function(Pointer<
NativeFunction< )>(ffi.Pointer<ffi.NativeFunction<time_t Function()>>)>()time_t Function()> >
- Pointer<
NativeFunction< functime_t Function()> >
Set replacement function for calls to time().
This API is intended to be used only for testing, thus may cause PDFium to behave poorly in production environments.
func - Function pointer to alternate implementation of time(), or NULL to restore to actual time() call itself.
Implementation
@ffi.Native<
ffi.Void Function(ffi.Pointer<ffi.NativeFunction<time_t Function()>>)
>()
external void FSDK_SetTimeFunction(
ffi.Pointer<ffi.NativeFunction<time_t Function()>> func,
);