[Devel] uri-map: what is the `map` parameter for?

Gabriel Beddingfield gabrbedd at gmail.com
Mon Jul 18 14:46:27 PDT 2011

On Mon, Jul 18, 2011 at 4:35 PM, David Robillard <d at drobilla.net> wrote:
> Basically an extremely stupid solution whose only purpose was to make
> the type field of the event structure uint16_t.

I'm not sure how this is accomplishing this.  Seems to me like a
16-bit integer is plenty big for a run-time URI registery.

> The best thing, in the long run, would be to replace the event and
> uri-map extensions to resolve this.  Well, uri-map could be updated to
> just deprecate the map parameter at least, but event has to go.  That's
> going to piss some people off and cause a lot of bad PR, though.

I don't see why events depends on this.  Perhaps some implementations
of events, yes... but the extension iteself looks fine to me.
Deprecating the `map` parameter should be sufficient... even if you
have to say "but for use with the events extension, you must pass the
events extension URI as the `map` parameter" or some such thing.


More information about the Devel mailing list