-
Notifications
You must be signed in to change notification settings - Fork 2
/
zxing_write_result_class.h
43 lines (35 loc) · 1.04 KB
/
zxing_write_result_class.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
33
34
35
36
37
38
39
40
/*
* Author: shanliu <[email protected]>
*/
#ifdef __cplusplus
extern "C" {
#endif
#ifndef PHP_ZXING_WRITE_RESULT_CLASS_H
#define PHP_ZXING_WRITE_RESULT_CLASS_H
//write result
ZEND_BEGIN_ARG_INFO_EX(zxing_write_result_controller_arginfo, 0, 0, 1)
ZEND_ARG_INFO(0, res)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(zxing_write_result_set_color_arginfo, 0, 0,2)
ZEND_ARG_INFO(0, front_color)
ZEND_ARG_INFO(0, background_color)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(zxing_write_result_set_background_arginfo, 0, 0,1)
ZEND_ARG_INFO(0, image_obj)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(zxing_write_result_save_arginfo, 0, 0,2)
ZEND_ARG_INFO(0, type)
ZEND_ARG_INFO(0, filename)
ZEND_ARG_INFO(0, quality)
ZEND_ARG_INFO(0, zcontext)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(zxing_write_result_data_arginfo, 0, 0, 1)
ZEND_ARG_INFO(0, type)
ZEND_ARG_INFO(0, quality)
ZEND_END_ARG_INFO()
extern zend_class_entry *zxing_write_result_ce_ptr;
void zxing_write_result_class_init();
#endif
#ifdef __cplusplus
}
#endif