forked from zhanglistar/DictParser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
builtin_handler.h
32 lines (26 loc) · 1.06 KB
/
builtin_handler.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/***************************************************************************
*
* Copyright (c) 2017 Baidu.com, Inc. All Rights Reserved
*
**************************************************************************/
/**
* @file parser.h
* @author chenming05([email protected])
* @date 2017/06/21 14:33:48
* @brief
*
**/
// handler declearation
#ifndef GOODCODER_CHENMING05_BUILTIN_HANDLER_H
#define GOODCODER_CHENMING05_BUILTIN_HANDLER_H
#include "dict_parser.h"
// builtin type handlers
ERR_CODE int_handler(void *dest, int *dest_size, const void *src, int src_len);
ERR_CODE float_handler(void *dest, int *dest_size, const void *src, int src_len);
ERR_CODE string_handler(void *dest, int *dest_size, const void *src, int src_len);
// builtin type array handlers
ERR_CODE int_array_handler(void *dest, int *dest_size, const void *src, int src_len);
ERR_CODE float_array_handler(void *dest, int *dest_size, const void *src, int src_len);
ERR_CODE string_array_handler(void *dest, int *dest_size, const void *src, int src_len);
#endif
/* vim: set ts=4 sw=4 sts=4 tw=100 */