> -----Original Message----- > From: Dmitry Yemanov [mailto:firebi...@yandex.ru] > Sent: Sábado, 11 de Febrero de 2012 2:43 > > 11.02.2012 3:19, Adriano dos Santos Fernandes wrote: > > > Do not think it must be in bid. They must be static in blb IMO. > > Agreed.
Ok, they are inside blb now. I have a little mess because I made several data members private, but I was hesitant to reorder them, so I have several private and public sections. Looking at the supposed order in which the datatypes were put, it seems we have first the pointers, then the USHORTs, then the ULONGs and finally the size_t's (there are some exceptions, but this is the general order). Example: private: Attachment* blb_attachment; // database attachment .... USHORT blb_pointers; // Max pointer on a page .... public: USHORT blb_max_segment; // Longest segment .... private: USHORT blb_pg_space_id; // page space ULONG blb_sequence; // Blob page sequence <more ULONGs> public: ULONG blb_length; // Total length of data sans segments private: ULONG blb_temp_id; // ID of newly created blob in transaction Maybe this order is only a coincidence and I should merge all the private parts. At least now it's clear that a lot of data members are private to blb. C. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel