add modified version of Native File Dialog
it will replace portable-file-dialogs on Windows, and perhaps in the rest of operating systems (maybe not Linux) as well.
This commit is contained in:
parent
ad5072dad6
commit
d5d381328b
19 changed files with 2796 additions and 0 deletions
21
extern/nfd-modified/src/common.h
vendored
Normal file
21
extern/nfd-modified/src/common.h
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
Native File Dialog
|
||||
|
||||
Internal, common across platforms
|
||||
|
||||
http://www.frogtoss.com/labs
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _NFD_COMMON_H
|
||||
#define _NFD_COMMON_H
|
||||
|
||||
#define NFD_MAX_STRLEN 256
|
||||
#define _NFD_UNUSED(x) ((void)x)
|
||||
|
||||
void *NFDi_Malloc( size_t bytes );
|
||||
void NFDi_Free( void *ptr );
|
||||
void NFDi_SetError( const char *msg );
|
||||
void NFDi_SafeStrncpy( char *dst, const char *src, size_t maxCopy );
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue