Skip to content

Commit c021f5a

Browse files
authored
add zend_memcpy
1 parent e6d57bf commit c021f5a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Zend/zend_string.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include "zend_types.h"
2323
#include "zend_gc.h"
2424
#include "zend_alloc.h"
25-
#include "zend_operators.h"
2625

2726
BEGIN_EXTERN_C()
2827

@@ -126,6 +125,10 @@ END_EXTERN_C()
126125

127126
#define ZSTR_INIT_LITERAL(s, persistent) (zend_string_init(("" s), sizeof(s) - 1, (persistent)))
128127

128+
#ifndef ZEND_STRING_H
129+
#define ZEND_STRING_H
130+
131+
static zend_always_inline void *zend_mempcpy(void *dest, const void *src, size_t n);
129132
/*---*/
130133

131134
static zend_always_inline zend_ulong zend_string_hash_val(zend_string *s)

0 commit comments

Comments
 (0)