android/app/jni/extern/nfd-modified/src/common.h
raw| 1 | /* |
| 2 | Native File Dialog |
| 3 | |
| 4 | Internal, common across platforms |
| 5 | |
| 6 | http://www.frogtoss.com/labs |
| 7 | */ |
| 8 | |
| 9 | |
| 10 | #ifndef _NFD_COMMON_H |
| 11 | #define _NFD_COMMON_H |
| 12 | |
| 13 | #define NFD_MAX_STRLEN 256 |
| 14 | #define _NFD_UNUSED(x) ((void)x) |
| 15 | |
| 16 | void *NFDi_Malloc( size_t bytes ); |
| 17 | void NFDi_Free( void *ptr ); |
| 18 | void NFDi_SetError( const char *msg ); |
| 19 | void NFDi_SafeStrncpy( char *dst, const char *src, size_t maxCopy ); |
| 20 | |
| 21 | #endif |