xine-lib  1.2.10
goomsl.h
Go to the documentation of this file.
1 #ifndef _GOOMSL_H
2 #define _GOOMSL_H
3 
4 #include "goomsl_hash.h"
5 
6 typedef struct _GoomSL GoomSL;
7 typedef void (*GoomSL_ExternalFunction)(GoomSL *gsl, GoomHash *global_vars, GoomHash *local_vars);
8 
9 GoomSL*gsl_new(void);
10 void gsl_free(GoomSL *gss);
11 
12 char *gsl_init_buffer(const char *file_name);
13 void gsl_append_file_to_buffer(const char *file_name, char **buffer);
14 
15 void gsl_compile (GoomSL *scanner, const char *script);
16 void gsl_execute (GoomSL *scanner);
17 int gsl_is_compiled (GoomSL *gss);
18 void gsl_bind_function(GoomSL *gss, const char *fname, GoomSL_ExternalFunction func);
19 
20 int gsl_malloc (GoomSL *_this, int size);
21 void *gsl_get_ptr (GoomSL *_this, int id);
22 void gsl_free_ptr(GoomSL *_this, int id);
23 
24 GoomHash *gsl_globals(GoomSL *_this);
25 
26 #define GSL_LOCAL_PTR(gsl,local,name) gsl_get_ptr(gsl, *(int*)goom_hash_get(local,name)->ptr)
27 #define GSL_LOCAL_INT(gsl,local,name) (*(int*)goom_hash_get(local,name)->ptr)
28 #define GSL_LOCAL_FLOAT(gsl,local,name) (*(float*)goom_hash_get(local,name)->ptr)
29 
30 #define GSL_GLOBAL_PTR(gsl,name) gsl_get_ptr(gsl, *(int*)goom_hash_get(gsl_globals(gsl),name)->ptr)
31 #define GSL_GLOBAL_INT(gsl,name) (*(int*)goom_hash_get(gsl_globals(gsl),name)->ptr)
32 #define GSL_GLOBAL_FLOAT(gsl,name) (*(float*)goom_hash_get(gsl_globals(gsl),name)->ptr)
33 
34 #endif
_INSTRUCTION::name
const char * name
Definition: goomsl_private.h:105
gsl_reenternamespace
void gsl_reenternamespace(GoomHash *nsinfo)
Definition: goomsl.c:823
VALUE_INT
#define VALUE_INT
_INSTRUCTION::vnamespace
GoomHash ** vnamespace
Definition: goomsl_private.h:108
gsl_instr_display
static void gsl_instr_display(Instruction *_this)
Definition: goomsl.c:200
_ExternalFunctionStruct::function
GoomSL_ExternalFunction function
Definition: goomsl_private.h:142
gsl_declare_task
void gsl_declare_task(const char *name)
Definition: goomsl.c:844
goom_hash_put_int
void goom_hash_put_int(GoomHash *_this, const char *key, int i)
Definition: goomsl_hash.c:90
_INSTRUCTION::data
InstructionData data
Definition: goomsl_private.h:103
_INSTRUCTION::nop_label
char * nop_label
Definition: goomsl_private.h:115
_INSTRUCTION_FLOW
Definition: goomsl_private.h:121
_INSTRUCTION_FLOW::tabsize
int tabsize
Definition: goomsl_private.h:125
gsl_get_ptr
void * gsl_get_ptr(GoomSL *_this, int id)
Definition: goomsl.c:793
currentGoomSL
GoomSL * currentGoomSL
Definition: goomsl_lex.c:635
_INSTRUCTION::cur_param
int cur_param
Definition: goomsl_private.h:110
_INSTRUCTION::address
int address
Definition: goomsl_private.h:113
pSRC_VAR
#define pSRC_VAR
TYPE_PTR
#define TYPE_PTR
Definition: goomsl_private.h:221
ext_f2i
static void ext_f2i(GoomSL *gsl, GoomHash *global, GoomHash *local)
Definition: goomsl.c:1323
_INSTRUCTION_DATA::jump_offset
int jump_offset
Definition: goomsl_private.h:85
function
void *(*const function)(void *to, const void *from, size_t len)
Definition: memcpy.c:570
INSTR_SUBI_VAR_VAR
#define INSTR_SUBI_VAR_VAR
Definition: goomsl.c:25
_INSTRUCTION_DATA::var_float
float * var_float
Definition: goomsl_private.h:84
_INSTRUCTION_DATA::value_int
int value_int
Definition: goomsl_private.h:94
iflow_clean
static void iflow_clean(InstructionFlow *_this)
Definition: goomsl.c:102
TYPE_VAR
#define TYPE_VAR
Definition: goomsl_private.h:220
_GoomSL::num_lines
int num_lines
Definition: goomsl_private.h:166
gsl_new
GoomSL * gsl_new(void)
Definition: goomsl.c:1387
INSTR_ISLOWERI_VAR_VAR
#define INSTR_ISLOWERI_VAR_VAR
Definition: goomsl.c:30
gsl_instr_set_namespace
void gsl_instr_set_namespace(Instruction *_this, GoomHash *ns)
Definition: goomsl.c:132
yy_scan_string
void yy_scan_string(const char *str)
_INSTRUCTION_DATA::var_int
int * var_int
Definition: goomsl_private.h:82
_GSL_Struct
Definition: goomsl_private.h:157
VALIDATE_NO_SUCH_SRC_VAR
#define VALIDATE_NO_SUCH_SRC_VAR
Definition: goomsl.c:72
INSTR_ADDF_VAR_FLOAT
#define INSTR_ADDF_VAR_FLOAT
Definition: goomsl.c:34
_GoomSL::namespaces
GoomHash * namespaces[16]
Definition: goomsl_private.h:174
_GoomSL::gsl_struct
GSL_Struct ** gsl_struct
Definition: goomsl_private.h:182
INSTR_ISEQUALF_VAR_FLOAT
#define INSTR_ISEQUALF_VAR_FLOAT
Definition: goomsl.c:50
pDEST_VAR
#define pDEST_VAR
HashValue::i
int i
Definition: goomsl_hash.h:9
goom_hash_put_ptr
void goom_hash_put_ptr(GoomHash *_this, const char *key, void *ptr)
Definition: goomsl_hash.c:102
INSTR_ISEQUALF_VAR_VAR
#define INSTR_ISEQUALF_VAR_VAR
Definition: goomsl.c:49
INSTR_DIVS_VAR_VAR
#define INSTR_DIVS_VAR_VAR
Definition: goomsl.c:61
gsl_execute
void gsl_execute(GoomSL *scanner)
Definition: goomsl.c:1376
INSTR_SUBF_VAR_FLOAT
#define INSTR_SUBF_VAR_FLOAT
Definition: goomsl.c:26
gsl_malloc
int gsl_malloc(GoomSL *_this, int size)
Definition: goomsl.c:783
_INSTRUCTION_FLOW::labels
GoomHash * labels
Definition: goomsl_private.h:126
goom_heap_new
GoomHeap * goom_heap_new(void)
Definition: goomsl_heap.c:18
GoomSL_ExternalFunction
void(* GoomSL_ExternalFunction)(GoomSL *gsl, GoomHash *global_vars, GoomHash *local_vars)
Definition: goomsl.h:7
_GoomSL::ptrArray
void ** ptrArray
Definition: goomsl_private.h:187
gsl_is_compiled
int gsl_is_compiled(GoomSL *gss)
Definition: goomsl.c:1424
_INSTRUCTION_DATA::usrc
union _INSTRUCTION_DATA::@42 usrc
gsl_free_ptr
void gsl_free_ptr(GoomSL *_this, int id)
Definition: goomsl.c:801
_INSTRUCTION::params
char ** params
Definition: goomsl_private.h:107
SRC_STRUCT_IBLOCK_VAR
#define SRC_STRUCT_IBLOCK_VAR(i, j)
INSTR_ISEQUALI_VAR_INTEGER
#define INSTR_ISEQUALI_VAR_INTEGER
Definition: goomsl.c:48
INSTR_SETF_VAR_FLOAT
#define INSTR_SETF_VAR_FLOAT
Definition: goomsl.c:18
INSTR_SETI_VAR_INTEGER
#define INSTR_SETI_VAR_INTEGER
Definition: goomsl.c:16
_VISUAL_FX::free
void(* free)(struct _VISUAL_FX *_this)
Definition: goom_visual_fx.h:19
TYPE_FLOAT
#define TYPE_FLOAT
Definition: goomsl_private.h:219
INSTR_SUBI_VAR_INTEGER
#define INSTR_SUBI_VAR_INTEGER
Definition: goomsl.c:24
gsl_type_of_var
int gsl_type_of_var(GoomHash *namespace, const char *name)
Definition: goomsl_yacc.c:358
JUMP_OFFSET
#define JUMP_OFFSET
_INSTRUCTION_DATA::value_float
float value_float
Definition: goomsl_private.h:96
INSTR_ADDF_VAR_VAR
#define INSTR_ADDF_VAR_VAR
Definition: goomsl.c:35
INSTR_RET
#define INSTR_RET
Definition: goomsl_private.h:233
gsl_create_fast_iflow
static void gsl_create_fast_iflow(void)
Definition: goomsl.c:935
gsl_append_file_to_buffer
void gsl_append_file_to_buffer(const char *fname, char **buffer)
Definition: goomsl.c:1487
INSTR_MULI_VAR_VAR
#define INSTR_MULI_VAR_VAR
Definition: goomsl.c:37
_INSTRUCTION::jump_label
char * jump_label
Definition: goomsl_private.h:114
GSL_LOCAL_INT
#define GSL_LOCAL_INT(gsl, local, name)
Definition: goomsl.h:27
VALIDATE_OK
static const char * VALIDATE_OK
Definition: goomsl.c:65
INSTR_ADDI_VAR_INTEGER
#define INSTR_ADDI_VAR_INTEGER
Definition: goomsl.c:32
INSTR_NOT_VAR
#define INSTR_NOT_VAR
Definition: goomsl.c:54
gsl_free
void gsl_free(GoomSL *gss)
Definition: goomsl.c:1429
FIRST_RESERVED
#define FIRST_RESERVED
Definition: goomsl_private.h:216
_GoomSL::currentNS
int currentNS
Definition: goomsl_private.h:173
GSL_GLOBAL_INT
#define GSL_GLOBAL_INT(gsl, name)
Definition: goomsl.h:31
gsl_already_imported
static char gsl_already_imported[256][256]
Definition: goomsl.c:1451
goomsl.h
_FastInstructionFlow::instr
FastInstruction * instr
Definition: goomsl_private.h:137
INSTR_ADDI_VAR_VAR
#define INSTR_ADDI_VAR_VAR
Definition: goomsl.c:33
_INSTRUCTION_DATA::var
void * var
Definition: goomsl_private.h:81
INSTR_CALL
#define INSTR_CALL
Definition: goomsl_private.h:232
gsl_commit_compilation
void gsl_commit_compilation(void)
Definition: goomsl_yacc.c:1150
DEST_VAR_FLOAT
#define DEST_VAR_FLOAT
_FAST_INSTRUCTION
Definition: goomsl_private.h:129
SRC_VAR_INT
#define SRC_VAR_INT
INSTR_SETI_VAR_VAR
#define INSTR_SETI_VAR_VAR
Definition: goomsl.c:17
gsl_bind_function
void gsl_bind_function(GoomSL *gss, const char *fname, GoomSL_ExternalFunction func)
Definition: goomsl.c:1414
INSTR_ISEQUAL
#define INSTR_ISEQUAL
Definition: goomsl_private.h:247
INSTR_ISEQUALS_VAR_VAR
#define INSTR_ISEQUALS_VAR_VAR
Definition: goomsl.c:57
iflow_execute
static void iflow_execute(FastInstructionFlow *_this, GoomSL *gsl)
Definition: goomsl.c:453
_GoomSL::iflow
InstructionFlow * iflow
Definition: goomsl_private.h:169
_INSTRUCTION_DATA::value_ptr
int value_ptr
Definition: goomsl_private.h:95
INSTR_MULS_VAR_VAR
#define INSTR_MULS_VAR_VAR
Definition: goomsl.c:60
gsl_malloc
int gsl_malloc(GoomSL *_this, int size)
Definition: goomsl.c:783
INSTR_SETS_VAR_VAR
#define INSTR_SETS_VAR_VAR
Definition: goomsl.c:56
_INSTRUCTION::id
int id
Definition: goomsl_private.h:102
INSTR_DIVF_VAR_FLOAT
#define INSTR_DIVF_VAR_FLOAT
Definition: goomsl.c:42
NULL
NULL
Definition: xine_plugin.c:78
ext_charAt
static void ext_charAt(GoomSL *gsl, GoomHash *global, GoomHash *local)
Definition: goomsl.c:1305
VALUE_PTR
#define VALUE_PTR
_INSTRUCTION_FLOW::number
int number
Definition: goomsl_private.h:124
VALIDATE_ERROR
#define VALIDATE_ERROR
Definition: goomsl.c:66
gsl_instr_init
Instruction * gsl_instr_init(GoomSL *parent, const char *name, int id, int nb_param, int line_number)
Definition: goomsl.c:175
VALIDATE_NO_SUCH_VAR
#define VALIDATE_NO_SUCH_VAR
Definition: goomsl.c:70
gsl_init_buffer
char * gsl_init_buffer(const char *file_name)
Definition: goomsl.c:1453
INSTR_SETF_VAR_VAR
#define INSTR_SETF_VAR_VAR
Definition: goomsl.c:19
INSTR_DIVI_VAR_INTEGER
#define INSTR_DIVI_VAR_INTEGER
Definition: goomsl.c:40
DEST_VAR_INT
#define DEST_VAR_INT
INSTR_JNZERO
#define INSTR_JNZERO
Definition: goomsl_private.h:235
HashValue::ptr
void * ptr
Definition: goomsl_hash.h:8
reset_scanner
static void reset_scanner(GoomSL *gss)
Definition: goomsl.c:873
gsl_compile
void gsl_compile(GoomSL *scanner, const char *script)
Definition: goomsl.c:1332
DEST_STRUCT_FBLOCK_VAR
#define DEST_STRUCT_FBLOCK_VAR(i, j)
INSTR_DIVF_VAR_VAR
#define INSTR_DIVF_VAR_VAR
Definition: goomsl.c:43
_INSTRUCTION::nb_param
int nb_param
Definition: goomsl_private.h:111
INSTR_ADDS_VAR_VAR
#define INSTR_ADDS_VAR_VAR
Definition: goomsl.c:58
GSL_GLOBAL_FLOAT
#define GSL_GLOBAL_FLOAT(gsl, name)
Definition: goomsl.h:32
_GoomSL::instr
Instruction * instr
Definition: goomsl_private.h:167
GOOM_HASH
Definition: goomsl_hash.h:20
_INSTRUCTION::types
int * types
Definition: goomsl_private.h:109
_INSTRUCTION_FLOW::instr
Instruction ** instr
Definition: goomsl_private.h:123
gsl_globals
GoomHash * gsl_globals(GoomSL *_this)
Definition: goomsl.c:1296
_FastInstructionFlow
Definition: goomsl_private.h:135
_INSTRUCTION_DATA::external_function
struct _ExternalFunctionStruct * external_function
Definition: goomsl_private.h:86
gsl_leavenamespace
GoomHash * gsl_leavenamespace(void)
Definition: goomsl.c:828
INSTR_ISEQUALP_VAR_VAR
#define INSTR_ISEQUALP_VAR_VAR
Definition: goomsl.c:45
HashValue
Definition: goomsl_hash.h:7
ext_i2f
static void ext_i2f(GoomSL *gsl, GoomHash *global, GoomHash *local)
Definition: goomsl.c:1317
_GSL_Struct::fields
GSL_StructField * fields[64]
Definition: goomsl_private.h:159
gsl_compile
void gsl_compile(GoomSL *_currentGoomSL, const char *script)
Definition: goomsl.c:1332
gsl_read_file
static char * gsl_read_file(const char *fname)
Definition: goomsl.c:1464
INSTR_ISEQUALP_VAR_PTR
#define INSTR_ISEQUALP_VAR_PTR
Definition: goomsl.c:46
INSTR_ISLOWERF_VAR_FLOAT
#define INSTR_ISLOWERF_VAR_FLOAT
Definition: goomsl.c:29
INSTR_SETP_VAR_PTR
#define INSTR_SETP_VAR_PTR
Definition: goomsl.c:22
calculate_labels
static void calculate_labels(InstructionFlow *iflow)
Definition: goomsl.c:902
_GoomSL::ptrArraySize
int ptrArraySize
Definition: goomsl_private.h:186
VALUE_FLOAT
#define VALUE_FLOAT
INSTR_SET
#define INSTR_SET
Definition: goomsl_private.h:237
gsl_is_compiled
int gsl_is_compiled(GoomSL *gss)
Definition: goomsl.c:1424
iflow_free
static void iflow_free(InstructionFlow *_this)
Definition: goomsl.c:95
gsl_instr_validate
static const char * gsl_instr_validate(Instruction *_this)
Definition: goomsl.c:306
INSTR_SUB
#define INSTR_SUB
Definition: goomsl_private.h:246
_GoomSL::structIDS
GoomHash * structIDS
Definition: goomsl_private.h:181
gsl_nb_import
static int gsl_nb_import
Definition: goomsl.c:1450
DEST_STRUCT_IBLOCK
#define DEST_STRUCT_IBLOCK(i)
validate_v_p
static const char * validate_v_p(Instruction *_this)
Definition: goomsl.c:242
INSTR_FLOAT
#define INSTR_FLOAT
Definition: goomsl_private.h:239
_INSTRUCTION
Definition: goomsl_private.h:100
INSTR_JUMP
#define INSTR_JUMP
Definition: goomsl_private.h:230
INSTR_MULI_VAR_INTEGER
#define INSTR_MULI_VAR_INTEGER
Definition: goomsl.c:36
gsl_init_buffer
char * gsl_init_buffer(const char *fname)
Definition: goomsl.c:1453
gsl_instr_free
static void gsl_instr_free(Instruction *_this)
Definition: goomsl.c:190
INSTR_NOT
#define INSTR_NOT
Definition: goomsl_private.h:248
name
const char name[16]
Definition: memcpy.c:569
_FastInstructionFlow::mallocedInstr
void * mallocedInstr
Definition: goomsl_private.h:138
_GoomSL::vars
GoomHash * vars
Definition: goomsl_private.h:172
INSTR_ISLOWERI_VAR_INTEGER
#define INSTR_ISLOWERI_VAR_INTEGER
Definition: goomsl.c:31
DEST_STRUCT_FBLOCK
#define DEST_STRUCT_FBLOCK(i)
_ExternalFunctionStruct
Definition: goomsl_private.h:141
gsl_free
void gsl_free(GoomSL *gss)
Definition: goomsl.c:1429
INSTR_NOP
#define INSTR_NOP
Definition: goomsl.c:20
goomsl_private.h
DEST_STRUCT_IBLOCK_VAR
#define DEST_STRUCT_IBLOCK_VAR(i, j)
INSTR_MUL
#define INSTR_MUL
Definition: goomsl_private.h:244
INSTR_JZERO
#define INSTR_JZERO
Definition: goomsl_private.h:231
iflow_add_instr
static void iflow_add_instr(InstructionFlow *_this, Instruction *instr)
Definition: goomsl.c:121
INSTR_DIVI_VAR_VAR
#define INSTR_DIVI_VAR_VAR
Definition: goomsl.c:41
gsl_declare_external_task
void gsl_declare_external_task(const char *name)
Definition: goomsl.c:858
_ExternalFunctionStruct::is_extern
int is_extern
Definition: goomsl_private.h:144
_GSL_Struct::nbFields
int nbFields
Definition: goomsl_private.h:158
VALIDATE_NO_SUCH_DEST_VAR
#define VALIDATE_NO_SUCH_DEST_VAR
Definition: goomsl.c:71
_FastInstructionFlow::number
int number
Definition: goomsl_private.h:136
goomsl_hash.h
INSTR_DIV
#define INSTR_DIV
Definition: goomsl_private.h:245
_GoomSL::data_heap
GoomHeap * data_heap
Definition: goomsl_private.h:178
INSTR_SUBS_VAR_VAR
#define INSTR_SUBS_VAR_VAR
Definition: goomsl.c:59
TYPE_INTEGER
#define TYPE_INTEGER
Definition: goomsl_private.h:218
TYPE_FVAR
#define TYPE_FVAR
Definition: goomsl_private.h:226
_GoomSL::compilationOK
int compilationOK
Definition: goomsl_private.h:189
gsl_bind_function
void gsl_bind_function(GoomSL *gss, const char *fname, GoomSL_ExternalFunction func)
Definition: goomsl.c:1414
_FAST_INSTRUCTION::proto
Instruction * proto
Definition: goomsl_private.h:132
goomsl_yacc.h
yyparse
void yyparse(void)
Definition: goomsl_yacc.c:2142
gsl_enternamespace
void gsl_enternamespace(const char *name)
Definition: goomsl.c:809
gsl_free_ptr
void gsl_free_ptr(GoomSL *_this, int id)
Definition: goomsl.c:801
_INSTRUCTION::parent
GoomSL * parent
Definition: goomsl_private.h:104
SRC_VAR_FLOAT
#define SRC_VAR_FLOAT
gsl_get_ptr
void * gsl_get_ptr(GoomSL *_this, int id)
Definition: goomsl.c:793
_GoomSL
Definition: goomsl_private.h:165
_GoomSL::nbPtr
int nbPtr
Definition: goomsl_private.h:185
config.h
INSTR_INT
#define INSTR_INT
Definition: goomsl_private.h:238
INSTR_PTR
#define INSTR_PTR
Definition: goomsl_private.h:240
INSTR_MULF_VAR_VAR
#define INSTR_MULF_VAR_VAR
Definition: goomsl.c:39
SRC_VAR_PTR
#define SRC_VAR_PTR
_GoomSL::nbStructID
int nbStructID
Definition: goomsl_private.h:180
iflow_new
static InstructionFlow * iflow_new(void)
Definition: goomsl.c:110
gsl_find_namespace
GoomHash * gsl_find_namespace(const char *name)
Definition: goomsl.c:834
DEST_VAR_PTR
#define DEST_VAR_PTR
INSTR_SUBF_VAR_VAR
#define INSTR_SUBF_VAR_VAR
Definition: goomsl.c:27
GSL_LOCAL_FLOAT
#define GSL_LOCAL_FLOAT(gsl, local, name)
Definition: goomsl.h:28
_ExternalFunctionStruct::vars
GoomHash * vars
Definition: goomsl_private.h:143
gsl_new
GoomSL * gsl_new(void)
Definition: goomsl.c:1387
INSTR_ADD
#define INSTR_ADD
Definition: goomsl_private.h:243
DEST_STRUCT_SIZE
#define DEST_STRUCT_SIZE
VALIDATE_NO_SUCH_INT
#define VALIDATE_NO_SUCH_INT
Definition: goomsl.c:69
goom_hash_get
HashValue * goom_hash_get(GoomHash *_this, const char *key)
Definition: goomsl_hash.c:85
validate_v_v
static const char * validate_v_v(Instruction *_this)
Definition: goomsl.c:214
_INSTRUCTION_DATA::var_ptr
int * var_ptr
Definition: goomsl_private.h:83
INSTR_MULF_VAR_FLOAT
#define INSTR_MULF_VAR_FLOAT
Definition: goomsl.c:38
goom_hash_free
void goom_hash_free(GoomHash *_this)
Definition: goomsl_hash.c:72
INSTR_EXT_CALL
#define INSTR_EXT_CALL
Definition: goomsl_private.h:234
goom_hash_new
GoomHash * goom_hash_new(void)
Definition: goomsl_hash.c:65
_GoomSL::functions
GoomHash * functions
Definition: goomsl_private.h:176
gsl_globals
GoomHash * gsl_globals(GoomSL *_this)
Definition: goomsl.c:1296
INSTR_ISEQUALI_VAR_VAR
#define INSTR_ISEQUALI_VAR_VAR
Definition: goomsl.c:47
validate_v_f
static const char * validate_v_f(Instruction *_this)
Definition: goomsl.c:254
gsl_execute
void gsl_execute(GoomSL *scanner)
Definition: goomsl.c:1376
TYPE_PVAR
#define TYPE_PVAR
Definition: goomsl_private.h:227
INSTR_LABEL
#define INSTR_LABEL
Definition: goomsl_private.h:241
TYPE_IVAR
#define TYPE_IVAR
Definition: goomsl_private.h:225
gsl_instr_add_param
void gsl_instr_add_param(Instruction *instr, const char *param, int type)
Definition: goomsl.c:141
_GoomSL::fastiflow
FastInstructionFlow * fastiflow
Definition: goomsl_private.h:170
goom_heap_delete
void goom_heap_delete(GoomHeap *_this)
Definition: goomsl_heap.c:34
_GoomSL::gsl_struct_size
int gsl_struct_size
Definition: goomsl_private.h:183
SRC_STRUCT_FBLOCK_VAR
#define SRC_STRUCT_FBLOCK_VAR(i, j)
VALIDATE_TODO
#define VALIDATE_TODO
Definition: goomsl.c:67
GSL_LOCAL_PTR
#define GSL_LOCAL_PTR(gsl, local, name)
Definition: goomsl.h:26
_FAST_INSTRUCTION::id
int id
Definition: goomsl_private.h:130
TYPE_LABEL
#define TYPE_LABEL
Definition: goomsl_private.h:222
validate_v_i
static const char * validate_v_i(Instruction *_this)
Definition: goomsl.c:230
gsl_append_file_to_buffer
void gsl_append_file_to_buffer(const char *file_name, char **buffer)
Definition: goomsl.c:1487
validate
static const char * validate(Instruction *_this, int vf_f_id, int vf_v_id, int vi_i_id, int vi_v_id, int vp_p_id, int vp_v_id, int vs_v_id)
Definition: goomsl.c:266
_INSTRUCTION_DATA::udest
union _INSTRUCTION_DATA::@41 udest
INSTR_SETP_VAR_VAR
#define INSTR_SETP_VAR_VAR
Definition: goomsl.c:23
INSTR_ISLOWER
#define INSTR_ISLOWER
Definition: goomsl_private.h:242
INSTR_ISLOWERF_VAR_VAR
#define INSTR_ISLOWERF_VAR_VAR
Definition: goomsl.c:28
_INSTRUCTION::line_number
int line_number
Definition: goomsl_private.h:117
_FAST_INSTRUCTION::data
InstructionData data
Definition: goomsl_private.h:131