[runtime] Remove Classic code. (#8722)

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
This commit is contained in:
monojenkins 2020-06-02 10:14:17 -04:00 коммит произвёл GitHub
Родитель 952037b7a3
Коммит b492f5a33e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 0 добавлений и 66 удалений

Просмотреть файл

@ -32,9 +32,6 @@ typedef float (*float_sendsuper) (struct objc_super *super, SEL sel);
typedef xm_nfloat_t (*nfloat_send) (id self, SEL sel);
typedef xm_nfloat_t (*nfloat_sendsuper) (struct objc_super *super, SEL sel);
float xamarin_float_objc_msgSend (id self, SEL sel);
float xamarin_float_objc_msgSendSuper (struct objc_super *super, SEL sel);
xm_nfloat_t xamarin_nfloat_objc_msgSend (id self, SEL sel);
xm_nfloat_t xamarin_nfloat_objc_msgSendSuper (struct objc_super *super, SEL sel);
@ -274,21 +271,6 @@ struct Vector3f xamarin_vector_float3__Vector3_objc_msgSendSuper_Vector3 (struc
CGPoint xamarin_CGPoint__VNNormalizedFaceBoundingBoxPointForLandmarkPoint_Vector2_CGRect_nuint_nuint_string (struct Vector2f faceLandmarkPoint, CGRect faceBoundingBox, xm_nuint_t imageWidth, xm_nuint_t imageHeight, const char **error_msg);
CGPoint xamarin_CGPoint__VNImagePointForFaceLandmarkPoint_Vector2_CGRect_nuint_nuint_string (struct Vector2f faceLandmarkPoint, CGRect faceBoundingBox, xm_nuint_t imageWidth, xm_nuint_t imageHeight, const char **error_msg);
#ifndef XAMCORE_2_0
#ifdef MONOMAC
void *monomac_IntPtr_objc_msgSend_IntPtr (id self, SEL sel, void *a);
void *monomac_IntPtr_objc_msgSendSuper_IntPtr (struct objc_super *super, SEL sel, void *a);
float monomac_float_objc_msgSend (id self, SEL sel);
float monomac_float_objc_msgSendSuper (struct objc_super *super, SEL sel);
xm_nfloat_t monomac_nfloat_objc_msgSend (id self, SEL sel);
xm_nfloat_t monomac_nfloat_objc_msgSendSuper (struct objc_super *super, SEL sel);
#endif
#ifdef MONOTOUCH
void * monotouch_IntPtr_objc_msgSend_IntPtr (id self, SEL sel, void *a);
void * monotouch_IntPtr_objc_msgSendSuper_IntPtr (struct objc_super *super, SEL sel, void *a);
#endif
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif

Просмотреть файл

@ -20,31 +20,6 @@
* https://bugzilla.xamarin.com/show_bug.cgi?id=11900
*/
float
xamarin_float_objc_msgSend (id self, SEL sel)
{
@try {
#if defined(__i386__)
return ((float_send) objc_msgSend_fpret) (self, sel);
#else
return ((float_send) objc_msgSend) (self, sel);
#endif
} @catch (NSException *e) {
xamarin_process_nsexception (e);
}
}
float
xamarin_float_objc_msgSendSuper (struct objc_super *super, SEL sel)
{
@try {
// there is no objc_msgSendSuper_fpret: http://lists.apple.com/archives/objc-language/2006/Jun/msg00012.html
return ((float_sendsuper) objc_msgSendSuper) (super, sel);
} @catch (NSException *e) {
xamarin_process_nsexception (e);
}
}
xm_nfloat_t
xamarin_nfloat_objc_msgSend (id self, SEL sel)
{
@ -70,25 +45,6 @@ xamarin_nfloat_objc_msgSendSuper (struct objc_super *super, SEL sel)
}
}
/*
* Compatibility wrappers.
*/
#ifndef XAMCORE_2_0
#ifdef MONOMAC
void *monomac_IntPtr_objc_msgSend_IntPtr (id self, SEL sel, void *a) { return xamarin_IntPtr_objc_msgSend_IntPtr (self, sel, a); }
void *monomac_IntPtr_objc_msgSendSuper_IntPtr (struct objc_super *super, SEL sel, void *a) { return xamarin_IntPtr_objc_msgSendSuper_IntPtr (super, sel, a); }
float monomac_float_objc_msgSend (id self, SEL sel) { return xamarin_float_objc_msgSend (self, sel); }
float monomac_float_objc_msgSendSuper (struct objc_super *super, SEL sel) { return xamarin_float_objc_msgSendSuper (super, sel); }
xm_nfloat_t monomac_nfloat_objc_msgSend (id self, SEL sel) { return xamarin_nfloat_objc_msgSend (self, sel); }
xm_nfloat_t monomac_nfloat_objc_msgSendSuper (struct objc_super *super, SEL sel) { return xamarin_nfloat_objc_msgSendSuper (super, sel); }
#endif
#ifdef MONOTOUCH
void * monotouch_IntPtr_objc_msgSend_IntPtr (id self, SEL sel, void *a) { return xamarin_IntPtr_objc_msgSend_IntPtr (self, sel, a); }
void * monotouch_IntPtr_objc_msgSendSuper_IntPtr (struct objc_super *super, SEL sel, void *a) { return xamarin_IntPtr_objc_msgSendSuper_IntPtr (super, sel, a); }
#endif
#endif
/*
* Vector c bindings
*

Просмотреть файл

@ -4080,10 +4080,6 @@ public class HandlerTest
switch (symbol) {
case "_xamarin_fix_ranlib_warning_about_no_symbols": // Dummy symbol to fix linker warning
case "_xamarin_fix_ranlib_warning_about_no_symbols_v2": // Dummy symbol to fix linker warning
case "_monotouch_IntPtr_objc_msgSendSuper_IntPtr": // Classic only, this function can probably be removed when we switch to binary copy of a Classic version of libxamarin.a
case "_monotouch_IntPtr_objc_msgSend_IntPtr": // Classic only, this function can probably be removed when we switch to binary copy of a Classic version of libxamarin.a
case "_xamarin_float_objc_msgSend": // Classic only, this function can probably be removed when we switch to binary copy of a Classic version of libxamarin.a
case "_xamarin_float_objc_msgSendSuper": // Classic only, this function can probably be removed when we switch to binary copy of a Classic version of libxamarin.a
case "_xamarin_nfloat_objc_msgSend": // XM only
case "_xamarin_nfloat_objc_msgSendSuper": // Xm only
continue;