3 void* SDL_LoadObject(const char *sofile
)
5 RLibrary
* lib
= new RLibrary();
9 name
.Copy(TPtrC8((const TUint8
*)sofile
));
10 if(KErrNone
== lib
->Load(name
))
17 void* SDL_LoadFunction(void *handle
, const char *name
)
19 TLex8
v((const TUint8
*)(name
));
22 if(KErrNone
!= v
.Val(ord
))
25 const RLibrary
* lib
= reinterpret_cast<RLibrary
*>(handle
);
26 TLibraryFunction f
= lib
->Lookup(ord
);
30 void SDL_UnloadObject(void *handle
)
32 RLibrary
* lib
= reinterpret_cast<RLibrary
*>(handle
);