support for wrapping overloaded functions?

18 views
Skip to first unread message

Geoffrey Irving

unread,
Apr 28, 2014, 7:00:02 PM4/28/14
to xdress
Do we have support for picking out one of a set of overloaded
functions to wrap? At the moment, I have the C++ declarations

string resource(const string& path);
string resource(const string& path0, const string& path1);
string resource(const string& path0, const string& path1, const
string& path2);

and I want to wrap just the first one of these.

Geoffrey

Anthony Scopatz

unread,
Apr 28, 2014, 7:48:15 PM4/28/14
to Geoffrey Irving, xdress
Hi Geoff, 

I think that you have to do this in a sidecar right now.  You'd override the function description to only include the signature you want.  There might be other methods for specifying filters such as this but we haven't implemented them. I am open to suggestions, as always.

Be Well
Anthony



Geoffrey

--
You received this message because you are subscribed to the Google Groups "xdress" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/xdress/CAJ1ofpcy4NztQWsqGy8RaaHTpj4t-gAqFmNvFh4jwRcNVTVG_g%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages