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 ... this is the QueryInterface guts of

  http://en.wikipedia.org/wiki/IUnknown

Me, I've always detested COM.  :(

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.

- Dave


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to