Skip to content

Commit 147ca7f

Browse files
SimonNSiegeLord
authored andcommitted
Remove all trailing whitespace
1 parent 38a0732 commit 147ca7f

23 files changed

+72
-72
lines changed

allegro5/allegro_android.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ nothrow @nogc extern(C)
88
void al_android_set_apk_file_interface();
99
const(char)* al_android_get_os_version();
1010
void al_android_set_apk_fs_interface();
11-
void _al_android_set_capture_volume_keys(ALLEGRO_DISPLAY* display, bool onoff);
11+
void _al_android_set_capture_volume_keys(ALLEGRO_DISPLAY* display, bool onoff);
1212
}

allegro5/allegro_audio.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ nothrow @nogc extern (C)
5555
ALLEGRO_CHANNEL_CONF_6_1 = 0x61,
5656
ALLEGRO_CHANNEL_CONF_7_1 = 0x71
5757
}
58-
58+
5959
const ALLEGRO_MAX_CHANNELS = 8;
6060

6161
enum ALLEGRO_PLAYMODE
@@ -75,7 +75,7 @@ nothrow @nogc extern (C)
7575
}
7676

7777
const float ALLEGRO_AUDIO_PAN_NONE = -1000.0f;
78-
78+
7979
enum ALLEGRO_AUDIO_EVENT_TYPE
8080
{
8181
ALLEGRO_EVENT_AUDIO_ROUTE_CHANGE = 520,
@@ -92,9 +92,9 @@ nothrow @nogc extern (C)
9292
}
9393

9494
struct ALLEGRO_SAMPLE_INSTANCE {};
95-
95+
9696
struct ALLEGRO_AUDIO_STREAM {};
97-
97+
9898
struct ALLEGRO_MIXER {};
9999

100100
struct ALLEGRO_VOICE {};

