On Wed, Oct 28, 2009 at 10:45 PM, David Brownell <[email protected]> wrote:
> On Tuesday 27 October 2009, Øyvind Harboe wrote:
>> int target->type->get_interface(int id, void **interface);
>>
>> The ID is a unique ID across OpenOCD. The interface can be
>> either a single fn pointer or a structure which contains a list
>> of fn pointers.
>
> You must like COM ...

Nope!

> this is the QueryInterface guts of
>
>  http://en.wikipedia.org/wiki/IUnknown
>
> Me, I've always detested COM.  :(

Me too :-)

I like having having resource tracking, exceptions and oo
available though... OpenOCD doesn't have that in it's vocabulary...

> I'll send a note in a bit with a simpler approach, which
> starts with cleanup/simplification and will help unearth
> any cases where we might actually need a framework for
> type mixins or whatever.

Looking forward to it!


-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to