LiVES  3.2.0
Macros | Functions | Variables
lsd-tab.c File Reference
#include "main.h"
#include "lsd.h"

Go to the source code of this file.

Macros

#define CREATOR_ID   "Created in LiVES main"
 
#define CHECK_VERBOSE   0
 
#define errprint(...)
 

Functions

const lives_struct_def_tget_lsd (lives_struct_type st_type)
 
void * struct_from_template (lives_struct_type st_type)
 
LIVES_GLOBAL_INLINE void * copy_struct (lives_struct_def_t *lsd)
 
LIVES_GLOBAL_INLINE void unref_struct (lives_struct_def_t *lsd)
 
LIVES_GLOBAL_INLINE void ref_struct (lives_struct_def_t *lsd)
 
LIVES_GLOBAL_INLINE const char * lives_struct_get_creator (lives_struct_def_t *lsd)
 
LIVES_GLOBAL_INLINE boolean lives_structs_equal (lives_struct_def_t *lsd, lives_struct_def_t *other)
 
LIVES_GLOBAL_INLINE boolean lives_struct_is_a (lives_struct_def_t *lsd, const char *st_type)
 
LIVES_GLOBAL_INLINE boolean lives_structs_same_type (lives_struct_def_t *lsd, lives_struct_def_t *other)
 
uint64_t lsd_check_struct (lives_struct_def_t *lsd)
 
uint64_t lsd_check_match (lives_struct_def_t *lsd1, lives_struct_def_t *lsd2)
 
char * weed_plant_to_header (weed_plant_t *plant, const char *tname)
 bonus functions More...
 

Variables

boolean tab_inited = FALSE
 

Macro Definition Documentation

◆ CHECK_VERBOSE

#define CHECK_VERBOSE   0

Definition at line 124 of file lsd-tab.c.

◆ CREATOR_ID

#define CREATOR_ID   "Created in LiVES main"

Definition at line 13 of file lsd-tab.c.

◆ errprint

#define errprint (   ...)

Definition at line 128 of file lsd-tab.c.

Function Documentation

◆ copy_struct()

LIVES_GLOBAL_INLINE void* copy_struct ( lives_struct_def_t lsd)

Definition at line 83 of file lsd-tab.c.

◆ get_lsd()

const lives_struct_def_t* get_lsd ( lives_struct_type  st_type)

Definition at line 23 of file lsd-tab.c.

Referenced by struct_from_template().

◆ lives_struct_get_creator()

LIVES_GLOBAL_INLINE const char* lives_struct_get_creator ( lives_struct_def_t lsd)

Definition at line 99 of file lsd-tab.c.

◆ lives_struct_is_a()

LIVES_GLOBAL_INLINE boolean lives_struct_is_a ( lives_struct_def_t lsd,
const char *  st_type 
)

Definition at line 111 of file lsd-tab.c.

Referenced by lives_structs_same_type().

◆ lives_structs_equal()

LIVES_GLOBAL_INLINE boolean lives_structs_equal ( lives_struct_def_t lsd,
lives_struct_def_t other 
)

Definition at line 105 of file lsd-tab.c.

◆ lives_structs_same_type()

LIVES_GLOBAL_INLINE boolean lives_structs_same_type ( lives_struct_def_t lsd,
lives_struct_def_t other 
)

Definition at line 117 of file lsd-tab.c.

Referenced by lsd_check_match().

◆ lsd_check_match()

uint64_t lsd_check_match ( lives_struct_def_t lsd1,
lives_struct_def_t lsd2 
)

TODO - check special_fields and self_fields

Definition at line 174 of file lsd-tab.c.

◆ lsd_check_struct()

uint64_t lsd_check_struct ( lives_struct_def_t lsd)

Definition at line 131 of file lsd-tab.c.

◆ ref_struct()

LIVES_GLOBAL_INLINE void ref_struct ( lives_struct_def_t lsd)

Definition at line 94 of file lsd-tab.c.

◆ struct_from_template()

void* struct_from_template ( lives_struct_type  st_type)

Definition at line 76 of file lsd-tab.c.

Referenced by _item_to_file_details(), and reload_clip().

◆ unref_struct()

LIVES_GLOBAL_INLINE void unref_struct ( lives_struct_def_t lsd)

Definition at line 89 of file lsd-tab.c.

Referenced by reload_clip().

◆ weed_plant_to_header()

char* weed_plant_to_header ( weed_plant_t *  plant,
const char *  tname 
)

bonus functions

Definition at line 222 of file lsd-tab.c.

Variable Documentation

◆ tab_inited

boolean tab_inited = FALSE

Definition at line 16 of file lsd-tab.c.

Referenced by get_lsd().