tracy/nfd/common.h
Bartosz Taudul 65d6ef7ef4 Add native file dialog library.
https://github.com/mlabbe/nativefiledialog.git
5cfe5002eb0fac1e49777a17dec70134147931e2
2017-09-30 14:21:34 +02:00

22 lines
389 B
C
Executable File

/*
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