1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Zend/zend_multibyte: include cleanup

This commit is contained in:
Max Kellermann
2023-01-04 21:15:08 +01:00
committed by George Peter Banyard
parent f377e15751
commit 588a07f737
2 changed files with 9 additions and 3 deletions

View File

@@ -17,10 +17,10 @@
+----------------------------------------------------------------------+
*/
#include "zend.h"
#include "zend_compile.h"
#include "zend_operators.h"
#include "zend_multibyte.h"
#include "zend_alloc.h"
#include "zend_globals.h" // for struct _zend_compiler_globals
#include "zend_globals_macros.h" // for LANG_SCNG()
#include "zend_ini.h"
static const zend_encoding *dummy_encoding_fetcher(const char *encoding_name)

View File

@@ -20,6 +20,12 @@
#ifndef ZEND_MULTIBYTE_H
#define ZEND_MULTIBYTE_H
#include "zend_portability.h" // for BEGIN_EXTERN_C
#include "zend_types.h" // for zend_result
#include <stdbool.h>
#include <stddef.h> // for size_t
typedef struct _zend_encoding zend_encoding;
typedef size_t (*zend_encoding_filter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length);