2010-07-22 09:40:19 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2010 Piotr Caban for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
|
|
#include "msvcp90.h"
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
2010-08-24 10:04:51 +02:00
|
|
|
|
2010-07-22 09:40:19 +02:00
|
|
|
|
|
|
|
/* ?address@?$allocator@D@std@@QBEPADAAD@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ?address@?$allocator@D@std@@QEBAPEADAEAD@Z */
|
2010-07-22 09:40:19 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_address, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
char* __thiscall MSVCP_allocator_char_address(void *this, char *ptr)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
return ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?address@?$allocator@D@std@@QBEPBDABD@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ?address@?$allocator@D@std@@QEBAPEBDAEBD@Z */
|
2010-07-22 09:40:19 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_const_address, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
const char* __thiscall MSVCP_allocator_char_const_address(void *this, const char *ptr)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
return ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??0?$allocator@D@std@@QAE@XZ */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ??0?$allocator@D@std@@QEAA@XZ */
|
2010-07-22 09:40:19 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_ctor, 4)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_char_ctor(void *this)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??0?$allocator@D@std@@QAE@ABV01@@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ??0?$allocator@D@std@@QEAA@AEBV01@@Z */
|
2010-07-22 09:40:19 +02:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_copy_ctor, 8)
|
2011-09-12 13:10:30 +02:00
|
|
|
void* __thiscall MSVCP_allocator_char_copy_ctor(void *this, const void *copy)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??4?$allocator@D@std@@QAEAAV01@ABV01@@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ??4?$allocator@D@std@@QEAAAEAV01@AEBV01@@Z */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_assign, 8)
|
2011-09-12 13:10:30 +02:00
|
|
|
void* __thiscall MSVCP_allocator_char_assign(void *this, const void *assign)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?deallocate@?$allocator@D@std@@QAEXPADI@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ?deallocate@?$allocator@D@std@@QEAAXPEAD_K@Z */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_deallocate, 12)
|
2011-05-27 14:56:18 +02:00
|
|
|
void __thiscall MSVCP_allocator_char_deallocate(void *this, char *ptr, MSVCP_size_t size)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
MSVCRT_operator_delete(ptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?allocate@?$allocator@D@std@@QAEPADI@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ?allocate@?$allocator@D@std@@QEAAPEAD_K@Z */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_allocate, 8)
|
2011-05-27 14:56:18 +02:00
|
|
|
char* __thiscall MSVCP_allocator_char_allocate(void *this, MSVCP_size_t count)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
return MSVCRT_operator_new(sizeof(char[count]));
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?allocate@?$allocator@D@std@@QAEPADIPBX@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ?allocate@?$allocator@D@std@@QEAAPEAD_KPEBX@Z */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_allocate_hint, 12)
|
2010-08-24 16:31:25 +02:00
|
|
|
char* __thiscall MSVCP_allocator_char_allocate_hint(void *this,
|
2011-05-27 14:56:18 +02:00
|
|
|
MSVCP_size_t count, const void *hint)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
/* Native ignores hint */
|
|
|
|
return MSVCP_allocator_char_allocate(this, count);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?construct@?$allocator@D@std@@QAEXPADABD@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ?construct@?$allocator@D@std@@QEAAXPEADAEBD@Z */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_construct, 12)
|
2010-08-24 16:31:25 +02:00
|
|
|
void __thiscall MSVCP_allocator_char_construct(void *this, char *ptr, const char *val)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
*ptr = *val;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?destroy@?$allocator@D@std@@QAEXPAD@Z */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ?destroy@?$allocator@D@std@@QEAAXPEAD@Z */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_destroy, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
void __thiscall MSVCP_allocator_char_destroy(void *this, char *ptr)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?max_size@?$allocator@D@std@@QBEIXZ */
|
2010-08-18 10:36:10 +02:00
|
|
|
/* ?max_size@?$allocator@D@std@@QEBA_KXZ */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_char_max_size, 4)
|
2011-05-27 14:56:18 +02:00
|
|
|
MSVCP_size_t __thiscall MSVCP_allocator_char_max_size(void *this)
|
2010-07-22 09:40:19 +02:00
|
|
|
{
|
|
|
|
return UINT_MAX/sizeof(char);
|
|
|
|
}
|
2010-08-19 12:15:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* allocator<wchar_t> */
|
|
|
|
/* ?address@?$allocator@_W@std@@QBEPA_WAA_W@Z */
|
|
|
|
/* ?address@?$allocator@_W@std@@QEBAPEA_WAEA_W@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_address, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
wchar_t* __thiscall MSVCP_allocator_wchar_address(void *this, wchar_t *ptr)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
return ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?address@?$allocator@_W@std@@QBEPB_WAB_W@Z */
|
|
|
|
/* ?address@?$allocator@_W@std@@QEBAPEB_WAEB_W@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_const_address, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
const wchar_t* __thiscall MSVCP_allocator_wchar_const_address(void *this, const wchar_t *ptr)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
return ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??0?$allocator@_W@std@@QAE@XZ */
|
|
|
|
/* ??0?$allocator@_W@std@@QEAA@XZ */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_ctor, 4)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_wchar_ctor(void *this)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??0?$allocator@_W@std@@QAE@ABV01@@Z */
|
|
|
|
/* ??0?$allocator@_W@std@@QEAA@AEBV01@@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_copy_ctor, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_wchar_copy_ctor(void *this, void *copy)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??4?$allocator@_W@std@@QAEAAV01@ABV01@@Z */
|
|
|
|
/* ??4?$allocator@_W@std@@QEAAAEAV01@AEBV01@@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_assign, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_wchar_assign(void *this, void *assign)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?deallocate@?$allocator@_W@std@@QAEXPA_WI@Z */
|
|
|
|
/* ?deallocate@?$allocator@_W@std@@QEAAXPEA_W_K@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_deallocate, 12)
|
2010-08-24 16:31:25 +02:00
|
|
|
void __thiscall MSVCP_allocator_wchar_deallocate(void *this,
|
2011-05-27 14:56:18 +02:00
|
|
|
wchar_t *ptr, MSVCP_size_t size)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
MSVCRT_operator_delete(ptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?allocate@?$allocator@_W@std@@QAEPA_WI@Z */
|
|
|
|
/* ?allocate@?$allocator@_W@std@@QEAAPEA_W_K@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_allocate, 8)
|
2011-05-27 14:56:18 +02:00
|
|
|
wchar_t* __thiscall MSVCP_allocator_wchar_allocate(void *this, MSVCP_size_t count)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
if(UINT_MAX/count < sizeof(wchar_t)) {
|
|
|
|
throw_exception(EXCEPTION_BAD_ALLOC, NULL);
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
return MSVCRT_operator_new(sizeof(wchar_t[count]));
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?allocate@?$allocator@_W@std@@QAEPA_WIPBX@Z */
|
|
|
|
/* ?allocate@?$allocator@_W@std@@QEAAPEA_W_KPEBX@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_allocate_hint, 12)
|
2010-08-24 16:31:25 +02:00
|
|
|
wchar_t* __thiscall MSVCP_allocator_wchar_allocate_hint(void *this,
|
2011-05-27 14:56:18 +02:00
|
|
|
MSVCP_size_t count, const void *hint)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
return MSVCP_allocator_wchar_allocate(this, count);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?construct@?$allocator@_W@std@@QAEXPA_WAB_W@Z */
|
|
|
|
/* ?construct@?$allocator@_W@std@@QEAAXPEA_WAEB_W@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_construct, 12)
|
2010-08-24 16:31:25 +02:00
|
|
|
void __thiscall MSVCP_allocator_wchar_construct(void *this,
|
2010-08-19 12:15:16 +02:00
|
|
|
wchar_t *ptr, const wchar_t *val)
|
|
|
|
{
|
|
|
|
*ptr = *val;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?destroy@?$allocator@_W@std@@QAEXPA_W@Z */
|
|
|
|
/* ?destroy@?$allocator@_W@std@@QEAAXPEA_W@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_destroy, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
void __thiscall MSVCP_allocator_wchar_destroy(void *this, char *ptr)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?max_size@?$allocator@_W@std@@QBEIXZ */
|
|
|
|
/* ?max_size@?$allocator@_W@std@@QEBA_KXZ */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_wchar_max_size, 4)
|
2011-05-27 14:56:18 +02:00
|
|
|
MSVCP_size_t __thiscall MSVCP_allocator_wchar_max_size(void *this)
|
2010-08-19 12:15:16 +02:00
|
|
|
{
|
|
|
|
return UINT_MAX/sizeof(wchar_t);
|
|
|
|
}
|
2010-08-19 12:15:38 +02:00
|
|
|
|
|
|
|
/* allocator<unsigned short> */
|
|
|
|
/* ?address@?$allocator@G@std@@QBEPAGAAG@Z */
|
|
|
|
/* ?address@?$allocator@G@std@@QEBAPEAGAEAG@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_address, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
unsigned short* __thiscall MSVCP_allocator_short_address(
|
2010-08-19 12:15:38 +02:00
|
|
|
void *this, unsigned short *ptr)
|
|
|
|
{
|
|
|
|
return ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?address@?$allocator@G@std@@QBEPBGABG@Z */
|
|
|
|
/* ?address@?$allocator@G@std@@QEBAPEBGAEBG@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_const_address, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
const unsigned short* __thiscall MSVCP_allocator_short_const_address(
|
2010-08-19 12:15:38 +02:00
|
|
|
void *this, const unsigned short *ptr)
|
|
|
|
{
|
|
|
|
return ptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??0?$allocator@G@std@@QAE@XZ */
|
|
|
|
/* ??0?$allocator@G@std@@QEAA@XZ */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_ctor, 4)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_short_ctor(void *this)
|
2010-08-19 12:15:38 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??0?$allocator@G@std@@QAE@ABV01@@Z */
|
|
|
|
/* ??0?$allocator@G@std@@QEAA@AEBV01@@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_copy_ctor, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_short_copy_ctor(void *this, void *copy)
|
2010-08-19 12:15:38 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??4?$allocator@G@std@@QAEAAV01@ABV01@@Z */
|
|
|
|
/* ??4?$allocator@G@std@@QEAAAEAV01@AEBV01@@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_assign, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_short_assign(void *this, void *assign)
|
2010-08-19 12:15:38 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?deallocate@?$allocator@G@std@@QAEXPAGI@Z */
|
|
|
|
/* ?deallocate@?$allocator@G@std@@QEAAXPEAG_K@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_deallocate, 12)
|
2010-08-24 16:31:25 +02:00
|
|
|
void __thiscall MSVCP_allocator_short_deallocate(void *this,
|
2011-05-27 14:56:18 +02:00
|
|
|
unsigned short *ptr, MSVCP_size_t size)
|
2010-08-19 12:15:38 +02:00
|
|
|
{
|
|
|
|
MSVCRT_operator_delete(ptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?allocate@?$allocator@G@std@@QAEPAGI@Z */
|
|
|
|
/* ?allocate@?$allocator@G@std@@QEAAPEAG_K@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_allocate, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
unsigned short* __thiscall MSVCP_allocator_short_allocate(
|
2011-05-27 14:56:18 +02:00
|
|
|
void *this, MSVCP_size_t count)
|
2010-08-19 12:15:38 +02:00
|
|
|
{
|
|
|
|
if(UINT_MAX/count < sizeof(unsigned short)) {
|
|
|
|
throw_exception(EXCEPTION_BAD_ALLOC, NULL);
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
return MSVCRT_operator_new(sizeof(unsigned short[count]));
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?allocate@?$allocator@G@std@@QAEPAGIPBX@Z */
|
|
|
|
/* ?allocate@?$allocator@G@std@@QEAAPEAG_KPEBX@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_allocate_hint, 12)
|
2010-08-24 16:31:25 +02:00
|
|
|
unsigned short* __thiscall MSVCP_allocator_short_allocate_hint(
|
2011-05-27 14:56:18 +02:00
|
|
|
void *this, MSVCP_size_t count, const void *hint)
|
2010-08-19 12:15:38 +02:00
|
|
|
{
|
|
|
|
return MSVCP_allocator_short_allocate(this, count);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?construct@?$allocator@G@std@@QAEXPAGABG@Z */
|
|
|
|
/* ?construct@?$allocator@G@std@@QEAAXPEAGAEBG@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_construct, 12)
|
2010-08-24 16:31:25 +02:00
|
|
|
void __thiscall MSVCP_allocator_short_construct(void *this,
|
2010-08-19 12:15:38 +02:00
|
|
|
unsigned short *ptr, unsigned short *val)
|
|
|
|
{
|
|
|
|
*ptr = *val;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?destroy@?$allocator@G@std@@QAEXPAG@Z */
|
|
|
|
/* ?destroy@?$allocator@G@std@@QEAAXPEAG@Z */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_destroy, 8)
|
2011-05-27 14:56:18 +02:00
|
|
|
void __thiscall MSVCP_allocator_short_destroy(void *this, MSVCP_size_t *ptr)
|
2010-08-19 12:15:38 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ?max_size@?$allocator@G@std@@QBEIXZ */
|
|
|
|
/* ?max_size@?$allocator@G@std@@QEBA_KXZ */
|
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_short_max_size, 4)
|
2011-05-27 14:56:18 +02:00
|
|
|
MSVCP_size_t __thiscall MSVCP_allocator_short_max_size(void *this)
|
2010-08-19 12:15:38 +02:00
|
|
|
{
|
|
|
|
return UINT_MAX/sizeof(unsigned short);
|
|
|
|
}
|
2010-08-19 12:15:51 +02:00
|
|
|
|
|
|
|
/* allocator<void> */
|
|
|
|
/* ??0?$allocator@X@std@@QAE@XZ */
|
|
|
|
/* ??0?$allocator@X@std@@QEAA@XZ */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_void_ctor, 4)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_void_ctor(void *this)
|
2010-08-19 12:15:51 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??0?$allocator@X@std@@QAE@ABV01@@Z */
|
|
|
|
/* ??0?$allocator@X@std@@QEAA@AEBV01@@Z */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_void_copy_ctor, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_void_copy_ctor(void *this, void *copy)
|
2010-08-19 12:15:51 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ??4?$allocator@X@std@@QAEAAV01@ABV01@@Z */
|
|
|
|
/* ??4?$allocator@X@std@@QEAAAEAV01@AEBV01@@Z */
|
2011-11-05 21:54:30 +01:00
|
|
|
DEFINE_THISCALL_WRAPPER(MSVCP_allocator_void_assign, 8)
|
2010-08-24 16:31:25 +02:00
|
|
|
void* __thiscall MSVCP_allocator_void_assign(void *this, void *assign)
|
2010-08-19 12:15:51 +02:00
|
|
|
{
|
|
|
|
return this;
|
|
|
|
}
|