diff options
author | Evan Huus <eapache@gmail.com> | 2013-06-18 19:01:01 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-06-18 19:01:01 +0000 |
commit | 881845a555373a70152eaed09f93745f92937990 (patch) | |
tree | 99dbc92210a638a40929b293ab8a0e05302b1b3d /epan/wmem/wmem_core.h | |
parent | 115eb9c72747b415b2f15cea8427ae293f5c8214 (diff) |
Scrap wmem_memdup, it's not actually as useful as I thought it would be.
svn path=/trunk/; revision=50009
Diffstat (limited to 'epan/wmem/wmem_core.h')
-rw-r--r-- | epan/wmem/wmem_core.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/epan/wmem/wmem_core.h b/epan/wmem/wmem_core.h index 1fdb7c24e5..7e9862a08c 100644 --- a/epan/wmem/wmem_core.h +++ b/epan/wmem/wmem_core.h @@ -135,18 +135,6 @@ void * wmem_realloc(wmem_allocator_t *allocator, void *ptr, const size_t size) G_GNUC_MALLOC; -/** Copies a block of memory. - * - * @param allocator The allocator object to use to allocate memory to copy into. - * @param source The pointer to the memory block to copy. - * @param size The amount of memory to copy. - * @return The location of the memory copy. - */ -WS_DLL_PUBLIC -void * -wmem_memdup(wmem_allocator_t *allocator, const void *source, const size_t size) -G_GNUC_MALLOC; - /** Frees all the memory allocated in a pool. Depending on the allocator * implementation used this can be significantly cheaper than calling * wmem_free() on all the individual blocks. It also doesn't require you to have |