-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpmta_common.h
50 lines (42 loc) · 1.24 KB
/
pmta_common.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
41
42
43
44
45
46
47
48
49
50
/**
* @file pmta_common.h
* @brief Common functions and data structures — declarations
* @date Sep 29, 2010 v0.1
* @date Jul 4, 2013 Major refactoring
* @author Vladimir Kolesnikov <[email protected]>
*/
#ifdef DOXYGEN
# undef PMTA_COMMON_H
#endif
#ifndef PMTA_COMMON_H
#define PMTA_COMMON_H
#include "php_pmta.h"
/**
* @brief Empty arginfo — for @c __clone(), @c __destruct()
*/
ZEND_BEGIN_ARG_INFO_EX(arginfo_empty, 0, 0, 0)
ZEND_END_ARG_INFO()
/**
* @c arginfo for @c __get() and @c __isset()
*/
ZEND_BEGIN_ARG_INFO_EX(arginfo_get, 0, 0, 1)
ZEND_ARG_INFO(0, property)
ZEND_END_ARG_INFO()
/**
* @brief arginfo for @c __set()
*/
ZEND_BEGIN_ARG_INFO_EX(arginfo_set, 0, 0, 2)
ZEND_ARG_INFO(0, property)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
/**
* @brief A do-nothing destructor
* @param ht Internally used by Zend (number of arguments)
* @param return_value Internally used by Zend (return value)
* @param return_value_ptr Internally used by Zend
* @param this_ptr Internally used by Zend (@c $this)
* @param return_value_used Internally used by Zend (whether the return value is used)
* @param tsrm_ls Internally used by Zend
*/
PHPPMTA_VISIBILITY_HIDDEN PHP_FUNCTION(empty_destructor);
#endif /* PMTA_COMMON_H */