| 1 | #ifndef ORBIT_IDL2_H
|
|---|
| 2 | #define ORBIT_IDL2_H 1
|
|---|
| 3 | #include "orbit-idl3-types.h"
|
|---|
| 4 | gboolean orbit_idl_to_backend (const char *filename,
|
|---|
| 5 | OIDL_Run_Info *rinfo);
|
|---|
| 6 | gboolean orbit_idl_backend_output (OIDL_Run_Info *rinfo,
|
|---|
| 7 | IDL_tree tree);
|
|---|
| 8 | /* Utils */
|
|---|
| 9 | void orbit_idl_attr_fake_ops (IDL_tree attr,
|
|---|
| 10 | IDL_ns ns);
|
|---|
| 11 | void orbit_idl_print_node (IDL_tree node,
|
|---|
| 12 | int indent_level);
|
|---|
| 13 | void IDL_tree_traverse_parents (IDL_tree p,
|
|---|
| 14 | GFunc f,
|
|---|
| 15 | gconstpointer func_data);
|
|---|
| 16 | void IDL_tree_traverse_parents_full (IDL_tree p,
|
|---|
| 17 | GFunc f,
|
|---|
| 18 | gconstpointer func_data,
|
|---|
| 19 | gboolean include_self);
|
|---|
| 20 | gboolean orbit_cbe_type_contains_complex (IDL_tree ts);
|
|---|
| 21 | void orbit_idl_check_oneway_op (IDL_tree op);
|
|---|
| 22 | typedef enum { DATA_IN=1, DATA_INOUT=2, DATA_OUT=4, DATA_RETURN=8 } IDL_ParamRole;
|
|---|
| 23 | gint oidl_param_info(IDL_tree param, IDL_ParamRole role, gboolean *isSlice);
|
|---|
| 24 | gboolean orbit_cbe_type_is_fixed_length(IDL_tree ts);
|
|---|
| 25 | IDL_tree orbit_cbe_get_typespec(IDL_tree node);
|
|---|
| 26 | IDL_ParamRole oidl_attr_to_paramrole(enum IDL_param_attr attr);
|
|---|
| 27 |
|
|---|
| 28 | #ifdef USE_LIBIDL_CODE
|
|---|
| 29 | #define ORBIT_RETVAL_VAR_NAME "_ORBIT_retval"
|
|---|
| 30 | #else
|
|---|
| 31 | #define ORBIT_RETVAL_VAR_NAME "nomRetval"
|
|---|
| 32 | #define NOM_OVERRIDE_STRING "__OVERRIDE__"
|
|---|
| 33 | #define NOM_INSTANCEVAR_STRING "__INSTANCEVAR__"
|
|---|
| 34 | #define NOM_METACLASS_STRING "METACLASS_TO_USE"
|
|---|
| 35 | #define NOM_PARMCHECK_STRING "__PARMCHECK__"
|
|---|
| 36 |
|
|---|
| 37 | #endif
|
|---|
| 38 | #define ORBIT_EPV_VAR_NAME "_ORBIT_epv"
|
|---|
| 39 | #endif /* ORBIT_IDL2_H */
|
|---|