FSDK_SetTimeFunction method
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
void FSDK_SetTimeFunction(
ffi.Pointer<ffi.NativeFunction<time_t Function()>> func,
) {
return _FSDK_SetTimeFunction(func);
}