aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/survive.h
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2018-06-23 14:04:06 -0400
committercnlohr <lohr85@gmail.com>2018-06-23 14:04:06 -0400
commitcb06bbdba6cefc042f32985000f1ef03aafdb9a9 (patch)
tree7082aec6c8e37ee47970aa7f4b019f44e79e37cd /include/libsurvive/survive.h
parent9291b950c5508513ea261059229e19760c050a47 (diff)
downloadlibsurvive-cb06bbdba6cefc042f32985000f1ef03aafdb9a9.tar.gz
libsurvive-cb06bbdba6cefc042f32985000f1ef03aafdb9a9.tar.bz2
Fix config in master.
Diffstat (limited to 'include/libsurvive/survive.h')
-rw-r--r--include/libsurvive/survive.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h
index d6b43ef..ed439cb 100644
--- a/include/libsurvive/survive.h
+++ b/include/libsurvive/survive.h
@@ -286,7 +286,10 @@ SURVIVE_EXPORT int survive_send_magic(SurviveContext *ctx, int magic_code, void
SURVIVE_EXPORT FLT survive_configf(SurviveContext *ctx, const char *tag, char flags, FLT def);
SURVIVE_EXPORT uint32_t survive_configi(SurviveContext *ctx, const char *tag, char flags, uint32_t def);
SURVIVE_EXPORT const char *survive_configs(SurviveContext *ctx, const char *tag, char flags, const char *def);
-SURVIVE_EXPORT void survive_attach_config(SurviveContext *ctx, const char *tag, void * var, char type );
+
+SURVIVE_EXPORT void survive_attach_configi(SurviveContext *ctx, const char *tag, int * var );
+SURVIVE_EXPORT void survive_attach_configf(SurviveContext *ctx, const char *tag, FLT * var );
+SURVIVE_EXPORT void survive_attach_configs(SurviveContext *ctx, const char *tag, char * var );
SURVIVE_EXPORT void survive_detach_config(SurviveContext *ctx, const char *tag, void * var );
#define STATIC_CONFIG_ITEM( variable, name, type, description, default_value ) \