MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / adfInitNativeFct

Function adfInitNativeFct

lib/vfs/amigaffs.cc:433–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433void adfInitNativeFct()
434{
435 auto cbs = (struct nativeFunctions*)adfEnv.nativeFct;
436 cbs->adfInitDevice = ::adfInitDevice;
437 cbs->adfNativeReadSector = ::adfNativeReadSector;
438 cbs->adfNativeWriteSector = ::adfNativeWriteSector;
439 cbs->adfIsDevNative = ::adfIsDevNative;
440 cbs->adfReleaseDevice = ::adfReleaseDevice;
441
442 adfChgEnvProp(PR_WFCT, (void*)onAdfWarning);
443 adfChgEnvProp(PR_EFCT, (void*)onAdfError);
444}
445
446static RETCODE adfInitDevice(struct Device* dev, char* name, BOOL ro)
447{

Callers 1

adfEnvInitDefaultFunction · 0.85

Calls 1

adfChgEnvPropFunction · 0.85

Tested by

no test coverage detected