commit 09316bb73982899ff590324c46a95d3b6aa9be4b
parent 1c18ee55753201ce117ea996e519ff6bd7e74225
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 2 Mar 2026 15:19:05 +0100
Name "DEFAULT" the gas creation constant
Use the DEFAULT suffix instead of the NULL suffix because this constant
actually sets default values, even if some of them are invalid.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/sgas.h b/src/sgas.h
@@ -38,9 +38,9 @@ struct sgas_create_args {
struct mem_allocator* allocator; /* NULL <=> default allocator */
int verbose; /* Verbosity level */
};
-#define SGAS_CREATE_ARGS_NULL__ {0}
-static const struct sgas_create_args SGAS_CREATE_ARGS_NULL =
- SGAS_CREATE_ARGS_NULL__;
+#define SGAS_CREATE_ARGS_DEFAULT__ {0}
+static const struct sgas_create_args SGAS_CREATE_ARGS_DEFAULT =
+ SGAS_CREATE_ARGS_DEFAULT__;
struct sgas_props {
double pressure; /* [Pa] */