Blender V5.0
BHead Struct Reference

#include <BLO_core_bhead.hh>

Public Attributes

int code
int SDNAnr
const void * old
int64_t len
int64_t nr

Detailed Description

Definition at line 14 of file BLO_core_bhead.hh.

Member Data Documentation

◆ code

◆ len

◆ nr

int64_t BHead::nr

Number of structs in the array (1 for simple structs).

Definition at line 29 of file BLO_core_bhead.hh.

Referenced by bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), get_alloc_name(), read_struct(), write_bhead(), writedata(), and writestruct_at_address_nr().

◆ old

const void* BHead::old

Identifier the block had when it was written. This is used to remap memory blocks on load. Typically, this is the pointer that the memory had when it was written. This should be unique across the whole blend-file, except for BLEND_DATA blocks, which should be unique within a same ID.

Definition at line 25 of file BLO_core_bhead.hh.

Referenced by bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), find_bhead(), link_named_part(), read_data_into_datamap(), read_id_in_lib(), read_libblock(), read_libblock_undo_restore(), read_libblock_undo_restore_identical(), read_libblock_undo_restore_linked(), read_undo_move_libmain_data(), sort_bhead_old_map(), write_bhead(), writedata(), and writestruct_at_address_nr().

◆ SDNAnr

int BHead::SDNAnr

Identifier of the struct type that is stored in this block.

Definition at line 18 of file BLO_core_bhead.hh.

Referenced by bhead_from_bhead4(), bhead_from_large_bhead8(), bhead_from_small_bhead8(), get_alloc_name(), read_struct(), write_bhead(), writedata(), and writestruct_at_address_nr().


The documentation for this struct was generated from the following file: