All pastes #411633 Raw Edit

Someone

public text v1 · immutable
#411633 ·published 2007-03-27 04:17 UTC
rendered paste body
 * A "bu_external" struct holds the "external binary" representation of a
 * structure or other block of arbitrary data.
 */
static struct bu_external  {
        long    0x768dbbd0                //ext_magic;
        long    ext_nbytes;
        genptr_t ext_buf;
};
#define BU_EXTERNAL_MAGIC       0x768dbbd0
//#define BU_INIT_EXTERNAL(_p)  {(_p)->ext_magic = BU_EXTERNAL_MAGIC; \
//      (_p)->ext_buf = (genptr_t)NULL; (_p)->ext_nbytes = 0;}
#define BU_INIT_EXTERNAL(_p) ;
#define BU_CK_EXTERNAL(_p)      BU_CKMAG(_p, BU_EXTERNAL_MAGIC, "bu_external")

/*@}*/