diff --git a/debug.h b/debug.h index 1095262..8297c68 100644 --- a/debug.h +++ b/debug.h @@ -1,5 +1,5 @@ -#ifndef _fencer_debug_h -#define _fencer_debug_h +#ifndef CUTES_DEBUG_H +#define CUTES_DEBUG_H #include #include @@ -66,4 +66,4 @@ extern int g_debug_log_lvl; }\ } while(0) -#endif // !_fencer_debug_h +#endif // !CUTES_DEBUG_H diff --git a/dictionary.h b/dictionary.h index 3c67068..724d11c 100644 --- a/dictionary.h +++ b/dictionary.h @@ -1,5 +1,5 @@ -#ifndef _fencer_hash_map_h -#define _fencer_hash_map_h +#ifndef CUTES_DICTIONARY_H +#define CUTES_DICTIONARY_H #include "list.h" @@ -43,4 +43,4 @@ dictionary_new(sizeof(Type_)) #define dictionary_get_value(Type_, Dict_, Key_)\ *((Type_*)dictionary_get_raw(Dict_, Key_)) -#endif // !_fencer_hash_map_h +#endif // !CUTES_DICTIONARY_H diff --git a/drop.h b/drop.h index 7b51877..c9fff22 100644 --- a/drop.h +++ b/drop.h @@ -1,5 +1,5 @@ -#ifndef _fencer_drop_h -#define _fencer_drop_h +#ifndef CUTES_DROP_H +#define CUTES_DROP_H #include "typeclass_helpers.h" @@ -30,4 +30,4 @@ Drop T##_as_Drop(T* x) {\ };\ return (Drop){.tc = &tc, .data = x};\ } -#endif // !_fencer_drop_h +#endif // !CUTES_DROP_H diff --git a/list.h b/list.h index 4fb79d0..a08dad5 100644 --- a/list.h +++ b/list.h @@ -1,5 +1,5 @@ -#ifndef _fencer_list_h -#define _fencer_list_h +#ifndef CUTES_LIST_H +#define CUTES_LIST_H #include "stddef.h" @@ -38,4 +38,4 @@ extern size_t list_contains(List* self, void* query); #define list_iterator_begin_as(T, __list) ((T*)(list_iterator_begin(__list))) -#endif // !_fencer_list_h +#endif // !CUTES_LIST_H diff --git a/mirror.h b/mirror.h index 398a454..5c07ede 100644 --- a/mirror.h +++ b/mirror.h @@ -1,5 +1,5 @@ -#ifndef _fencer_mirror_h -#define _fencer_mirror_h +#ifndef CUTES_MIRROR_H +#define CUTES_MIRROR_H #include "typeclass_helpers.h" #include "stdint.h" @@ -123,4 +123,4 @@ Dictionary* T##_get_typeclasses(T* self) {\ }\ impl_Mirror_for(T, T##_get_typestring, T##_get_typeid, T##_get_typeclasses) -#endif // !_fencer_mirror_h +#endif // !CUTES_MIRROR_H diff --git a/strutil.h b/strutil.h index ae8592a..b7b285c 100644 --- a/strutil.h +++ b/strutil.h @@ -1,5 +1,5 @@ -#ifndef _fencer_strutil_h -#define _fencer_strutil_h +#ifndef CUTES_STRUTIL_H +#define CUTES_STRUTIL_H #include "stdlib.h" #include "stdint.h" @@ -14,4 +14,4 @@ extern long strcount(const char* begin, const char* end, char search); extern long strfirst_pred(const char* begin, const char* end, CharPredFn pred); extern long strlast_pred(const char* rbegin, const char* rend, CharPredFn pred); -#endif // !_fencer_strutil_h +#endif // !CUTES_STRUTIL_H diff --git a/typeclass_helpers.h b/typeclass_helpers.h index 5f24513..1fca1a3 100644 --- a/typeclass_helpers.h +++ b/typeclass_helpers.h @@ -1,5 +1,5 @@ -#ifndef _fencer_typeclass_helpers_h -#define _fencer_typeclass_helpers_h +#ifndef CUTES_TYPECLASS_HELPERS_H +#define CUTES_TYPECLASS_HELPERS_H #define TC_FN_TYPECHECK(__Return, __Name, ...)\ __Return (*const __Name##_)(__VA_ARGS__) = __Name; (void)__Name##_ @@ -7,4 +7,4 @@ __Return (*const __Name##_)(__VA_ARGS__) = __Name; (void)__Name##_ #define decl_typeclass_impl(__Typeclass, __Type)\ extern __Typeclass __Type##_as_##__Typeclass(__Type*); -#endif // !_fencer_typeclass_helpers_h +#endif // !CUTES_TYPECLASS_HELPERS_H diff --git a/variant.h b/variant.h index ef3fce0..38154cc 100644 --- a/variant.h +++ b/variant.h @@ -1,5 +1,5 @@ -#ifndef _fencer_variant_h -#define _fencer_variant_h +#ifndef CUTES_VARIANT_H +#define CUTES_VARIANT_H #include "vmath.h" #include "mirror.h" @@ -33,4 +33,4 @@ extern void destroy_contained(Variant* self); #define StringVariant(Value_, BufSize_) (Variant){.type = Variant_String, .as_string = Value_, .string_size = BufSize_} #define UndefinedVariant() (Variant){.type = Variant_Undefined } -#endif // !_fencer_variant_h +#endif // !CUTES_VARIANT_H diff --git a/vmath.h b/vmath.h index 7c99083..c3f5d76 100644 --- a/vmath.h +++ b/vmath.h @@ -1,5 +1,5 @@ -#ifndef _fencer_vmath_h -#define _fencer_vmath_h +#ifndef CUTES_VMATH_H +#define CUTES_VMATH_H #include "stddef.h" #include @@ -178,4 +178,4 @@ IVector vmuli(IVector a, IVector b) { return (IVector){a.x * b.x, a.y * b.y}; } -#endif // !_fencer_vmath_h +#endif // !CUTES_VMATH_H