php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_calendar.h
Go to the documentation of this file.
1#ifndef PHP_CALENDAR_H
2#define PHP_CALENDAR_H
3
5#define calendar_module_ptr &calendar_module_entry
6
7#include "php_version.h"
8#define PHP_CALENDAR_VERSION PHP_VERSION
9
10/* Functions */
11
12PHP_MINIT_FUNCTION(calendar);
13PHP_MINFO_FUNCTION(calendar);
14
15#define phpext_calendar_ptr calendar_module_ptr
16
17/*
18 * Specifying the easter calculation method
19 *
20 * DEFAULT is Anglican, ie. use Julian calendar before 1753
21 * and Gregorian after that. With ROMAN, the cutoff year is 1582.
22 * ALWAYS_GREGORIAN and ALWAYS_JULIAN force the calendar
23 * regardless of date.
24 *
25 */
26
27#define CAL_EASTER_DEFAULT 0
28#define CAL_EASTER_ROMAN 1
29#define CAL_EASTER_ALWAYS_GREGORIAN 2
30#define CAL_EASTER_ALWAYS_JULIAN 3
31
32#endif
zend_module_entry calendar_module_entry
Definition calendar.c:94
#define PHP_MINIT_FUNCTION
Definition php.h:400
#define PHP_MINFO_FUNCTION
Definition php.h:404
struct _zend_module_entry zend_module_entry