nx_server_plugin_sdk 1.0 Server Plugin SDK

ini.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
5 #define NX_INI_FILE "test_c.ini"
6 #define NX_INI_STRUCT \
7 { \
8 NX_INI_FLAG(1, testFlag, "Test bool param."); \
9 NX_INI_INT(113, testInt, "Test int param"); \
10 NX_INI_STRING("defaultString", testString, "Test string param"); \
11 NX_INI_FLOAT(0.42f, testFloat, "Test float param"); \
12 }
13
14 #include <ini_config_c.h>
ini_config_c.h