Skip to content

Instantly share code, notes, and snippets.

hiro128 TomohiroSuzuki128

Block or report user

Report or block TomohiroSuzuki128

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@TomohiroSuzuki128
TomohiroSuzuki128 / registrar.m
Created Dec 22, 2019
registrar.m (Xamarin.Forms)
View registrar.m
#include <xamarin/xamarin.h>
#include "registrar.h"
extern "C" {
static id native_to_managed_trampoline_1 (id self, SEL _cmd, MonoMethod **managed_method_ptr, bool* call_super, uint32_t token_ref)
{
uint8_t flags = NSObjectFlagsNativeRef;
guint32 exception_gchandle = 0;
MonoMethod *managed_method = *managed_method_ptr;
void *arg_ptrs [0];
MONO_ASSERT_GC_SAFE;
@TomohiroSuzuki128
TomohiroSuzuki128 / registrar.m
Last active Jan 4, 2020
registrar.m (Uno Platform)
View registrar.m
#include <xamarin/xamarin.h>
#include "registrar.h"
extern "C" {
static id native_to_managed_trampoline_1 (id self, SEL _cmd, MonoMethod **managed_method_ptr, bool* call_super, uint32_t token_ref)
{
uint8_t flags = NSObjectFlagsNativeRef;
guint32 exception_gchandle = 0;
MonoMethod *managed_method = *managed_method_ptr;
void *arg_ptrs [0];
MONO_ASSERT_GC_SAFE;
You can’t perform that action at this time.