mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
declare random globals as public API
This commit is contained in:
@@ -319,6 +319,8 @@ ZEND_BEGIN_MODULE_GLOBALS(random)
|
||||
int random_fd;
|
||||
ZEND_END_MODULE_GLOBALS(random)
|
||||
|
||||
PHPAPI ZEND_EXTERN_MODULE_GLOBALS(random)
|
||||
|
||||
# define RANDOM_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(random, v)
|
||||
|
||||
#endif /* PHP_RANDOM_H */
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
#include "random_arginfo.h"
|
||||
|
||||
ZEND_DECLARE_MODULE_GLOBALS(random)
|
||||
PHPAPI ZEND_DECLARE_MODULE_GLOBALS(random)
|
||||
|
||||
PHPAPI zend_class_entry *random_ce_Random_Engine;
|
||||
PHPAPI zend_class_entry *random_ce_Random_CryptoSafeEngine;
|
||||
|
||||
Reference in New Issue
Block a user