allegro5/allegro_native_dialog.d

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ nothrow @nogc extern (C)
3636
{
3737
const ALLEGRO_MENU_SEPARATOR = ALLEGRO_MENU_INFO(null, -1, 0, null);
3838
}
39-
39+
4040
template ALLEGRO_START_OF_MENU(const(char)[] caption, int id)
4141
{
4242
const ALLEGRO_START_OF_MENU = ALLEGRO_MENU_INFO(mixin(`"` ~ caption ~ `->\0"`), id, 0, NULL);
4343
}
44-
44+
4545
template ALLEGRO_END_OF_MENU()
4646
{
4747
const ALLEGRO_END_OF_MENU = ALLEGRO_MENU_INFO(null, 0, 0, null);
@@ -54,14 +54,14 @@ nothrow @nogc extern (C)
5454
int al_get_native_file_dialog_count(in ALLEGRO_FILECHOOSER* dialog);
5555
ALLEGRO_PATH* al_get_native_file_dialog_path(in ALLEGRO_FILECHOOSER* dialog, size_t index);
5656
void al_destroy_native_file_dialog(ALLEGRO_FILECHOOSER* dialog);
57-
57+
5858
int al_show_native_message_box(ALLEGRO_DISPLAY* display, in char* title, in char* heading, in char* text, in char* buttons, int flags);
5959

6060
ALLEGRO_TEXTLOG* al_open_native_text_log(in char* title, int flags);
6161
void al_close_native_text_log(ALLEGRO_TEXTLOG* textlog);
6262
void al_append_native_text_log(ALLEGRO_TEXTLOG* textlog, in char* format, ...);
6363
ALLEGRO_EVENT_SOURCE* al_get_native_text_log_event_source(ALLEGRO_TEXTLOG* textlog);
64-
64+
6565
/* creating/modifying menus */
6666
ALLEGRO_MENU* al_create_menu();;
6767
ALLEGRO_MENU* al_create_popup_menu();;
@@ -84,16 +84,16 @@ nothrow @nogc extern (C)
8484
}
8585
ALLEGRO_BITMAP* al_get_menu_item_icon(ALLEGRO_MENU* menu, int pos);
8686
void al_set_menu_item_icon(ALLEGRO_MENU* menu, int pos, ALLEGRO_BITMAP* icon);
87-
87+
8888
/* querying menus */
8989
ALLEGRO_MENU* al_find_menu(ALLEGRO_MENU* haystack, ushort id);
9090
bool al_find_menu_item(ALLEGRO_MENU* haystack, ushort id, ALLEGRO_MENU** menu, int* index);
91-
91+
9292
/* menu events */
9393
ALLEGRO_EVENT_SOURCE* al_get_default_menu_event_source();;
9494
ALLEGRO_EVENT_SOURCE* al_enable_menu_event_source(ALLEGRO_MENU* menu);
9595
void al_disable_menu_event_source(ALLEGRO_MENU* menu);
96-
96+
9797
/* displaying menus */
9898
ALLEGRO_MENU* al_get_display_menu(ALLEGRO_DISPLAY* display);
9999
bool al_set_display_menu(ALLEGRO_DISPLAY* display, ALLEGRO_MENU* menu);
@@ -120,7 +120,7 @@ nothrow @nogc extern (C)
120120
ALLEGRO_MESSAGEBOX_YES_NO = 1<<3,
121121
ALLEGRO_MESSAGEBOX_QUESTION = 1<<4
122122
}
123-
123+
124124
enum
125125
{
126126
ALLEGRO_TEXTLOG_NO_CLOSE = 1<<0,

allegro5/allegro_primitives.d

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ nothrow @nogc extern (C)
6161
ALLEGRO_PRIM_HALF_FLOAT_2,
6262
ALLEGRO_PRIM_HALF_FLOAT_4
6363
}
64-
64+
6565
enum ALLEGRO_LINE_JOIN
6666
{
6767
ALLEGRO_LINE_JOIN_NONE,
@@ -92,7 +92,7 @@ nothrow @nogc extern (C)
9292

9393
const int ALLEGRO_PRIM_QUALITY = 10;
9494

95-
struct ALLEGRO_VERTEX_ELEMENT
95+
struct ALLEGRO_VERTEX_ELEMENT
9696
{
9797
int attribute;
9898
int storage;
@@ -109,7 +109,7 @@ nothrow @nogc extern (C)
109109
}
110110

111111
struct ALLEGRO_VERTEX_BUFFER {};
112-
112+
113113
struct ALLEGRO_INDEX_BUFFER {};
114114

115115
uint al_get_allegro_primitives_version();
@@ -123,10 +123,10 @@ nothrow @nogc extern (C)
123123
int al_draw_indexed_prim(in void* vtxs, in ALLEGRO_VERTEX_DECL* decl, ALLEGRO_BITMAP* texture, in int* indices, int num_vtx, int type);
124124
int al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, ALLEGRO_BITMAP* texture, int start, int end, int type);
125125
int al_draw_indexed_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, ALLEGRO_BITMAP* texture, ALLEGRO_INDEX_BUFFER* index_buffer, int start, int end, int type);
126-
126+
127127
ALLEGRO_VERTEX_DECL* al_create_vertex_decl(in ALLEGRO_VERTEX_ELEMENT* elements, int stride);
128128
void al_destroy_vertex_decl(ALLEGRO_VERTEX_DECL* decl);
129-
129+
130130
/*
131131
* Vertex buffers
132132
*/
@@ -135,7 +135,7 @@ nothrow @nogc extern (C)
135135
void* al_lock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer, int offset, int length, int flags);
136136
void al_unlock_vertex_buffer(ALLEGRO_VERTEX_BUFFER* buffer);
137137
int al_get_vertex_buffer_size(ALLEGRO_VERTEX_BUFFER* buffer);
138-
138+
139139
/*
140140
* Index buffers
141141
*/
@@ -156,11 +156,11 @@ nothrow @nogc extern (C)
156156
void al_draw_soft_triangle(ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, ALLEGRO_VERTEX* v3, uintptr_t state,
157157
void function(uintptr_t, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*) init,
158158
void function(uintptr_t, int, int, int, int) first,
159-
void function(uintptr_t, int) step,
159+
void function(uintptr_t, int) step,
160160
void function(uintptr_t, int, int, int) draw);
161161
void al_draw_soft_line(ALLEGRO_VERTEX* v1, ALLEGRO_VERTEX* v2, uintptr_t state,
162162
void function(uintptr_t, int, int, ALLEGRO_VERTEX*, ALLEGRO_VERTEX*) first,
163-
void function(uintptr_t, int) step,
163+
void function(uintptr_t, int) step,
164164
void function(uintptr_t, int, int) draw);
165165

166166
/*
@@ -190,7 +190,7 @@ nothrow @nogc extern (C)
190190
void al_draw_filled_circle(float cx, float cy, float r, ALLEGRO_COLOR color);
191191
void al_draw_filled_pieslice(float cx, float cy, float r, float start_theta, float delta_theta, ALLEGRO_COLOR color);
192192
void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2, float rx, float ry, ALLEGRO_COLOR color);
193-
193+
194194
void al_draw_polyline(in float* vertices, int vertex_stride, int vertex_count, ALLEGRO_LINE_JOIN join_style, ALLEGRO_LINE_CAP cap_style, ALLEGRO_COLOR color, float thickness, float miter_limit);
195195

196196
void al_draw_polygon(in float* vertices, int vertex_count, ALLEGRO_LINE_JOIN join_style, ALLEGRO_COLOR color, float thickness, float miter_limit);

allegro5/bitmap_draw.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ nothrow @nogc extern(C)
1111
ALLEGRO_FLIP_HORIZONTAL = 0x00001,
1212
ALLEGRO_FLIP_VERTICAL = 0x00002
1313
}
14-
14+
1515
/* Blitting */
1616
void al_draw_bitmap(ALLEGRO_BITMAP* bitmap, float dx, float dy, int flags);
1717
void al_draw_bitmap_region(ALLEGRO_BITMAP* bitmap, float sx, float sy, float sw, float sh, float dx, float dy, int flags);

allegro5/bitmap_io.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ nothrow @nogc extern(C)
1414
ALLEGRO_NO_PREMULTIPLIED_ALPHA = 0x0200, /* was a bitmap flag in 5.0 */
1515
ALLEGRO_KEEP_INDEX = 0x0800
1616
}
17-
17+
1818
alias ALLEGRO_BITMAP* function(in char* filename) ALLEGRO_IIO_LOADER_FUNCTION;
1919
alias ALLEGRO_BITMAP* function(ALLEGRO_FILE* fp) ALLEGRO_IIO_FS_LOADER_FUNCTION;
2020
alias bool function(in char* filename, ALLEGRO_BITMAP* bitmap) ALLEGRO_IIO_SAVER_FUNCTION;

allegro5/bitmap_lock.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ nothrow @nogc extern(C)
1414
ALLEGRO_LOCK_WRITEONLY = 2
1515
}
1616

17-
struct ALLEGRO_LOCKED_REGION
17+
struct ALLEGRO_LOCKED_REGION
1818
{
1919
void* data;
2020
int format;

allegro5/config.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nothrow @nogc extern (C)
88
struct ALLEGRO_CONFIG {};
99
struct ALLEGRO_CONFIG_SECTION {};
1010
struct ALLEGRO_CONFIG_ENTRY {};
11-
11+
1212
ALLEGRO_CONFIG* al_create_config();
1313
void al_add_config_section(ALLEGRO_CONFIG* config, in char* name);
1414
void al_set_config_value(ALLEGRO_CONFIG* config, in char* section, in char* key, in char* value);

allegro5/display.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ nothrow @nogc extern (C)
7373
ALLEGRO_REQUIRE,
7474
ALLEGRO_SUGGEST
7575
}
76-
76+
7777
enum ALLEGRO_DISPLAY_ORIENTATION
7878
{
7979
ALLEGRO_DISPLAY_ORIENTATION_UNKNOWN = 0,
@@ -152,11 +152,11 @@ nothrow @nogc extern (C)
152152
void al_reset_new_display_options();
153153
void al_set_display_option(ALLEGRO_DISPLAY* display, int option, int value);
154154
int al_get_display_option(ALLEGRO_DISPLAY* display, int option);
155-
155+
156156
/*Deferred drawing*/
157157
void al_hold_bitmap_drawing(bool hold);
158158
bool al_is_bitmap_drawing_held();
159-
159+
160160
void al_acknowledge_drawing_halt(ALLEGRO_DISPLAY* display);
161161
void al_acknowledge_drawing_resume(ALLEGRO_DISPLAY *display);
162162
}

allegro5/events.d

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ nothrow @nogc extern (C)
8282
{
8383
int[32] __pad = void;
8484
}
85-
85+
8686
struct ALLEGRO_ANY_EVENT
8787
{
8888
mixin(_AL_EVENT_HEADER!("ALLEGRO_EVENT_SOURCE"));
8989
}
90-
90+
9191
struct ALLEGRO_DISPLAY_EVENT
9292
{
9393
mixin(_AL_EVENT_HEADER!("ALLEGRO_DISPLAY"));
@@ -136,7 +136,7 @@ nothrow @nogc extern (C)
136136
long count;
137137
double error;
138138
}
139-
139+
140140
struct ALLEGRO_TOUCH_EVENT
141141
{
142142
mixin(_AL_EVENT_HEADER!("ALLEGRO_TOUCH_INPUT"));
@@ -151,7 +151,7 @@ nothrow @nogc extern (C)
151151
float dx, dy;
152152
bool primary;
153153
}
154-
154+
155155
struct ALLEGRO_USER_EVENT_DESCRIPTOR;
156156

157157
struct ALLEGRO_USER_EVENT
@@ -163,12 +163,12 @@ nothrow @nogc extern (C)
163163
intptr_t data3;
164164
intptr_t data4;
165165
}
166-
166+
167167
union ALLEGRO_EVENT
168168
{
169169
/* This must be the same as the first field of _AL_EVENT_HEADER. */
170170
ALLEGRO_EVENT_TYPE type;
171-
171+
172172
ALLEGRO_ANY_EVENT any;
173173
ALLEGRO_DISPLAY_EVENT display;
174174
ALLEGRO_JOYSTICK_EVENT joystick;
@@ -178,7 +178,7 @@ nothrow @nogc extern (C)
178178
ALLEGRO_TOUCH_EVENT touch;
179179
ALLEGRO_USER_EVENT user;
180180
}
181-
181+
182182
/* Event sources */
183183
void al_init_user_event_source(ALLEGRO_EVENT_SOURCE* src);
184184
void al_destroy_user_event_source(ALLEGRO_EVENT_SOURCE* src);

0 commit comments

Comments
 (0)