Blender V5.0
LibWeakRefKey Struct Reference

Public Member Functions

 LibWeakRefKey (const char *lib_path, const char *id_name)
uint64_t hash () const

Public Attributes

char filepath [FILE_MAX]
char id_name [MAX_ID_NAME]

Friends

bool operator== (const LibWeakRefKey &a, const LibWeakRefKey &b)

Detailed Description

Definition at line 638 of file main.cc.

Constructor & Destructor Documentation

◆ LibWeakRefKey()

LibWeakRefKey::LibWeakRefKey ( const char * lib_path,
const char * id_name )
inline

Definition at line 642 of file main.cc.

References id_name, and STRNCPY().

Referenced by operator==.

Member Function Documentation

◆ hash()

uint64_t LibWeakRefKey::hash ( ) const
inline

Definition at line 653 of file main.cc.

References blender::get_default_hash().

◆ operator==

bool operator== ( const LibWeakRefKey & a,
const LibWeakRefKey & b )
friend

Definition at line 648 of file main.cc.

References b, filepath, id_name, LibWeakRefKey(), and STREQ.

Member Data Documentation

◆ filepath

char LibWeakRefKey::filepath[FILE_MAX]

Definition at line 639 of file main.cc.

Referenced by operator==.

◆ id_name

char LibWeakRefKey::id_name[MAX_ID_NAME]

Definition at line 640 of file main.cc.

Referenced by LibWeakRefKey(), and operator==.


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