//
// GTParaInApi.h
// GTKit
//
// Created on 13-2-21.
// Copyright ©[Insert Year of First Publication] - 2014 Tencent.All Rights Reserved. This software is licensed under the terms in the LICENSE.TXT file that accompanies this software.
//
#ifdef __OBJC__
#im
port "GTParaInApiForOC.h"
#endif
#ifdef GT_DEBUG_DISABLE
//------------------------ DISABLE GT BEGIN ----------------------------
#define GT_IN_REGISTER(key,alias,value)
#define GT_IN_REGISTER_ARRAY(key,alias,value, n)
#define GT_IN_SET(key, writeToLog, value)
#define GT_IN_GET_BOOL(key, writeToLog, value)
#define GT_IN_GET_INT(key, writeToLog, value)
#define GT_IN_GET_DOUBLE(key, writeToLog, value)
#define GT_IN_GET_FLOAT(key, writeToLog, value)
#define GT_IN_GET_STR(key, writeToLog, value)
#define GT_IN_DEFAULT_ON_AC(key1,key2,key3)
#define GT_IN_DEFAULT_ON_DISABLED(...)
#define GT_IN_DEFAULT_ALL_ON_DISABLED
//------------------------ DISABLE GT END ------------------------------
#else
#include <stdbool.h>
//------------------------ FOR C Language BEGIN ------------------------
#define GT_IN_REGISTER(key,alias,...) func_addInputForString(key,alias,__VA_ARGS__)
extern void func_addInputForString(co
nst char *key, co
nst char *alias, co
nst char *format,...);
#define GT_IN_REGISTER_ARRAY(key,alias,a,n) func_addInputForArrayStr(key,alias,a, n)
extern void func_addInputForArrayStr(co
nst char *key, co
nst char *alias, char* a[], int n);
#define GT_IN_SET(key, writeToLog, ...) func_setInputForString(key, writeToLog, __VA_ARGS__)
extern void func_setInputForString(co
nst char *key, bool writeToLog, co
nst char * format,...);
#define GT_IN_GET_BOOL(key, writeToLog, value) func_getInputForBool(key, writeToLog, value)
extern bool func_getInputForBool(co
nst char *key, bool writeToLog, bool value);
#define GT_IN_GET_INT(key, writeToLog, value) func_getInputForInt(key, writeToLog, value)
extern int func_getInputForInt(co
nst char *key, bool writeToLog, int value);
#define GT_IN_GET_DOUBLE(key, writeToLog, value) func_getInputForDouble(key, writeToLog, value)
extern double func_getInputForDouble(co
nst char *key, bool writeToLog, double value);
#define GT_IN_GET_FLOAT(key, writeToLog, value) func_getInputForFloat(key, writeToLog, value)
extern float func_getInputForFloat(co
nst char *key, bool writeToLog, float value);
#define GT_IN_GET_STR(key, writeToLog, value) func_getInputForString(key, writeToLog, value)