fix naming?

v1
Brett 2024-09-08 20:15:17 -04:00
parent cd9ec507d6
commit 0869509c6a
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake)
set(BLT_VERSION 0.20.2)
set(BLT_VERSION 0.20.3)
set(BLT_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT)

View File

@ -30,7 +30,7 @@ namespace blt
TYPE& get_##NAME() { return NAME; } \
const TYPE& get_##NAME() const { return NAME; }
#define BLT_INTERNAL_MAKE_GETTER(TYPE, NAME) \
#define BLT_INTERNAL_MAKE_SETTER(TYPE, NAME) \
auto& set_##NAME(const TYPE& new_##NAME) \
{ \
NAME = new_##NAME; \
@ -52,7 +52,7 @@ namespace blt
private: \
BLT_MAKE_VARIABLE(TYPE, NAME) \
public: \
BLT_INTERNAL_MAKE_GETTER(TYPE, NAME)
BLT_INTERNAL_MAKE_SETTER(TYPE, NAME)
#define BLT_MAKE_FRIEND(FRIEND) friend FRIEND;
@ -66,7 +66,7 @@ namespace blt
BLT_MAKE_VARIABLE(TYPE, NAME) \
public: \
BLT_INTERNAL_MAKE_GETTER(TYPE, NAME) \
BLT_INTERNAL_MAKE_GETTER(TYPE, NAME)
BLT_INTERNAL_MAKE_SETTER(TYPE, NAME)
#define BLT_MAKE_CONFIG_TYPE(OBJECT, ...) \
class OBJECT { \

@ -1 +1 @@
Subproject commit d88c5e15079047777b418132ece5879e7c9aaa2b
Subproject commit 8a889d3699b3c09ade435641fb034427f3fd12b6