From b550ec066863412025fe76c86aa4657714c5445c Mon Sep 17 00:00:00 2001 From: Marrub Date: Tue, 18 Oct 2016 17:20:32 -0400 Subject: [PATCH] Change header comment style. --- lithos_c/inc/Lth_button.h | 8 ++------ lithos_c/inc/Lth_callback.h | 4 +--- lithos_c/inc/Lth_context.h | 8 ++------ lithos_c/inc/Lth_control.h | 8 ++------ lithos_c/inc/Lth_draw.h | 4 +--- lithos_c/inc/Lth_font.h | 8 ++------ lithos_c/inc/Lth_hudmessage.h | 6 ++---- lithos_c/inc/Lth_linklist.h | 8 ++------ lithos_c/inc/Lth_stdlib.h | 4 +--- lithos_c/inc/Lth_types.h | 4 +--- lithos_c/inc/Lth_window.h | 8 ++------ lithos_c/src/button.c | 8 ++------ lithos_c/src/context.c | 4 +--- lithos_c/src/control.c | 4 +--- lithos_c/src/draw.c | 4 +--- lithos_c/src/stdlib.c | 4 +--- lithos_c/src/window.c | 4 +--- 17 files changed, 25 insertions(+), 73 deletions(-) diff --git a/lithos_c/inc/Lth_button.h b/lithos_c/inc/Lth_button.h index f5bc2e3..709000a 100644 --- a/lithos_c/inc/Lth_button.h +++ b/lithos_c/inc/Lth_button.h @@ -16,9 +16,7 @@ #include "Lth_control.h" -//----------------------------------------------------------------------------| -// Type Definitions | -// +// Type Definitions ----------------------------------------------------------| // // Lth_ButtonState @@ -43,9 +41,7 @@ typedef struct Lth_Button } Lth_Button; -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| Lth_Button *Lth_ButtonNew(char const *label); void Lth_ButtonSetLabel(Lth_Button *ctrl, char const *title); diff --git a/lithos_c/inc/Lth_callback.h b/lithos_c/inc/Lth_callback.h index 3ebb20b..ef58fa1 100644 --- a/lithos_c/inc/Lth_callback.h +++ b/lithos_c/inc/Lth_callback.h @@ -54,9 +54,7 @@ Lth_X(SIGUPDATE , update, void, struct Lth_Control *) Lth_Call(ctrl->cb.name, __VA_ARGS__) -//----------------------------------------------------------------------------| -// Type Definitions | -// +// Type Definitions ----------------------------------------------------------| struct Lth_Control; diff --git a/lithos_c/inc/Lth_context.h b/lithos_c/inc/Lth_context.h index d375060..b005791 100644 --- a/lithos_c/inc/Lth_context.h +++ b/lithos_c/inc/Lth_context.h @@ -14,9 +14,7 @@ #define lithos3__Lth_context_h -//----------------------------------------------------------------------------| -// Type Definitions | -// +// Type Definitions ----------------------------------------------------------| // // Lth_Context @@ -47,9 +45,7 @@ typedef struct Lth_Context } Lth_Context; -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| Lth_Context *Lth_ContextNew(int w, int h, Lth_HID hidBase, Lth_HID hidEnd); void Lth_ContextMap(Lth_Context *ctx, struct Lth_Window *window); diff --git a/lithos_c/inc/Lth_control.h b/lithos_c/inc/Lth_control.h index b77ead3..de2fd00 100644 --- a/lithos_c/inc/Lth_control.h +++ b/lithos_c/inc/Lth_control.h @@ -20,9 +20,7 @@ #include "Lth_font.h" -//----------------------------------------------------------------------------| -// Type Definitions | -// +// Type Definitions ----------------------------------------------------------| // // Lth_Control @@ -72,9 +70,7 @@ typedef struct Lth_LayoutControl } Lth_LayoutControl; -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| Lth_Font *Lth_ControlFont(void *ctrl_); void Lth_ControlRun(void *ctrl_); diff --git a/lithos_c/inc/Lth_draw.h b/lithos_c/inc/Lth_draw.h index 334117d..bd386a1 100644 --- a/lithos_c/inc/Lth_draw.h +++ b/lithos_c/inc/Lth_draw.h @@ -14,9 +14,7 @@ #define lithos3__Lth_draw_h -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| void Lth_DrawRectAndClip(Lth_Context *ctx, int x, int y, int w, int h, __fixed alpha); void Lth_DrawRect(Lth_Context *ctx, int x, int y, int w, int h, __fixed alpha); diff --git a/lithos_c/inc/Lth_font.h b/lithos_c/inc/Lth_font.h index 1a25a56..71a903d 100644 --- a/lithos_c/inc/Lth_font.h +++ b/lithos_c/inc/Lth_font.h @@ -14,9 +14,7 @@ #define lithos3__Lth_font_h -//----------------------------------------------------------------------------| -// Type Definitions | -// +// Type Definitions ----------------------------------------------------------| // // Lth_Glyph @@ -36,9 +34,7 @@ typedef struct Lth_Font } Lth_Font; -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| Lth_Font *Lth_FontNew(char const *name); diff --git a/lithos_c/inc/Lth_hudmessage.h b/lithos_c/inc/Lth_hudmessage.h index 0e9396a..95d90e7 100644 --- a/lithos_c/inc/Lth_hudmessage.h +++ b/lithos_c/inc/Lth_hudmessage.h @@ -6,7 +6,7 @@ // //----------------------------------------------------------------------------- // -// HudMessage things. +// HudMessage macros. // //----------------------------------------------------------------------------- @@ -85,9 +85,7 @@ #define Lth_A_TRig (0.6k) -//----------------------------------------------------------------------------| -// Static Functions | -// +// Static Functions ----------------------------------------------------------| // // Lth_HudMessage diff --git a/lithos_c/inc/Lth_linklist.h b/lithos_c/inc/Lth_linklist.h index d4f3c18..c060e28 100644 --- a/lithos_c/inc/Lth_linklist.h +++ b/lithos_c/inc/Lth_linklist.h @@ -44,9 +44,7 @@ ) -//----------------------------------------------------------------------------| -// Type Definitions | -// +// Type Definitions ----------------------------------------------------------| // // Lth_LinkList @@ -58,9 +56,7 @@ typedef struct Lth_LinkList } Lth_LinkList; -//----------------------------------------------------------------------------| -// Static Functions | -// +// Static Functions ----------------------------------------------------------| // // Lth_ListLink diff --git a/lithos_c/inc/Lth_stdlib.h b/lithos_c/inc/Lth_stdlib.h index 7cbf702..2208691 100644 --- a/lithos_c/inc/Lth_stdlib.h +++ b/lithos_c/inc/Lth_stdlib.h @@ -14,9 +14,7 @@ #define lithos3__Lth_stdlib_h -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| char *Lth_strdup(char const *s); __str Lth_strdup_str(char const *s); diff --git a/lithos_c/inc/Lth_types.h b/lithos_c/inc/Lth_types.h index 26007a0..92d2cef 100644 --- a/lithos_c/inc/Lth_types.h +++ b/lithos_c/inc/Lth_types.h @@ -17,9 +17,7 @@ #define Lth_Mixin(name) [[__anonymous]] name _##name -//----------------------------------------------------------------------------| -// Type Definitions | -// +// Type Definitions ----------------------------------------------------------| typedef int Lth_HID; diff --git a/lithos_c/inc/Lth_window.h b/lithos_c/inc/Lth_window.h index 0c9a74a..b4d546d 100644 --- a/lithos_c/inc/Lth_window.h +++ b/lithos_c/inc/Lth_window.h @@ -16,9 +16,7 @@ #include "Lth_control.h" -//----------------------------------------------------------------------------| -// Type Definitions | -// +// Type Definitions ----------------------------------------------------------| // // Lth_Window @@ -35,9 +33,7 @@ typedef struct Lth_Window } Lth_Window; -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| Lth_Window *Lth_WindowNew(char const *title, int w, int h, int x, int y); void Lth_WindowSetTitle(Lth_Window *ctrl, char const *title); diff --git a/lithos_c/src/button.c b/lithos_c/src/button.c index 0712870..e339296 100644 --- a/lithos_c/src/button.c +++ b/lithos_c/src/button.c @@ -15,9 +15,7 @@ #include -//----------------------------------------------------------------------------| -// Static Functions | -// +// Static Functions ----------------------------------------------------------| // // Lth_ButtonDraw @@ -43,9 +41,7 @@ static void Lth_ButtonDestroy(Lth_Button *ctrl) } -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| // // Lth_ButtonNew diff --git a/lithos_c/src/context.c b/lithos_c/src/context.c index 366c0b7..42c6e42 100644 --- a/lithos_c/src/context.c +++ b/lithos_c/src/context.c @@ -17,9 +17,7 @@ #include -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| // // Lth_ContextNew diff --git a/lithos_c/src/control.c b/lithos_c/src/control.c index 8ddaada..773464f 100644 --- a/lithos_c/src/control.c +++ b/lithos_c/src/control.c @@ -17,9 +17,7 @@ #include -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| // // Lth_ControlRun diff --git a/lithos_c/src/draw.c b/lithos_c/src/draw.c index 1ec315b..e7d2529 100644 --- a/lithos_c/src/draw.c +++ b/lithos_c/src/draw.c @@ -13,9 +13,7 @@ #include "Lth.h" -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| // // Lth_DrawRectAndClip diff --git a/lithos_c/src/stdlib.c b/lithos_c/src/stdlib.c index 1f16103..f61027c 100644 --- a/lithos_c/src/stdlib.c +++ b/lithos_c/src/stdlib.c @@ -16,9 +16,7 @@ #include -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| // // Lth_strdup diff --git a/lithos_c/src/window.c b/lithos_c/src/window.c index fb463f3..d17d91d 100644 --- a/lithos_c/src/window.c +++ b/lithos_c/src/window.c @@ -53,9 +53,7 @@ static void Lth_WindowDestroy(Lth_Window *ctrl) } -//----------------------------------------------------------------------------| -// Extern Functions | -// +// Extern Functions ----------------------------------------------------------| // // Lth_WindowNew