summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_alloc.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2016-01-21 12:59:23 +0100
committerAndrey Hristov <andrey@php.net>2016-01-21 12:59:23 +0100
commit64cb71cc8b7aef9c9600c1e4add4cabbdc16408b (patch)
treeeeb0044e0664071b4f0cc262a455fbbb6750432d /ext/mysqlnd/mysqlnd_alloc.h
parent4ed5b4cdf5055556e37119e511c0f3d45dcb4afc (diff)
downloadphp-git-64cb71cc8b7aef9c9600c1e4add4cabbdc16408b.tar.gz
Add missing macro
Diffstat (limited to 'ext/mysqlnd/mysqlnd_alloc.h')
-rw-r--r--ext/mysqlnd/mysqlnd_alloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_alloc.h b/ext/mysqlnd/mysqlnd_alloc.h
index 2ee33e00a3..85dfba5d09 100644
--- a/ext/mysqlnd/mysqlnd_alloc.h
+++ b/ext/mysqlnd/mysqlnd_alloc.h
@@ -61,6 +61,7 @@ PHPAPI extern struct st_mysqlnd_allocator_methods mysqlnd_allocator;
#define mnd_calloc(nmemb, size) mysqlnd_allocator.m_calloc((nmemb), (size) MYSQLND_MEM_C)
#define mnd_realloc(ptr, new_size) mysqlnd_allocator.m_realloc((ptr), (new_size) MYSQLND_MEM_C)
#define mnd_free(ptr) mysqlnd_allocator.m_free((ptr) MYSQLND_MEM_C)
+#define mnd_pememdup(ptr, size, pers) mysqlnd_allocator.m_pememdup((ptr), (size), (pers) MYSQLND_MEM_C)
#define mnd_pestrndup(ptr, size, pers) mysqlnd_allocator.m_pestrndup((ptr), (size), (pers) MYSQLND_MEM_C)
#define mnd_pestrdup(ptr, pers) mysqlnd_allocator.m_pestrdup((ptr), (pers) MYSQLND_MEM_C)
#define mnd_sprintf(p, mx_len, fmt,...) mysqlnd_allocator.m_sprintf((p), (mx_len), (fmt), __VA_ARGS__)