Mercurial > sdl-ios-xcode
comparison src/loadso/beos/SDL_sysloadso.c @ 2120:2c835d58faad
make indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 14 Jun 2007 13:21:29 +0000 |
parents | 8d4c2498bb72 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2119:9341a884a4d9 | 2120:2c835d58faad |
---|---|
47 void * | 47 void * |
48 SDL_LoadFunction(void *handle, const char *name) | 48 SDL_LoadFunction(void *handle, const char *name) |
49 { | 49 { |
50 void *sym = NULL; | 50 void *sym = NULL; |
51 image_id library_id = (image_id) handle; | 51 image_id library_id = (image_id) handle; |
52 status_t rc = get_image_symbol(library_id, name, B_SYMBOL_TYPE_TEXT, &sym); | 52 status_t rc = |
53 get_image_symbol(library_id, name, B_SYMBOL_TYPE_TEXT, &sym); | |
53 if (rc != B_NO_ERROR) { | 54 if (rc != B_NO_ERROR) { |
54 SDL_SetError(strerror(rc)); | 55 SDL_SetError(strerror(rc)); |
55 } | 56 } |
56 return (sym); | 57 return (sym); |
57 } | 58 } |
67 } | 68 } |
68 | 69 |
69 #endif /* SDL_LOADSO_BEOS */ | 70 #endif /* SDL_LOADSO_BEOS */ |
70 | 71 |
71 /* vi: set ts=4 sw=4 expandtab: */ | 72 /* vi: set ts=4 sw=4 expandtab: */ |
72 |