com php-src: Add missing macro: ext/mysqlnd/mysqlnd_alloc.h
| From: | Andrey Hristov | Date: | Thu, 21 Jan 2016 11:59:23 +0000 |
| Subject: | com php-src: Add missing macro: ext/mysqlnd/mysqlnd_alloc.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90719@lists.php.net to get a copy of this message | ||
Commit: 64cb71cc8b7aef9c9600c1e4add4cabbdc16408b
Author: Andrey Hristov <andrey@php.net> Thu, 21 Jan 2016 12:59:23 +0100
Parents: 4ed5b4cdf5055556e37119e511c0f3d45dcb4afc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=64cb71cc8b7aef9c9600c1e4add4cabbdc16408b
Log:
Add missing macro
Changed paths:
M ext/mysqlnd/mysqlnd_alloc.h
Diff:
diff --git a/ext/mysqlnd/mysqlnd_alloc.h b/ext/mysqlnd/mysqlnd_alloc.h
index 2ee33e0..85dfba5 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__)