[futurebasic] CF applier function

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2006 : Group Archive : Group : All Groups

From: Bernie <fb.mailing.list@...>
Date: Mon, 4 Dec 2006 08:23:15 +0000
Can someone show me what I've got wrong with this?  I suspect it's  
something to do with the ^applier, ^context lines:


//CF_EXPORT void  CFBinaryHeapApplyFunction(CFBinaryHeapRef heap,  
CFBinaryHeapApplierFunction applier, void *context);
local fn CFBinaryHeapApplyFunction( heap as CFBinaryHeapRef, applier  
as pointer, context as pointer )
beginassem
lwz    r12,^gCFBinaryHeapApplyFunction
mr     r3,^applier
mr     r4,^context
mtspr  ctr,r12
mr     r31,r2
bctrl
mr     r2,r31
endassem
end fn


TIA

Bernie