Ran indent on .h files
See https://sourceforge.net/p/tuxpaint/mailman/message/36077409/ from Oct. 2017 for more.
This commit is contained in:
parent
e996746351
commit
f62c9c7a2c
5 changed files with 24 additions and 27 deletions
|
|
@ -32,11 +32,11 @@
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
extern int SurfacePrint(SDL_Surface * surf);
|
extern int SurfacePrint(SDL_Surface * surf);
|
||||||
extern int IsPrinterAvailable();
|
extern int IsPrinterAvailable();
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#endif /* __BEOS_PRINT__ */
|
#endif /* __BEOS_PRINT__ */
|
||||||
|
|
|
||||||
|
|
@ -43,4 +43,3 @@
|
||||||
#else
|
#else
|
||||||
#define DEBUG_PRINTF(...)
|
#define DEBUG_PRINTF(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
#ifndef __MACOS_H__
|
#ifndef __MACOS_H__
|
||||||
#define __MACOS_H__
|
#define __MACOS_H__
|
||||||
|
|
||||||
const char* macos_fontsPath();
|
const char *macos_fontsPath();
|
||||||
const char* macos_preferencesPath();
|
const char *macos_preferencesPath();
|
||||||
const char* macos_globalPreferencesPath();
|
const char *macos_globalPreferencesPath();
|
||||||
|
|
||||||
|
|
||||||
#endif /* __MACOS_H__ */
|
#endif /* __MACOS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -37,4 +37,4 @@ int DisplayPageSetup(const SDL_Surface * surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
-@end
|
-@end
|
||||||
#endif /* OBJECTIVEC */
|
#endif /* OBJECTIVEC */
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
/****************************************************/
|
/****************************************************/
|
||||||
/* */
|
/* */
|
||||||
/* For Win32 that lacks Unix direct support. */
|
/* For Win32 that lacks Unix direct support. */
|
||||||
/* - avoids including "windows.h" */
|
/* - avoids including "windows.h" */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (c) 2002 John Popplewell */
|
/* Copyright (c) 2002 John Popplewell */
|
||||||
/* john@johnnypops.demon.co.uk */
|
/* john@johnnypops.demon.co.uk */
|
||||||
/* */
|
/* */
|
||||||
/****************************************************/
|
/****************************************************/
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
typedef long BOOL;
|
typedef long BOOL;
|
||||||
typedef unsigned int DWORD;
|
typedef unsigned int DWORD;
|
||||||
typedef wchar_t TCHAR;
|
typedef wchar_t TCHAR;
|
||||||
|
|
@ -17,12 +17,12 @@ typedef void *HANDLE;
|
||||||
#define MAX_PATH 256
|
#define MAX_PATH 256
|
||||||
#define INVALID_HANDLE_VALUE ((HANDLE)(-1))
|
#define INVALID_HANDLE_VALUE ((HANDLE)(-1))
|
||||||
#define WINAPI __stdcall
|
#define WINAPI __stdcall
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
DWORD dwLowDateTime;
|
DWORD dwLowDateTime;
|
||||||
DWORD dwHighDateTime;
|
DWORD dwHighDateTime;
|
||||||
} FILETIME;
|
} FILETIME;
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
DWORD dwFileAttributes;
|
DWORD dwFileAttributes;
|
||||||
FILETIME ftCreationTime;
|
FILETIME ftCreationTime;
|
||||||
|
|
@ -40,26 +40,26 @@ typedef struct
|
||||||
#define FindFirstFile FindFirstFileA
|
#define FindFirstFile FindFirstFileA
|
||||||
#define FindNextFile FindNextFileA
|
#define FindNextFile FindNextFileA
|
||||||
#define FindClose FindClose
|
#define FindClose FindClose
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
#endif /* */
|
#endif /* */
|
||||||
extern HANDLE WINAPI FindFirstFile(const char *, WIN32_FIND_DATA *);
|
extern HANDLE WINAPI FindFirstFile(const char *, WIN32_FIND_DATA *);
|
||||||
extern BOOL WINAPI FindNextFile(HANDLE, WIN32_FIND_DATA *);
|
extern BOOL WINAPI FindNextFile(HANDLE, WIN32_FIND_DATA *);
|
||||||
extern BOOL WINAPI FindClose(HANDLE);
|
extern BOOL WINAPI FindClose(HANDLE);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif /* */
|
#endif /* */
|
||||||
struct dirent
|
struct dirent
|
||||||
{
|
{
|
||||||
char d_name[MAX_PATH];
|
char d_name[MAX_PATH];
|
||||||
};
|
};
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
WIN32_FIND_DATA wfd;
|
WIN32_FIND_DATA wfd;
|
||||||
HANDLE hFind;
|
HANDLE hFind;
|
||||||
|
|
@ -72,5 +72,3 @@ typedef int (*selectCB) (const struct dirent *);
|
||||||
typedef int (*comparCB) (const void *, const void *);
|
typedef int (*comparCB) (const void *, const void *);
|
||||||
extern int alphasort(const void *a, const void *b);
|
extern int alphasort(const void *a, const void *b);
|
||||||
extern int scandir(const char *dir, struct dirent ***namelist, selectCB select, comparCB compar);
|
extern int scandir(const char *dir, struct dirent ***namelist, selectCB select, comparCB compar);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue