Commit 2f01c452 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcp100: Remove unused thiscall functions.

parent f8350fc1
...@@ -98,8 +98,7 @@ void * __thiscall MSVCP_type_info_vector_dtor(type_info * _this, unsigned int fl ...@@ -98,8 +98,7 @@ void * __thiscall MSVCP_type_info_vector_dtor(type_info * _this, unsigned int fl
DEFINE_RTTI_DATA0( type_info, 0, ".?AVtype_info@@" ); DEFINE_RTTI_DATA0( type_info, 0, ".?AVtype_info@@" );
DEFINE_THISCALL_WRAPPER(MSVCP_exception_ctor, 8) static exception* MSVCP_exception_ctor(exception *this, const char **name)
exception* __thiscall MSVCP_exception_ctor(exception *this, const char **name)
{ {
TRACE("(%p %s)\n", this, *name); TRACE("(%p %s)\n", this, *name);
...@@ -189,8 +188,7 @@ static const cxx_exception_type exception_cxx_type = { ...@@ -189,8 +188,7 @@ static const cxx_exception_type exception_cxx_type = {
/* bad_alloc class data */ /* bad_alloc class data */
typedef exception bad_alloc; typedef exception bad_alloc;
DEFINE_THISCALL_WRAPPER(MSVCP_bad_alloc_ctor, 8) bad_alloc* MSVCP_bad_alloc_ctor(bad_alloc *this, const char **name)
bad_alloc* __thiscall MSVCP_bad_alloc_ctor(bad_alloc *this, const char **name)
{ {
TRACE("%p %s\n", this, *name); TRACE("%p %s\n", this, *name);
MSVCP_exception_ctor(this, name); MSVCP_exception_ctor(this, name);
...@@ -273,8 +271,7 @@ typedef struct _logic_error { ...@@ -273,8 +271,7 @@ typedef struct _logic_error {
basic_string_char str; basic_string_char str;
} logic_error; } logic_error;
DEFINE_THISCALL_WRAPPER(MSVCP_logic_error_ctor, 8) static logic_error* MSVCP_logic_error_ctor(
logic_error* __thiscall MSVCP_logic_error_ctor(
logic_error *this, const char **name) logic_error *this, const char **name)
{ {
TRACE("%p %s\n", this, *name); TRACE("%p %s\n", this, *name);
...@@ -361,8 +358,7 @@ static const cxx_exception_type logic_error_cxx_type = { ...@@ -361,8 +358,7 @@ static const cxx_exception_type logic_error_cxx_type = {
/* length_error class data */ /* length_error class data */
typedef logic_error length_error; typedef logic_error length_error;
DEFINE_THISCALL_WRAPPER(MSVCP_length_error_ctor, 8) static length_error* MSVCP_length_error_ctor(
length_error* __thiscall MSVCP_length_error_ctor(
length_error *this, const char **name) length_error *this, const char **name)
{ {
TRACE("%p %s\n", this, *name); TRACE("%p %s\n", this, *name);
...@@ -410,8 +406,7 @@ static const cxx_exception_type length_error_cxx_type = { ...@@ -410,8 +406,7 @@ static const cxx_exception_type length_error_cxx_type = {
/* out_of_range class data */ /* out_of_range class data */
typedef logic_error out_of_range; typedef logic_error out_of_range;
DEFINE_THISCALL_WRAPPER(MSVCP_out_of_range_ctor, 8) static out_of_range* MSVCP_out_of_range_ctor(
out_of_range* __thiscall MSVCP_out_of_range_ctor(
out_of_range *this, const char **name) out_of_range *this, const char **name)
{ {
TRACE("%p %s\n", this, *name); TRACE("%p %s\n", this, *name);
...@@ -459,8 +454,7 @@ static const cxx_exception_type out_of_range_cxx_type = { ...@@ -459,8 +454,7 @@ static const cxx_exception_type out_of_range_cxx_type = {
/* invalid_argument class data */ /* invalid_argument class data */
typedef logic_error invalid_argument; typedef logic_error invalid_argument;
DEFINE_THISCALL_WRAPPER(MSVCP_invalid_argument_ctor, 8) static invalid_argument* MSVCP_invalid_argument_ctor(
invalid_argument* __thiscall MSVCP_invalid_argument_ctor(
invalid_argument *this, const char **name) invalid_argument *this, const char **name)
{ {
TRACE("%p %s\n", this, *name); TRACE("%p %s\n", this, *name);
...@@ -511,8 +505,7 @@ typedef struct { ...@@ -511,8 +505,7 @@ typedef struct {
basic_string_char str; basic_string_char str;
} runtime_error; } runtime_error;
DEFINE_THISCALL_WRAPPER(MSVCP_runtime_error_ctor, 8) static runtime_error* MSVCP_runtime_error_ctor(
runtime_error* __thiscall MSVCP_runtime_error_ctor(
runtime_error *this, const char **name) runtime_error *this, const char **name)
{ {
TRACE("%p %s\n", this, *name); TRACE("%p %s\n", this, *name);
...@@ -599,8 +592,7 @@ static const cxx_exception_type runtime_error_cxx_type = { ...@@ -599,8 +592,7 @@ static const cxx_exception_type runtime_error_cxx_type = {
/* failure class data */ /* failure class data */
typedef runtime_error failure; typedef runtime_error failure;
DEFINE_THISCALL_WRAPPER(MSVCP_failure_ctor, 8) static failure* MSVCP_failure_ctor(
failure* __thiscall MSVCP_failure_ctor(
failure *this, const char **name) failure *this, const char **name)
{ {
TRACE("%p %s\n", this, *name); TRACE("%p %s\n", this, *name);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -801,15 +801,3 @@ BOOLEAN __cdecl std_numeric_limits_bool_signaling_NaN(void) { return 0; } ...@@ -801,15 +801,3 @@ BOOLEAN __cdecl std_numeric_limits_bool_signaling_NaN(void) { return 0; }
/* ?signaling_NaN@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::signaling_NaN(void) */ /* ?signaling_NaN@?$numeric_limits@_W@std@@SA_WXZ -> public: static wchar_t __cdecl std::numeric_limits<wchar_t>::signaling_NaN(void) */
WCHAR __cdecl std_numeric_limits_wchar_t_signaling_NaN(void) { return 0; } WCHAR __cdecl std_numeric_limits_wchar_t_signaling_NaN(void) { return 0; }
/* ??4?$_Ctraits@M@std@@QAEAAV01@ABV01@@Z -> public: class std::_Ctraits<float> & __thiscall std::_Ctraits<float>::operator=(class std::_Ctraits<float> const &) */
/* ??4?$_Ctraits@M@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::_Ctraits<float> & __ptr64 __cdecl std::_Ctraits<float>::operator=(class std::_Ctraits<float> const & __ptr64) __ptr64 */
/* ??4?$_Ctraits@N@std@@QAEAAV01@ABV01@@Z -> public: class std::_Ctraits<double> & __thiscall std::_Ctraits<double>::operator=(class std::_Ctraits<double> const &) */
/* ??4?$_Ctraits@N@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::_Ctraits<double> & __ptr64 __cdecl std::_Ctraits<double>::operator=(class std::_Ctraits<double> const & __ptr64) __ptr64 */
/* ??4?$_Ctraits@O@std@@QAEAAV01@ABV01@@Z -> public: class std::_Ctraits<long double> & __thiscall std::_Ctraits<long double>::operator=(class std::_Ctraits<long double> const &) */
/* ??4?$_Ctraits@O@std@@QEAAAEAV01@AEBV01@@Z -> public: class std::_Ctraits<long double> & __ptr64 __cdecl std::_Ctraits<long double>::operator=(class std::_Ctraits<long double> const & __ptr64) __ptr64 */
DEFINE_THISCALL_WRAPPER( std_Ctraits_op_assign, 8 )
std_Ctraits * __thiscall std_Ctraits_op_assign( std_Ctraits *this, std_Ctraits *right )
{
return this;
}
...@@ -48,15 +48,13 @@ typedef struct ...@@ -48,15 +48,13 @@ typedef struct
MSVCP_size_t res; MSVCP_size_t res;
} basic_string_char; } basic_string_char;
basic_string_char* __thiscall MSVCP_basic_string_char_ctor(basic_string_char*); basic_string_char* MSVCP_basic_string_char_ctor(basic_string_char*);
basic_string_char* __stdcall MSVCP_basic_string_char_ctor_cstr(basic_string_char*, const char*); basic_string_char* MSVCP_basic_string_char_ctor_cstr(basic_string_char*, const char*);
basic_string_char* __thiscall MSVCP_basic_string_char_ctor_cstr_len(basic_string_char*, const char*, MSVCP_size_t); basic_string_char* MSVCP_basic_string_char_ctor_cstr_len(basic_string_char*, const char*, MSVCP_size_t);
basic_string_char* __stdcall MSVCP_basic_string_char_copy_ctor(basic_string_char*, const basic_string_char*); basic_string_char* MSVCP_basic_string_char_copy_ctor(basic_string_char*, const basic_string_char*);
void __stdcall MSVCP_basic_string_char_dtor(basic_string_char*); void MSVCP_basic_string_char_dtor(basic_string_char*);
const char* __stdcall MSVCP_basic_string_char_c_str(const basic_string_char*); const char* MSVCP_basic_string_char_c_str(const basic_string_char*);
void __thiscall MSVCP_basic_string_char_clear(basic_string_char*); MSVCP_size_t MSVCP_basic_string_char_length(const basic_string_char*);
basic_string_char* __thiscall MSVCP_basic_string_char_append_ch(basic_string_char*, char);
MSVCP_size_t __thiscall MSVCP_basic_string_char_length(const basic_string_char*);
#define BUF_SIZE_WCHAR 8 #define BUF_SIZE_WCHAR 8
typedef struct typedef struct
...@@ -70,21 +68,19 @@ typedef struct ...@@ -70,21 +68,19 @@ typedef struct
MSVCP_size_t res; MSVCP_size_t res;
} basic_string_wchar; } basic_string_wchar;
basic_string_wchar* __thiscall MSVCP_basic_string_wchar_ctor(basic_string_wchar*); basic_string_wchar* MSVCP_basic_string_wchar_ctor(basic_string_wchar*);
basic_string_wchar* __stdcall MSVCP_basic_string_wchar_ctor_cstr(basic_string_wchar*, const wchar_t*); basic_string_wchar* MSVCP_basic_string_wchar_ctor_cstr(basic_string_wchar*, const wchar_t*);
basic_string_wchar* __thiscall MSVCP_basic_string_wchar_ctor_cstr_len(basic_string_wchar*, const wchar_t*, MSVCP_size_t); basic_string_wchar* MSVCP_basic_string_wchar_ctor_cstr_len(basic_string_wchar*, const wchar_t*, MSVCP_size_t);
void __thiscall MSVCP_basic_string_wchar_dtor(basic_string_wchar*); void MSVCP_basic_string_wchar_dtor(basic_string_wchar*);
const wchar_t* __thiscall MSVCP_basic_string_wchar_c_str(const basic_string_wchar*); const wchar_t* MSVCP_basic_string_wchar_c_str(const basic_string_wchar*);
void __thiscall MSVCP_basic_string_wchar_clear(basic_string_wchar*); MSVCP_size_t MSVCP_basic_string_wchar_length(const basic_string_wchar*);
basic_string_wchar* __thiscall MSVCP_basic_string_wchar_append_ch(basic_string_wchar*, wchar_t);
MSVCP_size_t __thiscall MSVCP_basic_string_wchar_length(const basic_string_wchar*); char* MSVCP_allocator_char_allocate(void*, MSVCP_size_t);
void MSVCP_allocator_char_deallocate(void*, char*, MSVCP_size_t);
char* __stdcall MSVCP_allocator_char_allocate(void*, MSVCP_size_t); MSVCP_size_t MSVCP_allocator_char_max_size(void*);
void __stdcall MSVCP_allocator_char_deallocate(void*, char*, MSVCP_size_t); wchar_t* MSVCP_allocator_wchar_allocate(void*, MSVCP_size_t);
MSVCP_size_t __stdcall MSVCP_allocator_char_max_size(void*); void MSVCP_allocator_wchar_deallocate(void*, wchar_t*, MSVCP_size_t);
wchar_t* __stdcall MSVCP_allocator_wchar_allocate(void*, MSVCP_size_t); MSVCP_size_t MSVCP_allocator_wchar_max_size(void*);
void __stdcall MSVCP_allocator_wchar_deallocate(void*, wchar_t*, MSVCP_size_t);
MSVCP_size_t __stdcall MSVCP_allocator_wchar_max_size(void*);
/* class locale::facet */ /* class locale::facet */
typedef struct { typedef struct {
...@@ -173,10 +169,10 @@ typedef struct ...@@ -173,10 +169,10 @@ typedef struct
struct _locale__Locimp *ptr; struct _locale__Locimp *ptr;
} locale; } locale;
locale* __thiscall locale_ctor(locale*); locale* locale_ctor(locale*);
locale* __thiscall locale_copy_ctor(locale*, const locale*); locale* locale_copy_ctor(locale*, const locale*);
locale* __thiscall locale_operator_assign(locale*, const locale*); locale* locale_operator_assign(locale*, const locale*);
void __thiscall locale_dtor(locale*); void locale_dtor(locale*);
void free_locale(void); void free_locale(void);
codecvt_char* codecvt_char_use_facet(const locale*); codecvt_char* codecvt_char_use_facet(const locale*);
codecvt_wchar* codecvt_wchar_use_facet(const locale*); codecvt_wchar* codecvt_wchar_use_facet(const locale*);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment