[Webkit-unassigned] [Bug 27435] adding XMLHttpRequest send idl language gobject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 23 01:20:31 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27435





--- Comment #5 from Mark Rowe (bdash) <mrowe at apple.com>  2009-07-23 01:20:30 PDT ---
(In reply to comment #4)
> (In reply to comment #3)
> > (From update of attachment 33064 [details] [details])
> > I think this raises an important issue that needs to be considered: what is the
> > strategy for handling functions that use overloading based on number of
> > arguments or argument types in these bindings?  If this method is exposed as
> > API, how will the variants expecting no arguments or a Document be exposed? 
> > Due to the fact that DOM bindings are typically considered to API I think this
> > warrants discussion prior to this single method being selected.  The
> > maintainers of the GTK+ port would be good people to be involved in that.
> 
> Since the baseline language for the GObject bindings is C we'll have to create
> one function for each variant of the methods like this one, basically. Since
> this does not seem to be very common I think it's perfectly fine if we just
> hand-write that when it's needed (this kind of fix-up/glue when doing bindings
> is relatively common in my experience).

Ok.  It sounds like we'll need to come up with some means of dealing with these
overloaded functions.  I don't think it's appropriate to #if the IDL file to
expose only a single variant in this case given the potential of this showing
up as API, and thus limiting our options, before the issue is resolved.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list