Welcome to mirror list, hosted at ThFree Co, Russian Federation.

common.h « nfd - github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7745d323b684b6379a9a0cb5fde6ebbe297ba4ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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