Functions that set up programs, and destroy them. More...
Functions | |
EAPI Embryo_Program * | embryo_program_new (void *data, int size) |
Creates a new Embryo program, with bytecode data that can be freed. More... | |
EAPI Embryo_Program * | embryo_program_const_new (void *data, int size) |
Creates a new Embryo program, with bytecode data that cannot be freed. More... | |
EAPI Embryo_Program * | embryo_program_load (const char *file) |
Creates a new Embryo program based on the bytecode data stored in the given file. More... | |
EAPI void | embryo_program_free (Embryo_Program *ep) |
Frees the given Embryo program. More... | |
Functions that set up programs, and destroy them.
EAPI Embryo_Program* embryo_program_new | ( | void * | data, |
int | size | ||
) |
Creates a new Embryo program, with bytecode data that can be freed.
data | Pointer to the bytecode of the program. |
size | Number of bytes of bytecode. |
References EAPI.
Referenced by edje_edit_script_program_set(), and embryo_program_load().
EAPI Embryo_Program* embryo_program_const_new | ( | void * | data, |
int | size | ||
) |
Creates a new Embryo program, with bytecode data that cannot be freed.
data | Pointer to the bytecode of the program. |
size | Number of bytes of bytecode. |
References EAPI.
EAPI Embryo_Program* embryo_program_load | ( | const char * | file | ) |
Creates a new Embryo program based on the bytecode data stored in the given file.
file | Filename of the given file. |
References EAPI, embryo_program_new(), and embryo_swap_32().
EAPI void embryo_program_free | ( | Embryo_Program * | ep | ) |
Frees the given Embryo program.
ep | The given program. |
References EAPI.
Referenced by edje_edit_script_program_set(), and edje_file_data_get().