Thread
:
Module: Vdf (key/value trees) - 1.07
View Single Post
commonbullet
Veteran Member
Join Date: Oct 2005
02-23-2007 , 11:51 Re: Module: Vdf trees
#
7
Thank you sawce for that linux build, I'll check how to do the auto load thing and update my source files (I was using sdk from amxx 1.75).
Very cool reading - thanks Bail, maybe in future it could support both parsing methods (in separate modules or not), just like i.e. xml's sax & dom libraries.
I'm trying to work out Rukia's point (if I understand what she meant).
The way it works right now, nodes are exposed in pawn as indexes of a pointer 'list'. When a function is called it checks if node is in pointer array index bounds before picking up the pointer.
If these 'nodes' in script were directly nodes objects addresses, how could I safely cast them? (it could happen that a coder would pass a wrong argument or accidentally change the variable and hl would crash; I guess this would be hard to debug)
Last edited by commonbullet; 03-04-2007 at
20:26
.
commonbullet
View Public Profile
Send a private message to commonbullet
Find More Posts by commonbullet