Blender V5.0
DNA_print.hh File Reference
#include <cstdint>
#include <iosfwd>
#include "DNA_sdna_type_ids.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::dna

Macros

#define DNA_print_struct(struct_name, data_ptr)

Functions

void blender::dna::print_structs_at_address (const SDNA &sdna, int struct_id, const void *data, const void *address, int64_t element_num, std::ostream &stream)
void blender::dna::print_struct_by_id (int struct_id, const void *data)

Macro Definition Documentation

◆ DNA_print_struct

#define DNA_print_struct ( struct_name,
data_ptr )
Value:
void print_struct_by_id(int struct_id, const void *data)
int sdna_struct_id_get()

Prints all members of the struct to stdout.

Usage: DNA_print_struct(bNode, node);

Definition at line 48 of file DNA_print.hh.