> On Apr 13, 2014, at 1:40 PM, Ilie Denis <denisili...@gmail.com> wrote: > > Hi! The main thing that I am concerned are the next variables: > idb_magic,idb_major_type, idb_minor_type and idb_ptr. Until now I have some > idea about this, but I am not quite sure. idb_ptr=point trace ( form > generating point trace ), and idb_major_type, idb_minor_type might be a > clasification of the points, idb_magic must be a scope that validate the > data integrity (something like this: if( magic !=/== what must be magic) ).?
That's a bit more specific.. ;) idb_magic is just a special value, different for very object, used to validate that memory corruption has not occurred and that the object we are expecting is indeed that object type. The major and minor fields are the raw object identifiers that tell the low-level database layer what object is being serialized or deserialized when reading/writing objects to/from a .g file. None of rhos data types should generally get exposed to a user or calling application. Cheers! Sean ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel