| 244 | } |
| 245 | |
| 246 | ILibrary *LibrarySystem::OpenLibrary(const char *path, char *error, size_t maxlength) |
| 247 | { |
| 248 | ke::RefPtr<ke::SharedLib> lib = ke::SharedLib::Open(path, error, maxlength); |
| 249 | if (!lib) |
| 250 | return nullptr; |
| 251 | return new CLibrary(lib); |
| 252 | } |
| 253 | |
| 254 | size_t LibrarySystem::PathFormat(char *buffer, size_t len, const char *fmt, ...) |
| 255 | { |