From d440db9d338e6e4bb2bfb9240788ec0b1b9d3d01 Mon Sep 17 00:00:00 2001 From: vCaesar Date: Thu, 17 Nov 2016 16:00:00 +0800 Subject: [PATCH] Rename File & Name specification --- base/{MMBitmap_init.h => MMBitmap_c.h} | 0 base/{MMPointArray_init.h => MMPointArray_c.h} | 0 base/{UTHashTable_init.h => UTHashTable_c.h} | 0 base/{base64_init.h => base64_c.h} | 0 base/{bmp_io_init.h => bmp_io_c.h} | 0 base/{color_find_init.h => color_find_c.h} | 0 base/{deadbeef_rand_init.h => deadbeef_rand_c.h} | 0 base/{io_init.h => io_c.h} | 4 ++-- base/{pasteboard_init.h => pasteboard_c.h} | 0 base/png_io.h | 4 ++-- base/{png_io_init.h => png_io_c.h} | 0 base/{snprintf_init.h => snprintf_c.h} | 0 base/{str_io_init.h => str_io_c.h} | 6 +++--- base/{xdisplay_init.h => xdisplay_c.h} | 0 base/{zlib_util_init.h => zlib_util_c.h} | 0 bitmap/bitmap_find.h | 2 +- bitmap/bitmap_find_c.h | 2 +- bitmap/goBitmap.h | 8 ++++---- key/keypress_c.h | 4 ++-- mouse/mouse_c.h | 6 +++--- screen/goScreen.h | 2 +- screen/screen_c.h | 2 +- screen/screengrab.h | 2 +- screen/screengrab_c.h | 4 ++-- 24 files changed, 23 insertions(+), 23 deletions(-) rename base/{MMBitmap_init.h => MMBitmap_c.h} (100%) rename base/{MMPointArray_init.h => MMPointArray_c.h} (100%) rename base/{UTHashTable_init.h => UTHashTable_c.h} (100%) rename base/{base64_init.h => base64_c.h} (100%) rename base/{bmp_io_init.h => bmp_io_c.h} (100%) rename base/{color_find_init.h => color_find_c.h} (100%) rename base/{deadbeef_rand_init.h => deadbeef_rand_c.h} (100%) rename base/{io_init.h => io_c.h} (97%) rename base/{pasteboard_init.h => pasteboard_c.h} (100%) rename base/{png_io_init.h => png_io_c.h} (100%) rename base/{snprintf_init.h => snprintf_c.h} (100%) rename base/{str_io_init.h => str_io_c.h} (98%) rename base/{xdisplay_init.h => xdisplay_c.h} (100%) rename base/{zlib_util_init.h => zlib_util_c.h} (100%) diff --git a/base/MMBitmap_init.h b/base/MMBitmap_c.h similarity index 100% rename from base/MMBitmap_init.h rename to base/MMBitmap_c.h diff --git a/base/MMPointArray_init.h b/base/MMPointArray_c.h similarity index 100% rename from base/MMPointArray_init.h rename to base/MMPointArray_c.h diff --git a/base/UTHashTable_init.h b/base/UTHashTable_c.h similarity index 100% rename from base/UTHashTable_init.h rename to base/UTHashTable_c.h diff --git a/base/base64_init.h b/base/base64_c.h similarity index 100% rename from base/base64_init.h rename to base/base64_c.h diff --git a/base/bmp_io_init.h b/base/bmp_io_c.h similarity index 100% rename from base/bmp_io_init.h rename to base/bmp_io_c.h diff --git a/base/color_find_init.h b/base/color_find_c.h similarity index 100% rename from base/color_find_init.h rename to base/color_find_c.h diff --git a/base/deadbeef_rand_init.h b/base/deadbeef_rand_c.h similarity index 100% rename from base/deadbeef_rand_init.h rename to base/deadbeef_rand_c.h diff --git a/base/io_init.h b/base/io_c.h similarity index 97% rename from base/io_init.h rename to base/io_c.h index 32de05f..52f694f 100644 --- a/base/io_init.h +++ b/base/io_c.h @@ -1,7 +1,7 @@ #include "io.h" // #include "os.h" -// #include "bmp_io_init.h" -#include "png_io_init.h" +// #include "bmp_io_c.h" +#include "png_io_c.h" #include /* For fputs() */ #include /* For strcmp() */ #include /* For tolower() */ diff --git a/base/pasteboard_init.h b/base/pasteboard_c.h similarity index 100% rename from base/pasteboard_init.h rename to base/pasteboard_c.h diff --git a/base/png_io.h b/base/png_io.h index bcdab2e..4662334 100644 --- a/base/png_io.h +++ b/base/png_io.h @@ -2,8 +2,8 @@ #ifndef PNG_IO_H #define PNG_IO_H -// #include "MMBitmap_init.h" -// #include "io_init.h" +// #include "MMBitmap_c.h" +// #include "io_c.h" enum _PNGReadError { kPNGGenericError = 0, diff --git a/base/png_io_init.h b/base/png_io_c.h similarity index 100% rename from base/png_io_init.h rename to base/png_io_c.h diff --git a/base/snprintf_init.h b/base/snprintf_c.h similarity index 100% rename from base/snprintf_init.h rename to base/snprintf_c.h diff --git a/base/str_io_init.h b/base/str_io_c.h similarity index 98% rename from base/str_io_init.h rename to base/str_io_c.h index 8099c19..2dc5edf 100644 --- a/base/str_io_init.h +++ b/base/str_io_c.h @@ -1,7 +1,7 @@ #include "str_io.h" -#include "zlib_util_init.h" -#include "base64_init.h" -#include "snprintf_init.h" /* snprintf() */ +#include "zlib_util_c.h" +#include "base64_c.h" +#include "snprintf_c.h" /* snprintf() */ #include /* fputs() */ #include /* isdigit() */ #include /* atoi() */ diff --git a/base/xdisplay_init.h b/base/xdisplay_c.h similarity index 100% rename from base/xdisplay_init.h rename to base/xdisplay_c.h diff --git a/base/zlib_util_init.h b/base/zlib_util_c.h similarity index 100% rename from base/zlib_util_init.h rename to base/zlib_util_c.h diff --git a/bitmap/bitmap_find.h b/bitmap/bitmap_find.h index c8793ca..763fa23 100644 --- a/bitmap/bitmap_find.h +++ b/bitmap/bitmap_find.h @@ -4,7 +4,7 @@ // #include "../base/types.h" #include "../base/MMBitmap.h" -#include "../base/MMPointArray_init.h" +#include "../base/MMPointArray_c.h" /* Convenience wrapper around findBitmapInRect(), where |rect| is the bounds * of |haystack|. */ diff --git a/bitmap/bitmap_find_c.h b/bitmap/bitmap_find_c.h index ff14bd7..01d91bd 100644 --- a/bitmap/bitmap_find_c.h +++ b/bitmap/bitmap_find_c.h @@ -1,5 +1,5 @@ #include "bitmap_find.h" -#include "../base/UTHashTable_init.h" +#include "../base/UTHashTable_c.h" #include /* Node to be used in hash table. */ diff --git a/bitmap/goBitmap.h b/bitmap/goBitmap.h index 05fc3af..e8a9aa4 100644 --- a/bitmap/goBitmap.h +++ b/bitmap/goBitmap.h @@ -20,11 +20,11 @@ // }; #include "bitmap_class.h" #include "bitmap_find_c.h" -#include "../base/color_find_init.h" +#include "../base/color_find_c.h" // #include "../screen/screen_c.h" -#include "../base/io_init.h" -#include "../base/pasteboard_init.h" -#include "../base/str_io_init.h" +#include "../base/io_c.h" +#include "../base/pasteboard_c.h" +#include "../base/str_io_c.h" #include #include diff --git a/key/keypress_c.h b/key/keypress_c.h index 7f259e0..9be098f 100644 --- a/key/keypress_c.h +++ b/key/keypress_c.h @@ -1,5 +1,5 @@ #include "keypress.h" -// #include "../base/deadbeef_rand_init.h" +// #include "../base/deadbeef_rand_c.h" #include "../base/microsleep.h" #include /* For isupper() */ @@ -10,7 +10,7 @@ #import #elif defined(USE_X11) #include - // #include "../base/xdisplay_init.h" + // #include "../base/xdisplay_c.h" #endif /* Convenience wrappers around ugly APIs. */ diff --git a/mouse/mouse_c.h b/mouse/mouse_c.h index bf1273e..7b1794c 100644 --- a/mouse/mouse_c.h +++ b/mouse/mouse_c.h @@ -1,7 +1,7 @@ #include "mouse.h" // #include "../screen/screen.h" -// #include "../screen/screen_init.h" -#include "../base/deadbeef_rand_init.h" +// #include "../screen/screen_c.h" +#include "../base/deadbeef_rand_c.h" // #include "../deadbeef_rand.h" #include "../base/microsleep.h" @@ -15,7 +15,7 @@ #include #include #include - // #include "../base/xdisplay_init.h" + // #include "../base/xdisplay_c.h" #endif #if !defined(M_SQRT2) diff --git a/screen/goScreen.h b/screen/goScreen.h index 86a32dd..ba03a9c 100644 --- a/screen/goScreen.h +++ b/screen/goScreen.h @@ -11,7 +11,7 @@ #include "../base/types.h" #include "screengrab_c.h" #include "screen_c.h" -// #include "../MMBitmap_init.h" +// #include "../MMBitmap_c.h" void padHex(MMRGBHex color, char* hex){ //Length needs to be 7 because snprintf includes a terminating null. diff --git a/screen/screen_c.h b/screen/screen_c.h index 6eca811..5ed2c98 100644 --- a/screen/screen_c.h +++ b/screen/screen_c.h @@ -5,7 +5,7 @@ #include #elif defined(USE_X11) #include - // #include "../base/xdisplay_init.h" + // #include "../base/xdisplay_c.h" #endif MMSize getMainDisplaySize(void) diff --git a/screen/screengrab.h b/screen/screengrab.h index ce18628..a4a4b99 100644 --- a/screen/screengrab.h +++ b/screen/screengrab.h @@ -3,7 +3,7 @@ #define SCREENGRAB_H #include "../base/types.h" -#include "../base/MMBitmap_init.h" +#include "../base/MMBitmap_c.h" #ifdef __cplusplus extern "C" diff --git a/screen/screengrab_c.h b/screen/screengrab_c.h index 889e927..e4ba463 100644 --- a/screen/screengrab_c.h +++ b/screen/screengrab_c.h @@ -1,5 +1,5 @@ #include "screengrab.h" -#include "../base/bmp_io_init.h" +#include "../base/bmp_io_c.h" #include "../base/endian.h" #include /* malloc() */ @@ -10,7 +10,7 @@ #elif defined(USE_X11) #include #include - #include "../base/xdisplay_init.h" + #include "../base/xdisplay_c.h" #elif defined(IS_WINDOWS) // #include "windows.h" // #include