![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "lua/types.h"
#include "common/darktable.h"
#include "common/file_location.h"
#include "control/control.h"
#include "lua/call.h"
#include <math.h>
#include <stdarg.h>
#include <string.h>
|
static |
Referenced by init_metatable().
|
static |
Referenced by init_metatable().
|
static |
References dt_lua_treated_pcall(), and key.
Referenced by init_metatable().
|
static |
Referenced by init_metatable().
|
static |
Referenced by init_metatable().
int dt_lua_init_early_types | ( | lua_State * | L | ) |
References gpointer_pushfunc(), gpointer_tofunc(), gpointer_wrapper(), and init_metatable().
Referenced by dt_lua_init_widget_type_type().
References init_metatable(), int_pushfunc(), and int_tofunc().
similar to dt_lua_init_type but creates a singleton type that is : a type who has only one instance (which is a void* pointer) returns the associated luaA_Type so it can be decorated push the single instance of the object on the stack
References init_metatable().
Referenced by dt_lua_init_call(), dt_lua_init_database(), dt_lua_init_film(), dt_lua_init_gui(), dt_lua_init_styles(), dt_lua_init_tags(), dt_lua_init_wrapped_singleton(), dt_lua_module_entry_new_singleton(), and dt_lua_module_new().
References full_pushfunc(), full_tofunc(), and init_metatable().
Referenced by register_storage().
luaA_Type dt_lua_init_wrapped_singleton | ( | lua_State * | L, |
lua_CFunction | pusher, | ||
lua_CFunction | getter, | ||
const char * | unique_name, | ||
void * | data | ||
) |
similar to dt_lua_init_singleton but the singleton has push and pop functions to save/restore the lua object called on
References dt_lua_init_singleton(), wrapped_index(), wrapped_newindex(), wrapped_pairs(), and wrapped_tostring().
Referenced by dt_lua_register_current_preset().
References dt_lua_typeisa_type().
Referenced by full_tofunc(), gpointer_tofunc(), and int_tofunc().
void dt_lua_type_gpointer_alias_type | ( | lua_State * | L, |
luaA_Type | type_id, | ||
void * | pointer, | ||
void * | alias | ||
) |
Referenced by get_widget_params().
drop a gpointer. Pushing the pointer again will create a new object. We can't guarantee when the original object will be GC, but it will point to NULL instead of its normal content. accessing it from the lua side will cause an error luaA_to will also raise an error NOTE : if the object had aliases, the aliases will return NULL too.
Referenced by _guides_draw_callback().
int dt_lua_type_member_common | ( | lua_State * | L | ) |
member function for common members. The common member must be the only upvalue of the function
Referenced by dt_lua_init_cairo(), dt_lua_init_call(), dt_lua_init_database(), dt_lua_init_early_format(), dt_lua_init_early_lib(), dt_lua_init_early_storage(), dt_lua_init_film(), dt_lua_init_gui(), dt_lua_init_image(), dt_lua_init_styles(), dt_lua_init_tags(), dt_lua_module_entry_new(), dt_lua_register_current_preset(), and init().
int dt_lua_type_member_luaautoc | ( | lua_State * | L | ) |
member function for luaautoc struct, will use luaautoc to push/pull content
Referenced by dt_imageio_load_module_format(), dt_imageio_load_module_storage(), and dt_lua_init_styles().
Referenced by dt_lua_init_database(), dt_lua_init_film(), dt_lua_init_styles(), and dt_lua_init_tags().
References dt_lua_type_register_const_type(), and dt_lua_type_register_type().
Referenced by dt_imageio_load_module_format(), and dt_imageio_load_module_storage().
References name.
Referenced by dt_lua_init_gui(), dt_lua_type_register_struct_type(), dt_lua_widget_register_gtk_callback_type(), init(), and init().
References dt_lua_typeisa_type().
Referenced by dt_lua_init_widget_type_type(), dt_lua_lib_register(), dt_lua_register_format_type(), dt_lua_register_storage_type(), and dt_lua_register_view().
References dt_lua_typeisa_type().
Referenced by dt_lua_isa_type(), dt_lua_type_setmetafield_type(), and dt_lua_typeisa_type().
Referenced by dt_lua_init_type_type().
References dt_lua_isa_type().
Referenced by dt_lua_init_type_type().
Referenced by dt_lua_init_gpointer_type_type().
References dt_lua_isa_type().
Referenced by dt_lua_init_gpointer_type_type().
|
static |
Referenced by dt_lua_init_gpointer_type_type().
References autotype_index(), autotype_newindex(), autotype_next(), autotype_pairs(), and autotype_tostring().
Referenced by dt_lua_init_gpointer_type_type(), dt_lua_init_int_type_type(), dt_lua_init_singleton(), and dt_lua_init_type_type().
Referenced by dt_lua_init_int_type_type().
References dt_lua_isa_type().
Referenced by dt_lua_init_int_type_type().
Referenced by dt_lua_init_early_types().
Referenced by dt_lua_init_early_types().
Referenced by dt_lua_init_early_types().
References to_char_array().
Referenced by dt_lua_init_early_types().
References to_char_array().
Referenced by dt_lua_init_early_types().
References to_char_array().
Referenced by dt_lua_init_early_types().
References to_char_array().
Referenced by dt_lua_init_early_types().
References to_char_array().
Referenced by dt_lua_init_early_types().
References to_char_array().
Referenced by dt_lua_init_early_types().
References to_char_array().
Referenced by dt_lua_init_early_types().
References to_char_array().
Referenced by dt_lua_init_early_types().
|
static |
References size.
Referenced by to_char1024(), to_char128(), to_char20(), to_char256(), to_char32(), to_char512(), to_char52(), to_char64(), to_charfilename_length(), and to_charpath_length().
|
static |
References DT_MAX_FILENAME_LEN, and to_char_array().
Referenced by dt_lua_init_early_types().
References PATH_MAX, and to_char_array().
Referenced by dt_lua_init_early_types().
Referenced by dt_lua_init_early_types().
Referenced by dt_lua_init_early_types().
|
static |
Referenced by dt_lua_init_wrapped_singleton().
|
static |
Referenced by dt_lua_init_wrapped_singleton().
|
static |
Referenced by dt_lua_init_wrapped_singleton().
|
static |
Referenced by dt_lua_init_wrapped_singleton().