public unsafe virtual void BumpEvent (BumpEventBlock evt) { if (evt == null) throw new ArgumentNullException ("evt"); BlockLiteral *block_ptr_evt; BlockLiteral block_evt; block_evt = new BlockLiteral (); block_ptr_evt = &block_evt; block_evt.SetupBlock (static_InnerBumpEventBlock, evt); MonoTouch.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selBumpEventBlock_, (IntPtr) block_ptr_evt); block_ptr_evt->CleanupBlock (); }
public unsafe virtual void SetBumpEventBlock (BumpEventBlock bumpEventBlock) { if (bumpEventBlock == null) throw new ArgumentNullException ("bumpEventBlock"); BlockLiteral *block_ptr_bumpEventBlock; BlockLiteral block_bumpEventBlock; block_bumpEventBlock = new BlockLiteral (); block_ptr_bumpEventBlock = &block_bumpEventBlock; block_bumpEventBlock.SetupBlock (static_InnerBumpEventBlock, bumpEventBlock); MonoTouch.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetBumpEventBlock_, (IntPtr) block_ptr_bumpEventBlock); block_ptr_bumpEventBlock->CleanupBlock (); }