On Jan 26, 2007, at 7:10 PM, Stephen A. Cochran Lists wrote:
Form the archives, I believe I've figured out the format for
overloading a class defined in the plugin is as follows. I think
that each REALproc in the REALmethod definitions must have a
separate defined function name, ie they can't be overloaded since
the map can't judge by parameters which should be called.
REALmethodDefinition DNDClassMethods[] = {
{ (REALproc)Construct1, REALnoImplementation, "Constructor()",
REALconsoleSafe },
{ (REALproc)Construct2, REALnoImplementation, "Constructor(server
as String)", REALconsoleSafe },
{ (REALproc)Construct3, REALnoImplementation, "Constructor(server
as String, port as String)", REALconsoleSafe },
...
My question is when pre-declaring those functions, I'm unsure what
type they should return considering they are constructors. What
should replace the question marks in the line below? REALobject?
static ?? Construct3(REALobject instance, REALstring server,
REALstring port);
void ?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>