From f9159abdedffb024c2a36af462c5c7f776f109de Mon Sep 17 00:00:00 2001 From: Andreew Gregory Date: Wed, 28 Jan 2026 17:13:51 +0300 Subject: [PATCH] Removed all header guards in src. Sadly, some header guards still remain in /gen --- src/l1/anne/alice.h | 5 +---- src/l1/anne/embassy_l1_5.h | 5 +---- src/l1/anne/geom.h | 5 +---- src/l1/anne/liza.h | 5 +---- src/l1/anne/lucy.h | 5 +---- src/l1/anne/margaret/margaret_misc.h | 6 +----- src/l1/anne/margaret/png_pixel_masses.h | 5 +---- src/l1/anne/marie.h | 5 +---- src/l1/anne/pixel_masses.h | 6 +----- src/l1/anne/some_tests.h | 5 +---- src/l1/anne/util_temp_geom.h | 5 +---- src/l1/anne/util_temp_very_base.h | 5 +---- src/l1/anne/util_temp_vulkan.h | 5 +---- src/l1/codegen/codegen.h | 5 +---- src/l1/codegen/list_template_inst.h | 6 +----- src/l1/codegen/util_template_inst.h | 5 +---- src/l1/core/VecU8_as_str.h | 5 +---- src/l1/core/chicken_VecU8.h | 5 +---- src/l1/core/int_primitives.h | 5 +---- src/l1/core/uint_segments.h | 5 +---- src/l1/core/util.h | 5 +---- src/l1/marie/geom_alg_utils.h | 5 +---- src/l1/system/creating_child_proc.h | 6 +----- src/l1/system/fileio.h | 6 +----- src/l1/system/fsmanip.h | 6 +----- src/l1/system/pthread.h | 6 +----- src/l1/system/shared_memory.h | 5 +---- src/l1_5/anne/gui.h | 5 +---- src/l1_5/anne/l1_5_templ_very_base.h | 5 +---- src/l1_5/anne/liza.h | 5 +---- src/l1_5/anne/lucy.h | 5 +---- src/l1_5/anne/margaret.h | 5 +---- src/l1_5/codegen/all_set_map_templ_util_inst.h | 6 +----- src/l1_5/codegen/buff_rbtree_set_map_template_inst.h | 5 +---- src/l1_5/codegen/rbtree_set_map_template_inst.h | 5 +---- src/l1_5/codegen/trait_wrap_boil.h | 5 +---- src/l1_5/core/buff_rb_tree_node.h | 5 +---- src/l1_5/core/input_olproga.h | 6 +----- src/l1_5/core/parsing_string.h | 5 +---- src/l1_5/core/rb_tree_node.h | 5 +---- src/l1_5/core/stringop.h | 5 +---- src/l1_5/core/stringsearch.h | 7 +------ src/l2/alice/assets.h | 6 +----- src/l2/alice/engine.h | 5 +---- src/l2/alice/model_file.h | 7 +------ src/l2/anne/r4.h | 5 +---- src/l2/core/glb_file.h | 5 +---- src/l2/core/json.h | 5 +---- src/l2/core/json_encoded.h | 5 +---- src/l2/gui/label.h | 6 +----- src/l2/gui/widget.h | 5 +---- src/l2/liza/instrument.h | 6 +----- src/l2/liza/playing_sound_loop.h | 6 +----- src/l2/lucy/glyph_cache.h | 5 +---- src/l2/lucy/glyph_render.h | 5 +---- src/l2/margaret/time_utils.h | 6 +----- src/l2/margaret/vulkan_memory.h | 5 +---- src/l2/margaret/vulkan_utils.h | 5 +---- src/l2/marie/graphics_geom.h | 5 +---- src/l2/marie/rasterization.h | 5 +---- src/l2/marie/shape_geom.h | 5 +---- src/l2/marie/texture_processing.h | 5 +---- src/l2/tests/r2/liza_collection.h | 6 +----- 63 files changed, 63 insertions(+), 271 deletions(-) diff --git a/src/l1/anne/alice.h b/src/l1/anne/alice.h index 133d357..76016fe 100644 --- a/src/l1/anne/alice.h +++ b/src/l1/anne/alice.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_anne_alice_h -#define prototype1_src_l1_anne_alice_h +#pragma once #include "../codegen/codegen.h" @@ -25,5 +24,3 @@ void generate_code_for_alice_on_l1(){ .T = cstr("GenericMeshTopology") }); } - -#endif \ No newline at end of file diff --git a/src/l1/anne/embassy_l1_5.h b/src/l1/anne/embassy_l1_5.h index 9862c88..097c238 100644 --- a/src/l1/anne/embassy_l1_5.h +++ b/src/l1/anne/embassy_l1_5.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_CODEGEN_FROM_L1_5_H -#define PROTOTYPE1_SRC_L1_ANNE_CODEGEN_FROM_L1_5_H +#pragma once #include "../codegen/util_template_inst.h" @@ -12,5 +11,3 @@ void generate_l1_headers_for_l1_5() { generate_eve_span_company_for_primitive(l, ns, cstr("NamedMethodSignatureRecordRef"), false, true); generate_eve_span_company_for_primitive(l, ns, cstr("BufRBTreeNode"), true, false); } - -#endif \ No newline at end of file diff --git a/src/l1/anne/geom.h b/src/l1/anne/geom.h index 7211676..0868971 100644 --- a/src/l1/anne/geom.h +++ b/src/l1/anne/geom.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE_SRC_L1_CODEGEN_GEOM_H -#define PROTOTYPE_SRC_L1_CODEGEN_GEOM_H +#pragma once #include "../codegen/codegen.h" @@ -512,5 +511,3 @@ void generate_geom_header() { /* VecU8_append_vec(&res.result, generate_xmat234x234_structs_methods(cstr("dmat"), cstr("dvec"), cstr("double"), sizeof(double))); */ finish_header(res); } - -#endif diff --git a/src/l1/anne/liza.h b/src/l1/anne/liza.h index 2162374..953ac30 100644 --- a/src/l1/anne/liza.h +++ b/src/l1/anne/liza.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_LIZA_H -#define PROTOTYPE1_SRC_L1_ANNE_LIZA_H +#pragma once #include "../codegen/util_template_inst.h" @@ -17,5 +16,3 @@ void generate_liza_l1_headers() { generate_util_templ_inst_eve_header(l, ns, (util_templates_instantiation_options){ .T = cstr("MyInstrument"), .vec = true}, false); } - -#endif \ No newline at end of file diff --git a/src/l1/anne/lucy.h b/src/l1/anne/lucy.h index 4ecebd9..46ccb83 100644 --- a/src/l1/anne/lucy.h +++ b/src/l1/anne/lucy.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_anne_lucy_h -#define prototype1_src_l1_anne_lucy_h +#pragma once #include "../codegen/util_template_inst.h" #include "../codegen/list_template_inst.h" @@ -19,5 +18,3 @@ void generate_l1_lucy_headers(){ .T = cstr("LucyPositionedStagingGlyph"), .vec = true, .sort = true, }, false); } - -#endif \ No newline at end of file diff --git a/src/l1/anne/margaret/margaret_misc.h b/src/l1/anne/margaret/margaret_misc.h index 1769288..8103797 100644 --- a/src/l1/anne/margaret/margaret_misc.h +++ b/src/l1/anne/margaret/margaret_misc.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_MARGARET_MARGARET_MISC_H -#define PROTOTYPE1_SRC_L1_ANNE_MARGARET_MARGARET_MISC_H +#pragma once #include "../../codegen/util_template_inst.h" #include "../../codegen/list_template_inst.h" @@ -28,6 +27,3 @@ void generate_margaret_eve_for_vulkan_utils() { generate_eve_span_company_for_non_primitive_non_clonable(l, ns, cstr("MargaretImgAllocatorOneBlock"), true, false); generate_List_templ_inst_eve_header(l, ns, (list_instantiation_op){.T = cstr("MargaretBufAllocatorOneBlock")}, true); } - - -#endif \ No newline at end of file diff --git a/src/l1/anne/margaret/png_pixel_masses.h b/src/l1/anne/margaret/png_pixel_masses.h index 74f0b5f..c226cbc 100644 --- a/src/l1/anne/margaret/png_pixel_masses.h +++ b/src/l1/anne/margaret/png_pixel_masses.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_MARGARET_PNG_PIXEL_MASSES_H -#define PROTOTYPE1_SRC_L1_ANNE_MARGARET_PNG_PIXEL_MASSES_H +#pragma once #include "../../codegen/util_template_inst.h" @@ -298,5 +297,3 @@ void generate_margaret_png_pixel_masses_header() { finish_header(header); } - -#endif \ No newline at end of file diff --git a/src/l1/anne/marie.h b/src/l1/anne/marie.h index 97faff9..cae8aeb 100644 --- a/src/l1/anne/marie.h +++ b/src/l1/anne/marie.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_MARIE_H -#define PROTOTYPE1_SRC_L1_ANNE_MARIE_H +#pragma once #include "../codegen/util_template_inst.h" @@ -16,5 +15,3 @@ void generate_l1_headers_for_marie() { generate_eve_span_company_for_non_primitive_clonable(l, ns, cstr("VecMarieHoleAndVertexId"), true, false); generate_eve_span_company_for_non_primitive_clonable(l, ns, cstr("VecVecMarieHoleAndVertexId"), true, false); } - -#endif diff --git a/src/l1/anne/pixel_masses.h b/src/l1/anne/pixel_masses.h index 9b28425..86c4f23 100644 --- a/src/l1/anne/pixel_masses.h +++ b/src/l1/anne/pixel_masses.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE_SRC_L1_CODEGEN_PIXEL_MASSES_H -#define PROTOTYPE_SRC_L1_CODEGEN_PIXEL_MASSES_H +#pragma once #include "../codegen/codegen.h" #include "../codegen/util_template_inst.h" @@ -101,6 +100,3 @@ void generate_pixel_masses_header() { cstr("(float)pix.x / 255 * 0.21f + (float)pix.y / 255 * 0.71f + (float)pix.z / 255 * 0.08f"))); finish_header(res); } - - -#endif diff --git a/src/l1/anne/some_tests.h b/src/l1/anne/some_tests.h index 063ea60..549b3de 100644 --- a/src/l1/anne/some_tests.h +++ b/src/l1/anne/some_tests.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_SOME_TESTS_H -#define PROTOTYPE1_SRC_L1_ANNE_SOME_TESTS_H +#pragma once #include "../codegen/util_template_inst.h" @@ -24,5 +23,3 @@ void generate_headers_for_r0_r1_r2_r3() { generate_eve_span_company_for_primitive(l, cstr("ds_test"), cstr("RefRBTreeNode_S64"), true, false); } } - -#endif \ No newline at end of file diff --git a/src/l1/anne/util_temp_geom.h b/src/l1/anne/util_temp_geom.h index fd7aa50..cd755e0 100644 --- a/src/l1/anne/util_temp_geom.h +++ b/src/l1/anne/util_temp_geom.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_UTIL_TEMP_GEOM_H -#define PROTOTYPE1_SRC_L1_ANNE_UTIL_TEMP_GEOM_H +#pragma once #include "../codegen/util_template_inst.h" @@ -26,5 +25,3 @@ void generate_util_temp_geom_headers() { VecU8_drop(Dep); } } - -#endif \ No newline at end of file diff --git a/src/l1/anne/util_temp_very_base.h b/src/l1/anne/util_temp_very_base.h index 9c06335..b6ee4b0 100644 --- a/src/l1/anne/util_temp_very_base.h +++ b/src/l1/anne/util_temp_very_base.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_UTIL_TEMP_VERY_BASE_H -#define PROTOTYPE1_SRC_L1_ANNE_UTIL_TEMP_VERY_BASE_H +#pragma once #include "../codegen/util_template_inst.h" @@ -75,5 +74,3 @@ void generate_util_temp_very_base_headers() { generate_Option_templ_inst_eve_header(l, ns, (option_template_instantiation_op){.T = cstr("Json"), .t_clonable = false}); } - -#endif \ No newline at end of file diff --git a/src/l1/anne/util_temp_vulkan.h b/src/l1/anne/util_temp_vulkan.h index 310b450..2a24a4f 100644 --- a/src/l1/anne/util_temp_vulkan.h +++ b/src/l1/anne/util_temp_vulkan.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_ANNE_VULKAN_H -#define PROTOTYPE1_SRC_L1_ANNE_VULKAN_H +#pragma once #include "../codegen/util_template_inst.h" @@ -43,5 +42,3 @@ void generate_util_templ_inst_for_vulkan_headers() { generate_guarded_span_company_for_primitive(l, ns, cstr("VkImageMemoryBarrier"), vulkan_dep, true, false); generate_guarded_span_company_for_primitive(l, ns, cstr("VkDescriptorImageInfo"), vulkan_dep, true, false); } - -#endif \ No newline at end of file diff --git a/src/l1/codegen/codegen.h b/src/l1/codegen/codegen.h index c943f69..4bc1478 100644 --- a/src/l1/codegen/codegen.h +++ b/src/l1/codegen/codegen.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_CODEGEN_CODEGEN_H -#define PROTOTYPE1_SRC_L1_CODEGEN_CODEGEN_H +#pragma once #include #include "../system/fileio.h" @@ -115,5 +114,3 @@ NODISCARD VecU8 codegen_include_relative_to_root(SpanU8 bonus_ns, SpanU8 abs_pat SpanU8 c_type_empty_means_void(SpanU8 type){ return type.len > 0 ? type : cstr("void"); } - -#endif diff --git a/src/l1/codegen/list_template_inst.h b/src/l1/codegen/list_template_inst.h index 991d3d2..a62cf6f 100644 --- a/src/l1/codegen/list_template_inst.h +++ b/src/l1/codegen/list_template_inst.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_codegen_list_template_inst_h -#define prototype1_src_l1_codegen_list_template_inst_h +#pragma once #include "codegen.h" @@ -106,6 +105,3 @@ void generate_List_templ_inst_guarded_header( generate_SOME_templ_inst_guarded_header(layer, bonus_ns, all_dependencies, generate_List_template_instantiation(op, true), VecU8_fmt("List%s", op.T)); } - - -#endif \ No newline at end of file diff --git a/src/l1/codegen/util_template_inst.h b/src/l1/codegen/util_template_inst.h index 79ddc94..ff97067 100644 --- a/src/l1/codegen/util_template_inst.h +++ b/src/l1/codegen/util_template_inst.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_CODEGEN_UTIL_TEMPLATES_H -#define PROTOTYPE1_SRC_L1_CODEGEN_UTIL_TEMPLATES_H +#pragma once #include "codegen.h" @@ -753,5 +752,3 @@ void generate_Option_templ_inst_guarded_header( codegen_include_relative_to_root(bonus_ns, cstr("src/l1/core/util.h")), dependencies), generate_OptionT_struct_and_methods(op), VecU8_fmt("Option%s", op.T)); } - -#endif diff --git a/src/l1/core/VecU8_as_str.h b/src/l1/core/VecU8_as_str.h index c7f9a1d..cc5c8d1 100644 --- a/src/l1/core/VecU8_as_str.h +++ b/src/l1/core/VecU8_as_str.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_CORE_VECU8_AS_STR_H -#define PROTOTYPE1_SRC_L1_CORE_VECU8_AS_STR_H +#pragma once #include @@ -345,5 +344,3 @@ void VecU8_encode_as_utf8(VecU8* str, U32 U){ }, 4}); } } - -#endif diff --git a/src/l1/core/chicken_VecU8.h b/src/l1/core/chicken_VecU8.h index a510a5f..2f04bfa 100644 --- a/src/l1/core/chicken_VecU8.h +++ b/src/l1/core/chicken_VecU8.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_CORE_CHICKEN_VECU8_H -#define PROTOTYPE1_SRC_L1_CORE_CHICKEN_VECU8_H +#pragma once #ifndef PROTOTYPE1_L1_CODEGEN_BOOTSTRAP_USE_CHICKEN_VECU8 #error "Use chicken_VecU8.h only during the very first l1 bootstrap stage" @@ -96,5 +95,3 @@ void VecU8_append_span(VecU8* self, SpanU8 b) { memcpy(self->buf + self->len, b.data, b.len); self->len = new_length; } - -#endif diff --git a/src/l1/core/int_primitives.h b/src/l1/core/int_primitives.h index fe7a667..487a996 100644 --- a/src/l1/core/int_primitives.h +++ b/src/l1/core/int_primitives.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_CORE_INT_PRIMITIVES_H -#define PROTOTYPE1_SRC_CORE_INT_PRIMITIVES_H +#pragma once #include #include @@ -26,5 +25,3 @@ int_minmax_function_Definition(U64) int_minmax_function_Definition(S64) int_minmax_function_Definition(float) int_minmax_function_Definition(double) - -#endif diff --git a/src/l1/core/uint_segments.h b/src/l1/core/uint_segments.h index 1bd6c9e..320ea35 100644 --- a/src/l1/core/uint_segments.h +++ b/src/l1/core/uint_segments.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_core_uint_segments_h -#define prototype1_src_l1_core_uint_segments_h +#pragma once #include "int_primitives.h" @@ -12,5 +11,3 @@ typedef struct{ U32 start; U32 len; } U32Segment; - -#endif diff --git a/src/l1/core/util.h b/src/l1/core/util.h index fa15ea2..5575f96 100644 --- a/src/l1/core/util.h +++ b/src/l1/core/util.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_CORE_UTIL_H -#define PROTOTYPE1_SRC_CORE_UTIL_H +#pragma once #include #include @@ -93,5 +92,3 @@ typedef struct{ } KVPU64ToU64; #define check(expr) if (!(expr)) { abortf("Assertion failed at %s : %d : " #expr "\n", __FILE__, __LINE__); } - -#endif diff --git a/src/l1/marie/geom_alg_utils.h b/src/l1/marie/geom_alg_utils.h index ed26754..2f08230 100644 --- a/src/l1/marie/geom_alg_utils.h +++ b/src/l1/marie/geom_alg_utils.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE_1_SRC_L1_MARIE_GEOM_ALG_UTILS_H -#define PROTOTYPE_1_SRC_L1_MARIE_GEOM_ALG_UTILS_H +#pragma once #include #include @@ -94,5 +93,3 @@ vec2 marie_intersect_lines(vec2 A1, vec2 B1, vec2 A2, vec2 B2) { float marie_clamp_float(float a, float l, float r) { return (a < l) ? l : ((a <= r) ? a : r); } - -#endif diff --git a/src/l1/system/creating_child_proc.h b/src/l1/system/creating_child_proc.h index a651e8e..301adac 100644 --- a/src/l1/system/creating_child_proc.h +++ b/src/l1/system/creating_child_proc.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_system_creating_child_proc_h -#define prototype1_src_l1_system_creating_child_proc_h +#pragma once #include "../core/util.h" @@ -13,6 +12,3 @@ void calling_system_func_nofail(const char* command) { abortf("Error: command terminated abnormally\n"); } } - - -#endif \ No newline at end of file diff --git a/src/l1/system/fileio.h b/src/l1/system/fileio.h index ce32fcb..821b883 100644 --- a/src/l1/system/fileio.h +++ b/src/l1/system/fileio.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_SYSTEM_FILEIO_H -#define PROTOTYPE1_SRC_SYSTEM_FILEIO_H +#pragma once #include "../core/VecU8_as_str.h" @@ -59,6 +58,3 @@ void write_file_by_path(VecU8 path, SpanU8 content){ VecU8_drop(path); fclose(fd); } - - -#endif diff --git a/src/l1/system/fsmanip.h b/src/l1/system/fsmanip.h index 9046041..100bb45 100644 --- a/src/l1/system/fsmanip.h +++ b/src/l1/system/fsmanip.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_SYSTEM_FSMANIP_H -#define PROTOTYPE1_SRC_L1_SYSTEM_FSMANIP_H +#pragma once /* For posix */ #include @@ -12,6 +11,3 @@ void mkdir_nofail(const char* filename) { if (ret < 0 && errno != EEXIST) abortf("Unable to create directory %s\n", filename); } - - -#endif diff --git a/src/l1/system/pthread.h b/src/l1/system/pthread.h index a17742b..926e396 100644 --- a/src/l1/system/pthread.h +++ b/src/l1/system/pthread.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_SYSTEM_PTHREAD_H -#define PROTOTYPE1_SRC_L1_SYSTEM_PTHREAD_H +#pragma once #include "../core/util.h" #include @@ -27,6 +26,3 @@ void safe_pthread_mutex_destroy(pthread_mutex_t* mut) { void safe_pthread_join(pthread_t thread) { pthread_join(thread, NULL); } - - -#endif \ No newline at end of file diff --git a/src/l1/system/shared_memory.h b/src/l1/system/shared_memory.h index 87ec3e1..36a3da8 100644 --- a/src/l1/system/shared_memory.h +++ b/src/l1/system/shared_memory.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_SYSTEM_SHARED_MEMORY_H -#define PROTOTYPE1_SRC_L1_SYSTEM_SHARED_MEMORY_H +#pragma once #include #include @@ -33,5 +32,3 @@ static int allocate_shm_file(size_t size) { } return fd; } - -#endif \ No newline at end of file diff --git a/src/l1_5/anne/gui.h b/src/l1_5/anne/gui.h index d3889d4..04aaf42 100644 --- a/src/l1_5/anne/gui.h +++ b/src/l1_5/anne/gui.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_anne_gui_h -#define prototype1_src_l1_5_anne_gui_h +#pragma once #include "../codegen/trait_wrap_boil.h" @@ -43,5 +42,3 @@ void generate_l1_5_gui_headers(){ .box = true, .mut_ref = true }); } - -#endif \ No newline at end of file diff --git a/src/l1_5/anne/l1_5_templ_very_base.h b/src/l1_5/anne/l1_5_templ_very_base.h index d5810a3..84f1a4b 100644 --- a/src/l1_5/anne/l1_5_templ_very_base.h +++ b/src/l1_5/anne/l1_5_templ_very_base.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_anne_l1_5_templ_very_base_h -#define prototype1_src_l1_5_anne_l1_5_templ_very_base_h +#pragma once #include "../codegen/buff_rbtree_set_map_template_inst.h" #include "../codegen/rbtree_set_map_template_inst.h" @@ -28,5 +27,3 @@ void generate_l1_5_template_instantiation_for_base_types(){ .skip_declaration_gen = true, }, false, true); } - -#endif diff --git a/src/l1_5/anne/liza.h b/src/l1_5/anne/liza.h index 96f8916..fc807d9 100644 --- a/src/l1_5/anne/liza.h +++ b/src/l1_5/anne/liza.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_5_ANNE_LIZA_H -#define PROTOTYPE1_SRC_L1_5_ANNE_LIZA_H +#pragma once #include "../codegen/trait_wrap_boil.h" @@ -31,5 +30,3 @@ void generate_l1_5_liza_headers() { .box = true, .ref = true, .mut_ref = true }); } - -#endif \ No newline at end of file diff --git a/src/l1_5/anne/lucy.h b/src/l1_5/anne/lucy.h index 0c60aa5..923e76b 100644 --- a/src/l1_5/anne/lucy.h +++ b/src/l1_5/anne/lucy.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_anne_lucy_h -#define prototype1_src_l1_5_anne_lucy_h +#pragma once #include "../codegen/buff_rbtree_set_map_template_inst.h" @@ -12,5 +11,3 @@ void generate_l1_5_lucy_headers(){ .K = cstr("U32"), .k_integer = true, .V = cstr("LucyFaceFixedSize")}, true, false); } - -#endif \ No newline at end of file diff --git a/src/l1_5/anne/margaret.h b/src/l1_5/anne/margaret.h index 0470952..21c2b8e 100644 --- a/src/l1_5/anne/margaret.h +++ b/src/l1_5/anne/margaret.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_anne_margaret_h -#define prototype1_src_l1_5_anne_margaret_h +#pragma once #include "../codegen/buff_rbtree_set_map_template_inst.h" #include "../codegen/rbtree_set_map_template_inst.h" @@ -24,5 +23,3 @@ void generate_l1_5_template_instantiations_for_margaret(){ .alternative_comp_set_name_embed = cstr("Len"), }); } - -#endif \ No newline at end of file diff --git a/src/l1_5/codegen/all_set_map_templ_util_inst.h b/src/l1_5/codegen/all_set_map_templ_util_inst.h index e999a52..124ee28 100644 --- a/src/l1_5/codegen/all_set_map_templ_util_inst.h +++ b/src/l1_5/codegen/all_set_map_templ_util_inst.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_5_CODEGEN_ALL_SET_MAP_TEMPL_UTIL_INST_H -#define PROTOTYPE1_SRC_L1_5_CODEGEN_ALL_SET_MAP_TEMPL_UTIL_INST_H +#pragma once #include "../../l1/codegen/util_template_inst.h" @@ -97,6 +96,3 @@ NODISCARD VecU8 codegen_rbtree_map__taking_ref_k_argument(map_instantiation_op o NODISCARD VecU8 codegen_rbtree_map__taking_t_argument(map_instantiation_op op){ return op.V.len > 0 ? VecU8_fmt("%s key, %s value", op.K, op.V) : VecU8_fmt("%s key", op.K); } - - -#endif diff --git a/src/l1_5/codegen/buff_rbtree_set_map_template_inst.h b/src/l1_5/codegen/buff_rbtree_set_map_template_inst.h index 872ece6..95d5e66 100644 --- a/src/l1_5/codegen/buff_rbtree_set_map_template_inst.h +++ b/src/l1_5/codegen/buff_rbtree_set_map_template_inst.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_5_CODEGEN_RB_TREE_SET_MAP_TEMPLATE_INST_H -#define PROTOTYPE1_SRC_L1_5_CODEGEN_RB_TREE_SET_MAP_TEMPLATE_INST_H +#pragma once #include "all_set_map_templ_util_inst.h" @@ -562,5 +561,3 @@ void generate_buf_rbtree_Map_templ_inst_guarded_header( generate_SOME_templ_inst_guarded_header(layer, bonus_ns, all_dependencies, generate_buf_rbtree_Map_template_instantiation(op), get_name_of_buf_rbtree_map_structure(op)); } - -#endif diff --git a/src/l1_5/codegen/rbtree_set_map_template_inst.h b/src/l1_5/codegen/rbtree_set_map_template_inst.h index 4eb71a1..8db1ff2 100644 --- a/src/l1_5/codegen/rbtree_set_map_template_inst.h +++ b/src/l1_5/codegen/rbtree_set_map_template_inst.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_codegen_rbtree_set_map_template_inst_h -#define prototype1_src_l1_5_codegen_rbtree_set_map_template_inst_h +#pragma once #include "all_set_map_templ_util_inst.h" @@ -457,5 +456,3 @@ void generate_rbtree_Map_templ_inst_guarded_header( generate_rbtree_Map_template_instantiation(op, generate_node_struct, true, true), get_name_of_rbtree_map_structure(op)); } - -#endif diff --git a/src/l1_5/codegen/trait_wrap_boil.h b/src/l1_5/codegen/trait_wrap_boil.h index 1b0203a..13af051 100644 --- a/src/l1_5/codegen/trait_wrap_boil.h +++ b/src/l1_5/codegen/trait_wrap_boil.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_5_CODEGEN_TRAIT_BOX_AND_REF_H -#define PROTOTYPE1_SRC_L1_5_CODEGEN_TRAIT_BOX_AND_REF_H +#pragma once #include "../../l1/codegen/codegen.h" @@ -170,5 +169,3 @@ void generate_trait_wrapper_templ_inst_guarded_header(SpanU8 layer, SpanU8 bonus VecU8_fmt("#include \n%s", dependencies), generate_trait_wrapper_boilerplate(op), VecU8_from_span(op.trait.name)); } - -#endif \ No newline at end of file diff --git a/src/l1_5/core/buff_rb_tree_node.h b/src/l1_5/core/buff_rb_tree_node.h index ed0e835..a2a2451 100644 --- a/src/l1_5/core/buff_rb_tree_node.h +++ b/src/l1_5/core/buff_rb_tree_node.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_5_CORE_RB_TREE_NODE_H -#define PROTOTYPE1_SRC_L1_5_CORE_RB_TREE_NODE_H +#pragma once #include "../../l1/core/util.h" @@ -256,5 +255,3 @@ void BufRBTree_empty_index_erase(VecBufRBTreeNode* tree, U64* root, U64 z) { // self->el.len--; } - -#endif diff --git a/src/l1_5/core/input_olproga.h b/src/l1_5/core/input_olproga.h index 95a8ddd..7f28901 100644 --- a/src/l1_5/core/input_olproga.h +++ b/src/l1_5/core/input_olproga.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_core_input_olproga_h -#define prototype1_src_l1_5_core_input_olproga_h +#pragma once #include "../../../gen/l1/OptionU64.h" #include "../../../gen/l1/VecAndSpan_U8.h" @@ -80,6 +79,3 @@ U64 stdin_read_U64_nofail(){ abortf("No number found\n"); return x.some; } - - -#endif \ No newline at end of file diff --git a/src/l1_5/core/parsing_string.h b/src/l1_5/core/parsing_string.h index d0eee90..b148f96 100644 --- a/src/l1_5/core/parsing_string.h +++ b/src/l1_5/core/parsing_string.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_core_parsing_string_h -#define prototype1_src_l1_5_core_parsing_string_h +#pragma once #include "../../l1/core/VecU8_as_str.h" #include @@ -259,5 +258,3 @@ bool SpanU8_parsing_try_read_hex_digit(SpanU8* rem, U32* ret){ } return false; } - -#endif diff --git a/src/l1_5/core/rb_tree_node.h b/src/l1_5/core/rb_tree_node.h index f13abb3..eafaa13 100644 --- a/src/l1_5/core/rb_tree_node.h +++ b/src/l1_5/core/rb_tree_node.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_core_rb_tree_node_h -#define prototype1_src_l1_5_core_rb_tree_node_h +#pragma once #include "../../l1/core/util.h" @@ -274,5 +273,3 @@ void RBTree_erase_empty_by_iter(RBTreeNode** root, RBTreeNode* NIL, RBTreeNode* if (y_org_clr == RBTREE_BLACK) RBTree_fix_after_delete(root, NIL, x); } - -#endif \ No newline at end of file diff --git a/src/l1_5/core/stringop.h b/src/l1_5/core/stringop.h index a40efda..24467d2 100644 --- a/src/l1_5/core/stringop.h +++ b/src/l1_5/core/stringop.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L1_5_CORE_STRINGOP_H -#define PROTOTYPE1_SRC_L1_5_CORE_STRINGOP_H +#pragma once #include "../../../gen/l1/VecAndSpan_U8.h" #include "../../../gen/l1/VecAndSpan_VecU8.h" @@ -39,5 +38,3 @@ void VecU8_add_vertical_separator(VecU8* self) { if (self->len) VecU8_append_span(self, cstr(" | ")); } - -#endif diff --git a/src/l1_5/core/stringsearch.h b/src/l1_5/core/stringsearch.h index 8889dfd..706dfab 100644 --- a/src/l1_5/core/stringsearch.h +++ b/src/l1_5/core/stringsearch.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l1_5_core_stringsearch_h -#define prototype1_src_l1_5_core_stringsearch_h +#pragma once #include "../../l1/core/VecU8_as_str.h" #include "../../../gen/l1/VecAndSpan_U64.h" @@ -36,7 +35,3 @@ NODISCARD VecU64 z_function(SpanU8 s){ } return Z; } - - -#endif - diff --git a/src/l2/alice/assets.h b/src/l2/alice/assets.h index 6fbd589..40ce03c 100644 --- a/src/l2/alice/assets.h +++ b/src/l2/alice/assets.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_alice_assets_h -#define prototype1_src_l2_alice_assets_h +#pragma once #include "../marie/graphics_geom.h" #include "../../../gen/l1/VecAndSpan_U32.h" @@ -133,6 +132,3 @@ typedef struct { Pipeline0PointLight point_light_arr[pipeline_0_ubo_point_light_max_count]; Pipeline0Spotlight spotlight_arr[pipeline_0_ubo_spotlight_max_count]; } Pipeline0UBO; - - -#endif \ No newline at end of file diff --git a/src/l2/alice/engine.h b/src/l2/alice/engine.h index d28203d..a7a0b02 100644 --- a/src/l2/alice/engine.h +++ b/src/l2/alice/engine.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_alice_engine_h -#define prototype1_src_l2_alice_engine_h +#pragma once #include "model_file.h" #include "../../l1/marie/geom_alg_utils.h" @@ -2082,5 +2081,3 @@ void Alice_mainloop(Alice* alice, const AliceCallbacks* callbacks) { // wl_registry_destroy(alice->wl.wl_registry); wl_display_disconnect(alice->wl.wl_display); } - -#endif \ No newline at end of file diff --git a/src/l2/alice/model_file.h b/src/l2/alice/model_file.h index c251844..2cc620f 100644 --- a/src/l2/alice/model_file.h +++ b/src/l2/alice/model_file.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_alice_model_file_h -#define prototype1_src_l2_alice_model_file_h +#pragma once #include "../../../gen/l1/VecAndSpan_vec2.h" #include "../../../gen/l1/VecAndSpan_vec3.h" @@ -238,7 +237,3 @@ GenericMeshTopology alice_expect_read_generic_mesh_from_obj_file(VecU8 file_path OptionGenericMeshTopology option = alice_read_generic_mesh_from_obj_file(file_path); return OptionGenericMeshTopology_expect(option); } - -/* No beauty, just pure brute force */ - -#endif diff --git a/src/l2/anne/r4.h b/src/l2/anne/r4.h index 53c4ae5..856a15d 100644 --- a/src/l2/anne/r4.h +++ b/src/l2/anne/r4.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_anne_r4_h -#define prototype1_src_l2_anne_r4_h +#pragma once #include "../alice/assets.h" #include "../../../gen/l1/pixel_masses.h" @@ -915,5 +914,3 @@ int gen_assets_for_r4() { return 0; } - -#endif diff --git a/src/l2/core/glb_file.h b/src/l2/core/glb_file.h index b0f4f36..245d472 100644 --- a/src/l2/core/glb_file.h +++ b/src/l2/core/glb_file.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_alice_glb_file_h -#define prototype1_src_l2_alice_glb_file_h +#pragma once #include "json_encoded.h" @@ -72,5 +71,3 @@ int glb_file_get_segments(SpanU8 file, GLBFileSegments* ret){ *ret = (GLBFileSegments){.version = version, .gltf = parsed_json.some, .bin_segment = bin_segment}; return 0; } - -#endif \ No newline at end of file diff --git a/src/l2/core/json.h b/src/l2/core/json.h index 2f8ed1e..c914702 100644 --- a/src/l2/core/json.h +++ b/src/l2/core/json.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_core_json_h -#define prototype1_src_l2_core_json_h +#pragma once #include "../../l1/core/VecU8_as_str.h" #include "../../l1_5/core/rb_tree_node.h" @@ -93,5 +92,3 @@ Json Json_from_MapVecU8ToJson(json_dictionary_t dict){ // Bonus #include "../../../gen/l1/eve/OptionJson.h" - -#endif \ No newline at end of file diff --git a/src/l2/core/json_encoded.h b/src/l2/core/json_encoded.h index 108041e..3f2552e 100644 --- a/src/l2/core/json_encoded.h +++ b/src/l2/core/json_encoded.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_core_json_encoded_h -#define prototype1_src_l2_core_json_encoded_h +#pragma once #include "../../l1_5/core/parsing_string.h" #include "json.h" @@ -281,5 +280,3 @@ OptionJson json_decode(SpanU8 text, U32 depth_allowed){ } return x; } - -#endif \ No newline at end of file diff --git a/src/l2/gui/label.h b/src/l2/gui/label.h index e5a9f2c..9185e4a 100644 --- a/src/l2/gui/label.h +++ b/src/l2/gui/label.h @@ -1,7 +1,3 @@ -#ifndef prototype1_src_l2_gui_label_h -#define prototype1_src_l2_gui_label_h +#pragma once #include "../lucy/glyph_render.h" - - -#endif \ No newline at end of file diff --git a/src/l2/gui/widget.h b/src/l2/gui/widget.h index ce259c1..1fc3912 100644 --- a/src/l2/gui/widget.h +++ b/src/l2/gui/widget.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_gui_widget_h -#define prototype1_src_l2_gui_widget_h +#pragma once #include "../../../gen/l1/geom.h" #include "../../l1/core/util.h" @@ -100,5 +99,3 @@ BoxWidget EmptyWidget_new_box(U32 width, U32 height){ *r = (EmptyWidget){.base = Widget_new(), .width = width, .height = height}; return (BoxWidget){.r = (Widget*)r, .t = &Widget_Table_EmptyWidget}; } - -#endif \ No newline at end of file diff --git a/src/l2/liza/instrument.h b/src/l2/liza/instrument.h index 5af7158..48ade9d 100644 --- a/src/l2/liza/instrument.h +++ b/src/l2/liza/instrument.h @@ -1,10 +1,6 @@ -#ifndef PROTOTYPE1_SRC_L2_LIZA_INSTRUMENT_H -#define PROTOTYPE1_SRC_L2_LIZA_INSTRUMENT_H +#pragma once #include "playing_sound_loop.h" #include "../../../gen/l1_5/eve/liza/LizaInstrument.h" #include "../../../gen/l1/eve/liza/VecBoxLizaInstrument.h" - - -#endif \ No newline at end of file diff --git a/src/l2/liza/playing_sound_loop.h b/src/l2/liza/playing_sound_loop.h index 87db4a3..6b66feb 100644 --- a/src/l2/liza/playing_sound_loop.h +++ b/src/l2/liza/playing_sound_loop.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L2_LIZA_PLAYING_SOUND_LOOP_H -#define PROTOTYPE1_SRC_L2_LIZA_PLAYING_SOUND_LOOP_H +#pragma once // todo: move loop here and rewrite with l1_5 help @@ -37,6 +36,3 @@ void BoxLizaSound_drop(BoxLizaSound self) { } #include "../../../gen/l1/eve/liza/VecBoxLizaSound.h" - - -#endif \ No newline at end of file diff --git a/src/l2/lucy/glyph_cache.h b/src/l2/lucy/glyph_cache.h index 7c8c227..2f21242 100644 --- a/src/l2/lucy/glyph_cache.h +++ b/src/l2/lucy/glyph_cache.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_lucy_glyph_cache_h -#define prototype1_src_l2_lucy_glyph_cache_h +#pragma once #include "../margaret/vulkan_utils.h" #include @@ -418,5 +417,3 @@ RBTreeNodeLucyFaceFixedSize* LucyFace_of_size(LucyFace* self, U32 size){ // todo: add a method to RBTree for proper node insertion. This is just pure crap return RBTree_MapU32ToLucyFaceFixedSize_find(&self->sizes, size); } - -#endif diff --git a/src/l2/lucy/glyph_render.h b/src/l2/lucy/glyph_render.h index 9641a74..1a21595 100644 --- a/src/l2/lucy/glyph_render.h +++ b/src/l2/lucy/glyph_render.h @@ -1,5 +1,4 @@ -#ifndef prototype1_src_l2_lucy_rendering_h -#define prototype1_src_l2_lucy_rendering_h +#pragma once #include "glyph_cache.h" #include "../../../gen/l1/pixel_masses.h" @@ -186,5 +185,3 @@ void LucyRenderer_another_frame_rec_drawing( 1, (VkDescriptorSet[]){self->cache->descriptor_set}, 0, NULL); vkCmdDraw(drawing_cmd_buf, 6, self->glyphs_count, 0, 0); } - -#endif \ No newline at end of file diff --git a/src/l2/margaret/time_utils.h b/src/l2/margaret/time_utils.h index a12740c..dd0fe75 100644 --- a/src/l2/margaret/time_utils.h +++ b/src/l2/margaret/time_utils.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L2_MARGARET_TIME_H -#define PROTOTYPE1_SRC_L2_MARGARET_TIME_H +#pragma once #include #include "../../l1/core/util.h" @@ -25,6 +24,3 @@ float margaret_ns_time_sec_diff(margaret_ns_time from, margaret_ns_time to) { float margaret_clock_monotonic_raw_diff(margaret_ns_time start) { return (float)margaret_ns_time_ns_diff(start, margaret_clock_gettime_monotonic_raw()) / 1e9f; } - - -#endif \ No newline at end of file diff --git a/src/l2/margaret/vulkan_memory.h b/src/l2/margaret/vulkan_memory.h index 5825a50..584b3de 100644 --- a/src/l2/margaret/vulkan_memory.h +++ b/src/l2/margaret/vulkan_memory.h @@ -1,8 +1,5 @@ -#ifndef prototype1_src_l2_margaret_vulkan_memory_h -#define prototype1_src_l2_margaret_vulkan_memory_h +#pragma once #include #include "vulkan_images_claire.h" #include "vulkan_buffer_claire.h" - -#endif \ No newline at end of file diff --git a/src/l2/margaret/vulkan_utils.h b/src/l2/margaret/vulkan_utils.h index 1159a91..8168c44 100644 --- a/src/l2/margaret/vulkan_utils.h +++ b/src/l2/margaret/vulkan_utils.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L2_MARGARET_MARGARET_H -#define PROTOTYPE1_SRC_L2_MARGARET_MARGARET_H +#pragma once #include "../../../gen/l1/OptionU32.h" #include "../../../gen/l1/VecAndSpan_VecU8.h" @@ -1247,5 +1246,3 @@ void margaret_rec_cmd_copy_buffer_to_image_one_to_one_color_aspect( }); dst->current_layout = dst_new_layout; } - -#endif diff --git a/src/l2/marie/graphics_geom.h b/src/l2/marie/graphics_geom.h index 03b9247..b08815f 100644 --- a/src/l2/marie/graphics_geom.h +++ b/src/l2/marie/graphics_geom.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L2_MARIE_GRAPHICS_GEOM_H -#define PROTOTYPE1_SRC_L2_MARIE_GRAPHICS_GEOM_H +#pragma once #include "../../../gen/l1/geom.h" #include @@ -101,5 +100,3 @@ mat4 marie_3d_scal_mat4(float scale){ vec2 ivec2_to_vec2(ivec2 v){ return (vec2){(float)v.x, (float)v.y}; } - -#endif diff --git a/src/l2/marie/rasterization.h b/src/l2/marie/rasterization.h index 78bb141..31389f7 100644 --- a/src/l2/marie/rasterization.h +++ b/src/l2/marie/rasterization.h @@ -1,5 +1,4 @@ -#ifndef SPLITTER_DRAFT_SRC_L2_MARIE_RASTERIZATION_H -#define SPLITTER_DRAFT_SRC_L2_MARIE_RASTERIZATION_H +#pragma once #include "../../../gen/l1/geom.h" #include "../../l1/marie/geom_alg_utils.h" @@ -134,5 +133,3 @@ void marie_rasterize_triangle_with_attr( } } } - -#endif diff --git a/src/l2/marie/shape_geom.h b/src/l2/marie/shape_geom.h index 5136363..7ea8294 100644 --- a/src/l2/marie/shape_geom.h +++ b/src/l2/marie/shape_geom.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L2_MARIE_SHAPE_GEOM_H -#define PROTOTYPE1_SRC_L2_MARIE_SHAPE_GEOM_H +#pragma once #include "../../../gen/l1/VecAndSpan_vec2.h" #include "../../../gen/l1/VecAndSpan_U64.h" @@ -336,5 +335,3 @@ VecMarieHoleAndVertexId marie_polygon_hole_removal_triangulation(const VecVecs64 VecU64_drop(mono_polygon_triangulation); return back_translated_triangulation; } - -#endif diff --git a/src/l2/marie/texture_processing.h b/src/l2/marie/texture_processing.h index 7b8a1e8..c4c18a2 100644 --- a/src/l2/marie/texture_processing.h +++ b/src/l2/marie/texture_processing.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L2_MARIE_TEXTURE_PROCESSING_H -#define PROTOTYPE1_SRC_L2_MARIE_TEXTURE_PROCESSING_H +#pragma once #include "../../../gen/l1/pixel_masses.h" #include "rasterization.h" @@ -93,5 +92,3 @@ void TextureDataR8G8B8A8_triangle_set_color_cvec4(TextureDataR8G8B8A8* self, cve (FnMarieRasterizerCallback){.fn = TextureDataR8G8B8A8_draw_triangle_of_one_color_h_draw_guest, .guest = &aboba}); } - -#endif \ No newline at end of file diff --git a/src/l2/tests/r2/liza_collection.h b/src/l2/tests/r2/liza_collection.h index 5bd2f1e..dd86201 100644 --- a/src/l2/tests/r2/liza_collection.h +++ b/src/l2/tests/r2/liza_collection.h @@ -1,5 +1,4 @@ -#ifndef PROTOTYPE1_SRC_L2_TESTS_R2_LIZA_COLLECTION_H -#define PROTOTYPE1_SRC_L2_TESTS_R2_LIZA_COLLECTION_H +#pragma once #include "../../liza/instrument.h" @@ -280,6 +279,3 @@ BoxLizaInstrument BoxLizaInstrument_from_FMKeys(FMKeys obj) { memcpy(mem, &obj, sizeof(FMKeys)); return (BoxLizaInstrument){.r = mem, .t = &LizaInstrument_Table_FMKeys}; } - - -#endif \ No newline at end of file