fixed cpp guard

This commit is contained in:
2026-01-09 05:52:38 +05:00
parent de88e9ff16
commit 4cfed24ec3
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#pragma once #pragma once
#if __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@@ -142,6 +142,6 @@ typedef void (*Destructor_t)(void* self);
CODE; \ CODE; \
PRAGMA_WARNING_POP PRAGMA_WARNING_POP
#if __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@@ -1,6 +1,6 @@
#pragma once #pragma once
#if __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@@ -70,6 +70,6 @@ USAGE:
#define DT_expand(dt) dt.d.year, dt.d.month, dt.d.month_day, dt.t.hour, dt.t.min, dt.t.sec #define DT_expand(dt) dt.d.year, dt.d.month, dt.d.month_day, dt.t.hour, dt.t.min, dt.t.sec
#define DT_expand_subsec(dt) dt.d.year, dt.d.month, dt.d.month_day, dt.t.hour, dt.t.min, dt.t.sec, dt.t.nsec #define DT_expand_subsec(dt) dt.d.year, dt.d.month, dt.d.month_day, dt.t.hour, dt.t.min, dt.t.sec, dt.t.nsec
#if __cplusplus #ifdef __cplusplus
} }
#endif #endif