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
))
16 void* SDL_LoadFunction(void *handle
, const char *name
)
18 TLex8
v((const TUint8
*)(name
));
21 if(KErrNone
!= v
.Val(ord
))
24 const RLibrary
* lib
= reinterpret_cast<RLibrary
*>(handle
);
25 TLibraryFunction f
= lib
->Lookup(ord
);
29 void SDL_UnloadObject(void *handle
)
31 RLibrary
* lib
= reinterpret_cast<RLibrary
*>(handle
);