pkmnfrk 2010-04-07 16:28:17 -0700 (Wed, 07 Apr 2010) 814 Added a bunch of accessor functions to get things like doc->root or node->nextSib
Eventually, I plan to hide the guts of Doc and Node, so that external forces can't muck around in it, possibly changing state improperly. I've added support to do the hiding now by adding: #define RELOADHIDETYPES before the include. Reloadtest does this. Speaking of which, I fixed the display of timing in reloadtest, so that it will display values other than 0! Fun fact I learned while doing this: fbc cannot tell the difference between two forward-referencing pointers. Eg: TYPE forwardRef1 as Whatever ptr TYPE forwardRef2 as SomethingElse ptr Declare sub foo overload (a as forwardRef1) Declare sub foo (a as forwardRef2) dim j as forwardRef1 = 0 foo(j) This generates an error about ambiguous function calls! --- U wip/reload.bas U wip/reload.bi U wip/reloadtest.bas _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
