/DriveThroughSafari.Touch/obj/iPhone/Ad-Hoc/mtouch-cache/registrar.m
https://bitbucket.org/blake_davidson/drivethroughsafari · Objective C · 1488 lines · 1433 code · 55 blank · 0 comment · 278 complexity · 81efeffcf94830d633ef1adf7c0c7841 MD5 · raw file
- #include <monotouch/monotouch.h>
- #include <objc/objc.h>
- #include <objc/runtime.h>
- #include <UIKit/UIKit.h>
- #include <CoreLocation/CoreLocation.h>
- #include <Foundation/Foundation.h>
- static MonoMethod *method_1 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIBarButtonItem_Callback__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_1)
- method_1 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_1));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_1, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_2 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIBarButtonItem_Callback_Call (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_2)
- method_2 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_2)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_2, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_2, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_3 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIControlEventProxy_Activated (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_3)
- method_3 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_3)));
- }
- mono_runtime_invoke (method_3, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_4 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_Foundation_NSAsyncActionDispatcher_Apply (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_4)
- method_4 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_4)));
- }
- mono_runtime_invoke (method_4, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_5 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_Foundation_NSActionDispatcher_Apply (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_5)
- method_5 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_5)));
- }
- mono_runtime_invoke (method_5, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_6 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_Foundation_NSObject_NSObject_Disposer__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_6)
- method_6 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_6));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_6, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_7 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_Foundation_NSObject_NSObject_Disposer_Drain (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_7)
- method_7 = get_method_for_selector ([this class], sel).method->method;
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_7, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_7, NULL, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_8 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIPickerViewModel__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_8)
- method_8 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_8));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_8, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_9 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIGestureRecognizer_Token__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_9)
- method_9 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_9));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_9, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_10 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIImageStatusDispatcher_Callback (id this, SEL sel, void * p0, void * p1, void * p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_10)
- method_10 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_10)));
- }
- void * a0 = p0;
- arg_ptrs [0] = &a0;
- void * a1 = p1;
- arg_ptrs [1] = &a1;
- void * a2 = p2;
- arg_ptrs [2] = &a2;
- mono_runtime_invoke (method_10, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_11 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_CoreLocation_CLLocationManagerDelegate__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_11)
- method_11 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_11));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_11, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_12 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Controls_SingleRowData_get_Image (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_12)
- method_12 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_12)));
- }
- void* retval = (void *) mono_runtime_invoke (method_12, mthis, arg_ptrs, NULL);
- void * res;
- if (!retval) {
- res = NULL;
- } else {
- char *str = mono_string_to_utf8 ((MonoString *) retval);
- NSString *nsstr = [[NSString alloc] initWithUTF8String:str];
- [nsstr autorelease];
- mono_free (str);
- res = nsstr;
- }
- return res;
- }
- static MonoMethod *method_13 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Controls_SingleRowData_set_Image (id this, SEL sel, NSString * p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_13)
- method_13 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_13)));
- }
- arg_ptrs [0] = p0 ? mono_string_new (mono_domain_get (), [p0 UTF8String]) : NULL;
- mono_runtime_invoke (method_13, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_14 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Controls_SingleRowData__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_14)
- method_14 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_14));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_14, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_15 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Views_PhotoInfo_get_ImagePath (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_15)
- method_15 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_15)));
- }
- void* retval = (void *) mono_runtime_invoke (method_15, mthis, arg_ptrs, NULL);
- void * res;
- if (!retval) {
- res = NULL;
- } else {
- char *str = mono_string_to_utf8 ((MonoString *) retval);
- NSString *nsstr = [[NSString alloc] initWithUTF8String:str];
- [nsstr autorelease];
- mono_free (str);
- res = nsstr;
- }
- return res;
- }
- static MonoMethod *method_16 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Views_PhotoInfo_set_ImagePath (id this, SEL sel, NSString * p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_16)
- method_16 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_16)));
- }
- arg_ptrs [0] = p0 ? mono_string_new (mono_domain_get (), [p0 UTF8String]) : NULL;
- mono_runtime_invoke (method_16, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_17 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Views_PhotoInfo_get_ThumbPath (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_17)
- method_17 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_17)));
- }
- void* retval = (void *) mono_runtime_invoke (method_17, mthis, arg_ptrs, NULL);
- void * res;
- if (!retval) {
- res = NULL;
- } else {
- char *str = mono_string_to_utf8 ((MonoString *) retval);
- NSString *nsstr = [[NSString alloc] initWithUTF8String:str];
- [nsstr autorelease];
- mono_free (str);
- res = nsstr;
- }
- return res;
- }
- static MonoMethod *method_18 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Views_PhotoInfo_set_ThumbPath (id this, SEL sel, NSString * p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_18)
- method_18 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_18)));
- }
- arg_ptrs [0] = p0 ? mono_string_new (mono_domain_get (), [p0 UTF8String]) : NULL;
- mono_runtime_invoke (method_18, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_19 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Views_PhotoInfo_get_IsVideo (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_19)
- method_19 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_19)));
- }
- void* retval = (void *) mono_runtime_invoke (method_19, mthis, arg_ptrs, NULL);
- void * res;
- res = *(void * *) mono_object_unbox (retval);
- return res;
- }
- static MonoMethod *method_20 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Views_PhotoInfo_set_IsVideo (id this, SEL sel, bool p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_20)
- method_20 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_20)));
- }
- arg_ptrs [0] = &p0;
- mono_runtime_invoke (method_20, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_21 = NULL;
- void *
- native_to_managed_trampoline_DriveThroughSafari_Touch_Views_PhotoInfo__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_21)
- method_21 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_21));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_21, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_22 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_Foundation_InternalNSNotificationHandler_Post (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_22)
- method_22 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_22)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_22, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_22, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_23 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Plugins_Location_Touch_MvxTouchGeoLocationWatcher_LocationDelegate_UpdatedHeading (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_23)
- method_23 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_23)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_23, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_23, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- mono_runtime_invoke (method_23, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_24 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Plugins_Location_Touch_MvxTouchGeoLocationWatcher_LocationDelegate_LocationsUpdated (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_24)
- method_24 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_24)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_24, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- if (p1) {
- NSArray *arr = (NSArray *) p1;
- MonoClass *e_class;
- MonoArray *marr;
- MonoType *p;
- int j;
- MonoType *p_class;
- p = monotouch_get_parameter_type (method_24, 1);
- e_class = mono_class_get_element_class (mono_class_from_mono_type (p));
- marr = mono_array_new (mono_domain_get (), e_class, [arr count]);
- for (j = 0; j < [arr count]; j++) {
- NSObject *nobj = [arr objectAtIndex: j];
- MonoObject *mobj1 = NULL;
- p_class = mono_class_get_type (e_class);
- if (nobj) {
- mobj1 = get_nsobject_with_type_for_ptr (nobj, false, p_class);
- }
- mono_array_set (marr, MonoObject *, j, mobj1);
- }
- arg_ptrs [1] = marr;
- } else {
- arg_ptrs [1] = NULL;
- }
- mono_runtime_invoke (method_24, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_25 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Plugins_Location_Touch_MvxTouchGeoLocationWatcher_LocationDelegate_Failed (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_25)
- method_25 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_25)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_25, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_25, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- mono_runtime_invoke (method_25, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_26 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Plugins_Location_Touch_MvxTouchGeoLocationWatcher_LocationDelegate_MonitoringFailed (id this, SEL sel, id p0, id p1, id p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_26)
- method_26 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_26)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_26, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_26, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- NSObject *nsobj2 = (NSObject *) p2;
- MonoObject *mobj2 = NULL;
- bool created2 = false;
- if (nsobj2) {
- mobj2 = get_nsobject_with_type_for_ptr_created (nsobj2, false, monotouch_get_parameter_type (method_26, 2), &created2);
- }
- arg_ptrs [2] = mobj2;
- mono_runtime_invoke (method_26, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_27 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Touch_Platform_MvxApplicationDelegate__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_27)
- method_27 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_27));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_27, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_28 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Touch_Platform_MvxApplicationDelegate_WillEnterForeground (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_28)
- method_28 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_28)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_28, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_28, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_29 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Touch_Platform_MvxApplicationDelegate_DidEnterBackground (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_29)
- method_29 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_29)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_29, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_29, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_30 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Touch_Platform_MvxApplicationDelegate_WillTerminate (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_30)
- method_30 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_30)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_30, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_30, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_31 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Touch_Platform_MvxApplicationDelegate_FinishedLaunching (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_31)
- method_31 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_31)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_31, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_31, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_32 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Dialog_Touch_Elements_SimplePickerElement_SimplePickerViewModel_GetComponentCount (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_32)
- method_32 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_32)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_32, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- void* retval = (void *) mono_runtime_invoke (method_32, mthis, arg_ptrs, NULL);
- void * res;
- res = *(void * *) mono_object_unbox (retval);
- return res;
- }
- static MonoMethod *method_33 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Dialog_Touch_Elements_SimplePickerElement_SimplePickerViewModel_GetRowsInComponent (id this, SEL sel, id p0, int p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_33)
- method_33 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_33)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_33, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- arg_ptrs [1] = &p1;
- void* retval = (void *) mono_runtime_invoke (method_33, mthis, arg_ptrs, NULL);
- void * res;
- res = *(void * *) mono_object_unbox (retval);
- return res;
- }
- static MonoMethod *method_34 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Dialog_Touch_Elements_SimplePickerElement_SimplePickerViewModel_GetTitle (id this, SEL sel, id p0, int p1, int p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_34)
- method_34 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_34)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_34, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- arg_ptrs [1] = &p1;
- arg_ptrs [2] = &p2;
- void* retval = (void *) mono_runtime_invoke (method_34, mthis, arg_ptrs, NULL);
- void * res;
- if (!retval) {
- res = NULL;
- } else {
- char *str = mono_string_to_utf8 ((MonoString *) retval);
- NSString *nsstr = [[NSString alloc] initWithUTF8String:str];
- [nsstr autorelease];
- mono_free (str);
- res = nsstr;
- }
- return res;
- }
- static MonoMethod *method_35 = NULL;
- float
- native_to_managed_trampoline_Cirrious_MvvmCross_Dialog_Touch_Elements_SimplePickerElement_SimplePickerViewModel_GetComponentWidth (id this, SEL sel, id p0, int p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_35)
- method_35 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_35)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_35, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- arg_ptrs [1] = &p1;
- void* retval = (void *) mono_runtime_invoke (method_35, mthis, arg_ptrs, NULL);
- float res;
- res = *(float *) mono_object_unbox (retval);
- return res;
- }
- static MonoMethod *method_36 = NULL;
- float
- native_to_managed_trampoline_Cirrious_MvvmCross_Dialog_Touch_Elements_SimplePickerElement_SimplePickerViewModel_GetRowHeight (id this, SEL sel, id p0, int p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_36)
- method_36 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_36)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_36, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- arg_ptrs [1] = &p1;
- void* retval = (void *) mono_runtime_invoke (method_36, mthis, arg_ptrs, NULL);
- float res;
- res = *(float *) mono_object_unbox (retval);
- return res;
- }
- static MonoMethod *method_37 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Dialog_Touch_Elements_SimplePickerElement_SimplePickerViewModel_Selected (id this, SEL sel, id p0, int p1, int p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_37)
- method_37 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_37)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_37, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- arg_ptrs [1] = &p1;
- arg_ptrs [2] = &p2;
- mono_runtime_invoke (method_37, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_38 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Plugins_Location_Touch_MvxTouchLocationWatcher_LocationDelegate_UpdatedHeading (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_38)
- method_38 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_38)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_38, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_38, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- mono_runtime_invoke (method_38, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_39 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Plugins_Location_Touch_MvxTouchLocationWatcher_LocationDelegate_LocationsUpdated (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_39)
- method_39 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_39)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_39, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- if (p1) {
- NSArray *arr = (NSArray *) p1;
- MonoClass *e_class;
- MonoArray *marr;
- MonoType *p;
- int j;
- MonoType *p_class;
- p = monotouch_get_parameter_type (method_39, 1);
- e_class = mono_class_get_element_class (mono_class_from_mono_type (p));
- marr = mono_array_new (mono_domain_get (), e_class, [arr count]);
- for (j = 0; j < [arr count]; j++) {
- NSObject *nobj = [arr objectAtIndex: j];
- MonoObject *mobj1 = NULL;
- p_class = mono_class_get_type (e_class);
- if (nobj) {
- mobj1 = get_nsobject_with_type_for_ptr (nobj, false, p_class);
- }
- mono_array_set (marr, MonoObject *, j, mobj1);
- }
- arg_ptrs [1] = marr;
- } else {
- arg_ptrs [1] = NULL;
- }
- mono_runtime_invoke (method_39, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_40 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Plugins_Location_Touch_MvxTouchLocationWatcher_LocationDelegate_Failed (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_40)
- method_40 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_40)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_40, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_40, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- mono_runtime_invoke (method_40, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_41 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Plugins_Location_Touch_MvxTouchLocationWatcher_LocationDelegate_MonitoringFailed (id this, SEL sel, id p0, id p1, id p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_41)
- method_41 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_41)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_41, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_41, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- NSObject *nsobj2 = (NSObject *) p2;
- MonoObject *mobj2 = NULL;
- bool created2 = false;
- if (nsobj2) {
- mobj2 = get_nsobject_with_type_for_ptr_created (nsobj2, false, monotouch_get_parameter_type (method_41, 2), &created2);
- }
- arg_ptrs [2] = mobj2;
- mono_runtime_invoke (method_41, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_42 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Binding_Touch_Views_MvxPickerViewModel_GetComponentCount (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_42)
- method_42 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_42)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_42, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- void* retval = (void *) mono_runtime_invoke (method_42, mthis, arg_ptrs, NULL);
- void * res;
- res = *(void * *) mono_object_unbox (retval);
- return res;
- }
- static MonoMethod *method_43 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Binding_Touch_Views_MvxPickerViewModel_GetRowsInComponent (id this, SEL sel, id p0, int p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_43)
- method_43 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_43)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_43, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- arg_ptrs [1] = &p1;
- void* retval = (void *) mono_runtime_invoke (method_43, mthis, arg_ptrs, NULL);
- void * res;
- res = *(void * *) mono_object_unbox (retval);
- return res;
- }
- static MonoMethod *method_44 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Binding_Touch_Views_MvxPickerViewModel_GetTitle (id this, SEL sel, id p0, int p1, int p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_44)
- method_44 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_44)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_44, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- arg_ptrs [1] = &p1;
- arg_ptrs [2] = &p2;
- void* retval = (void *) mono_runtime_invoke (method_44, mthis, arg_ptrs, NULL);
- void * res;
- if (!retval) {
- res = NULL;
- } else {
- char *str = mono_string_to_utf8 ((MonoString *) retval);
- NSString *nsstr = [[NSString alloc] initWithUTF8String:str];
- [nsstr autorelease];
- mono_free (str);
- res = nsstr;
- }
- return res;
- }
- static MonoMethod *method_45 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Binding_Touch_Views_MvxPickerViewModel_Selected (id this, SEL sel, id p0, int p1, int p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_45)
- method_45 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_45)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_45, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- arg_ptrs [1] = &p1;
- arg_ptrs [2] = &p2;
- mono_runtime_invoke (method_45, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_46 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UITableViewSource__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_46)
- method_46 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_46));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_46, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_47 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIWebView__UIWebViewDelegate__ctor (id this, SEL sel)
- {
- void *arg_ptrs [0];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (monotouch_try_get_nsobject (this))
- return this;
- if (!method_47)
- method_47 = get_method_for_selector ([this class], sel).method->method;
- int handle = (int) this;
- handle |= 1;
- mthis = mono_object_new (mono_domain_get (), mono_method_get_class (method_47));
- mono_field_set_value (mthis, monotouch_nsobject_handle_field, &handle);
- mono_runtime_invoke (method_47, mthis, arg_ptrs, NULL);
- monotouch_create_managed_ref (this, mthis, true);
- void *params[2];
- params[0] = mthis;
- params[1] = &this;
- mono_runtime_invoke (monotouch_register_nsobject, NULL, params, NULL);
- return this;
- }
- static MonoMethod *method_48 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIWebView__UIWebViewDelegate_ShouldStartLoad (id this, SEL sel, id p0, id p1, int p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_48)
- method_48 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_48)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_48, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_48, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- arg_ptrs [2] = &p2;
- void* retval = (void *) mono_runtime_invoke (method_48, mthis, arg_ptrs, NULL);
- void * res;
- res = *(void * *) mono_object_unbox (retval);
- return res;
- }
- static MonoMethod *method_49 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIWebView__UIWebViewDelegate_LoadStarted (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_49)
- method_49 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_49)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_49, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_49, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_50 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIWebView__UIWebViewDelegate_LoadingFinished (id this, SEL sel, id p0)
- {
- void *arg_ptrs [1];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_50)
- method_50 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_50)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_50, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- mono_runtime_invoke (method_50, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_51 = NULL;
- void *
- native_to_managed_trampoline_MonoTouch_UIKit_UIWebView__UIWebViewDelegate_LoadFailed (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_51)
- method_51 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_51)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_51, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_51, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- mono_runtime_invoke (method_51, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_52 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Binding_Touch_Views_MvxBaseCollectionViewSource_ItemSelected (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_52)
- method_52 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_52)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_52, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_52, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- mono_runtime_invoke (method_52, mthis, arg_ptrs, NULL);
- return NULL;
- }
- static MonoMethod *method_53 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Binding_Touch_Views_MvxBaseCollectionViewSource_GetCell (id this, SEL sel, id p0, id p1)
- {
- void *arg_ptrs [2];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_53)
- method_53 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_53)));
- }
- NSObject *nsobj0 = (NSObject *) p0;
- MonoObject *mobj0 = NULL;
- bool created0 = false;
- if (nsobj0) {
- mobj0 = get_nsobject_with_type_for_ptr_created (nsobj0, false, monotouch_get_parameter_type (method_53, 0), &created0);
- }
- arg_ptrs [0] = mobj0;
- NSObject *nsobj1 = (NSObject *) p1;
- MonoObject *mobj1 = NULL;
- bool created1 = false;
- if (nsobj1) {
- mobj1 = get_nsobject_with_type_for_ptr_created (nsobj1, false, monotouch_get_parameter_type (method_53, 1), &created1);
- }
- arg_ptrs [1] = mobj1;
- void* retval = (void *) mono_runtime_invoke (method_53, mthis, arg_ptrs, NULL);
- void * res;
- if (!retval) {
- res = NULL;
- } else {
- id retobj;
- mono_field_get_value (retval, monotouch_nsobject_handle_field, (void **) &retobj);
- [retobj retain];
- [retobj autorelease];
- res = retobj;
- }
- return res;
- }
- static MonoMethod *method_54 = NULL;
- void *
- native_to_managed_trampoline_Cirrious_MvvmCross_Binding_Touch_Views_MvxBaseCollectionViewSource_CellDisplayingEnded (id this, SEL sel, id p0, id p1, id p2)
- {
- void *arg_ptrs [3];
- MonoObject *mthis;
- if (mono_domain_get () == NULL)
- mono_jit_thread_attach (NULL);
- if (!method_54)
- method_54 = get_method_for_selector ([this class], sel).method->method;
- mthis = NULL;
- if (this) {
- mthis = get_nsobject_with_type_for_ptr (this, false, mono_class_get_type (mono_method_get_class (method_54)));
- }
- NSObject *nsobj0 =