vec.cc (__cxa_vec_new): Set "C" linkage.

* vec.cc (__cxa_vec_new): Set "C" linkage.
	(__cxa_vec_ctor): Likewise.
	(__cxa_vec_cctor): Likewise.
	(__cxa_vec_dtor): Likewise.
	(__cxa_vec_delete): Likewise.
	* inc/cxxabi.h (__cxa_vec_new): Set "C" linkage.
	(__cxa_vec_ctor): Likewise.
	(__cxa_vec_cctor): Likewise.
	(__cxa_vec_dtor): Likewise.
	(__cxa_vec_delete): Likewise.

From-SVN: r35760
This commit is contained in:
Nathan Sidwell 2000-08-17 14:40:31 +00:00 committed by Nathan Sidwell
parent f1819d9a3d
commit 2f1b80afde
3 changed files with 23 additions and 10 deletions

View File

@ -1,3 +1,16 @@
2000-08-17 Nathan Sidwell <nathan@codesourcery.com>
* vec.cc (__cxa_vec_new): Set "C" linkage.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete): Likewise.
* inc/cxxabi.h (__cxa_vec_new): Set "C" linkage.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete): Likewise.
2000-08-17 Nathan Sidwell <nathan@codesourcery.com>
* class.c (instantiate_type): Reinstate local variable

View File

@ -430,7 +430,7 @@ void *__dynamic_cast (const void *__src_ptr, /* object started from */
/* array ctor/dtor routines */
/* allocate and construct array */
extern "C++"
extern "C"
void *__cxa_vec_new (__SIZE_TYPE__ __element_count,
__SIZE_TYPE__ __element_size,
__SIZE_TYPE__ __padding_size,
@ -438,14 +438,14 @@ void *__cxa_vec_new (__SIZE_TYPE__ __element_count,
void (*__destructor) (void *));
/* construct array */
extern "C++"
extern "C"
void __cxa_vec_ctor (void *__array_address,
__SIZE_TYPE__ __element_count,
__SIZE_TYPE__ __element_size,
void (*__constructor) (void *),
void (*__destructor) (void *));
extern "C++"
extern "C"
void __cxa_vec_cctor (void *dest_array,
void *src_array,
__SIZE_TYPE__ element_count,
@ -454,14 +454,14 @@ void __cxa_vec_cctor (void *dest_array,
void (*destructor) (void *));
/* destruct array */
extern "C++"
extern "C"
void __cxa_vec_dtor (void *__array_address,
__SIZE_TYPE__ __element_count,
__SIZE_TYPE__ __element_size,
void (*__destructor) (void *));
/* destruct and release array */
extern "C++"
extern "C"
void __cxa_vec_delete (void *__array_address,
__SIZE_TYPE__ __element_size,
__SIZE_TYPE__ __padding_size,

View File

@ -40,7 +40,7 @@ namespace __cxxabiv1
{
/* allocate and construct array */
extern "C++" void *
extern "C" void *
__cxa_vec_new (size_t element_count,
size_t element_size,
size_t padding_size,
@ -70,7 +70,7 @@ __cxa_vec_new (size_t element_count,
}
/* construct array */
extern "C++" void
extern "C" void
__cxa_vec_ctor (void *array_address,
size_t element_count,
size_t element_size,
@ -96,7 +96,7 @@ __cxa_vec_ctor (void *array_address,
/* construct an array by copying */
extern "C++" void
extern "C" void
__cxa_vec_cctor (void *dest_array,
void *src_array,
size_t element_count,
@ -124,7 +124,7 @@ __cxa_vec_cctor (void *dest_array,
}
/* destruct array */
extern "C++" void
extern "C" void
__cxa_vec_dtor (void *array_address,
size_t element_count,
size_t element_size,
@ -160,7 +160,7 @@ __cxa_vec_dtor (void *array_address,
}
/* destruct and release array */
extern "C++" void
extern "C" void
__cxa_vec_delete (void *array_address,
size_t element_size,
size_t padding_size,