1) String constants are copied before returning, e.g.
*retstring = istrdup("atan2: must pass 2 arguments");
Why is this? It seems to work just as well todo
*retstring = "here is the return value";2) To indicate a successful call to a handler, it is doing
*retstring = (char *)calloc(1, 1);
What is the significance of the 1 byte? It seems returning NULL works just as well and it's one less function call to make.
Alex Rice, Software Developer Architectural Research Consultants, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED]
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
