| valaccodebinding.h | | valaccodebinding.h | |
| | | | |
| skipping to change at line 53 | | skipping to change at line 53 | |
| typedef struct _ValaCCodeExpressionBinding ValaCCodeExpressionBinding; | | typedef struct _ValaCCodeExpressionBinding ValaCCodeExpressionBinding; | |
| typedef struct _ValaCCodeExpressionBindingClass ValaCCodeExpressionBindingC
lass; | | typedef struct _ValaCCodeExpressionBindingClass ValaCCodeExpressionBindingC
lass; | |
| typedef struct _ValaCCodeBinding ValaCCodeBinding; | | typedef struct _ValaCCodeBinding ValaCCodeBinding; | |
| typedef struct _ValaCCodeBindingClass ValaCCodeBindingClass; | | typedef struct _ValaCCodeBindingClass ValaCCodeBindingClass; | |
| typedef struct _ValaCCodeMethodBinding ValaCCodeMethodBinding; | | typedef struct _ValaCCodeMethodBinding ValaCCodeMethodBinding; | |
| typedef struct _ValaCCodeMethodBindingClass ValaCCodeMethodBindingClass; | | typedef struct _ValaCCodeMethodBindingClass ValaCCodeMethodBindingClass; | |
| typedef struct _ValaCCodeGenerator ValaCCodeGenerator; | | typedef struct _ValaCCodeGenerator ValaCCodeGenerator; | |
| typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | | typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | |
| typedef struct _ValaCCodeDynamicMethodBinding ValaCCodeDynamicMethodBinding
; | | typedef struct _ValaCCodeDynamicMethodBinding ValaCCodeDynamicMethodBinding
; | |
| typedef struct _ValaCCodeDynamicMethodBindingClass ValaCCodeDynamicMethodBi
ndingClass; | | typedef struct _ValaCCodeDynamicMethodBindingClass ValaCCodeDynamicMethodBi
ndingClass; | |
|
| | | typedef struct _ValaCCodeDynamicPropertyBinding ValaCCodeDynamicPropertyBin | |
| | | ding; | |
| | | typedef struct _ValaCCodeDynamicPropertyBindingClass ValaCCodeDynamicProper | |
| | | tyBindingClass; | |
| typedef struct _ValaCCodeDynamicSignalBinding ValaCCodeDynamicSignalBinding
; | | typedef struct _ValaCCodeDynamicSignalBinding ValaCCodeDynamicSignalBinding
; | |
| typedef struct _ValaCCodeDynamicSignalBindingClass ValaCCodeDynamicSignalBi
ndingClass; | | typedef struct _ValaCCodeDynamicSignalBindingClass ValaCCodeDynamicSignalBi
ndingClass; | |
| typedef struct _ValaCCodeElementAccessBinding ValaCCodeElementAccessBinding
; | | typedef struct _ValaCCodeElementAccessBinding ValaCCodeElementAccessBinding
; | |
| typedef struct _ValaCCodeElementAccessBindingClass ValaCCodeElementAccessBi
ndingClass; | | typedef struct _ValaCCodeElementAccessBindingClass ValaCCodeElementAccessBi
ndingClass; | |
| typedef struct _ValaCCodeAssignmentBinding ValaCCodeAssignmentBinding; | | typedef struct _ValaCCodeAssignmentBinding ValaCCodeAssignmentBinding; | |
| typedef struct _ValaCCodeAssignmentBindingClass ValaCCodeAssignmentBindingC
lass; | | typedef struct _ValaCCodeAssignmentBindingClass ValaCCodeAssignmentBindingC
lass; | |
| | | | |
| #define VALA_TYPE_CCODE_BINDING (vala_ccode_binding_get_type ()) | | #define VALA_TYPE_CCODE_BINDING (vala_ccode_binding_get_type ()) | |
| #define VALA_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_CCODE_BINDING, ValaCCodeBinding)) | | #define VALA_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_CCODE_BINDING, ValaCCodeBinding)) | |
| #define VALA_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | | #define VALA_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | |
| | | | |
| skipping to change at line 90 | | skipping to change at line 92 | |
| }; | | }; | |
| | | | |
| void vala_ccode_binding_emit (ValaCCodeBinding* self); | | void vala_ccode_binding_emit (ValaCCodeBinding* self); | |
| ValaCCodeIdentifier* vala_ccode_binding_get_value_setter_function (ValaCCod
eBinding* self, ValaDataType* type_reference); | | ValaCCodeIdentifier* vala_ccode_binding_get_value_setter_function (ValaCCod
eBinding* self, ValaDataType* type_reference); | |
| ValaCCodeExpression* vala_ccode_binding_get_construct_property_assignment (
ValaCCodeBinding* self, ValaCCodeConstant* canonical_cconstant, ValaDataTyp
e* property_type, ValaCCodeExpression* value); | | ValaCCodeExpression* vala_ccode_binding_get_construct_property_assignment (
ValaCCodeBinding* self, ValaCCodeConstant* canonical_cconstant, ValaDataTyp
e* property_type, ValaCCodeExpression* value); | |
| ValaCCodeBinding* vala_ccode_binding_code_binding (ValaCCodeBinding* self,
ValaCodeNode* node); | | ValaCCodeBinding* vala_ccode_binding_code_binding (ValaCCodeBinding* self,
ValaCodeNode* node); | |
| ValaCCodeMethodBinding* vala_ccode_binding_method_binding (ValaCCodeBinding
* self, ValaMethod* node); | | ValaCCodeMethodBinding* vala_ccode_binding_method_binding (ValaCCodeBinding
* self, ValaMethod* node); | |
| ValaCCodeArrayCreationExpressionBinding* vala_ccode_binding_array_creation_
expression_binding (ValaCCodeBinding* self, ValaArrayCreationExpression* no
de); | | ValaCCodeArrayCreationExpressionBinding* vala_ccode_binding_array_creation_
expression_binding (ValaCCodeBinding* self, ValaArrayCreationExpression* no
de); | |
| ValaCCodeElementAccessBinding* vala_ccode_binding_element_access_binding (V
alaCCodeBinding* self, ValaElementAccess* node); | | ValaCCodeElementAccessBinding* vala_ccode_binding_element_access_binding (V
alaCCodeBinding* self, ValaElementAccess* node); | |
| ValaCCodeAssignmentBinding* vala_ccode_binding_assignment_binding (ValaCCod
eBinding* self, ValaAssignment* node); | | ValaCCodeAssignmentBinding* vala_ccode_binding_assignment_binding (ValaCCod
eBinding* self, ValaAssignment* node); | |
|
| ValaCCodeBinding* vala_ccode_binding_new (void); | | | |
| ValaCCodeGenerator* vala_ccode_binding_get_codegen (ValaCCodeBinding* self)
; | | ValaCCodeGenerator* vala_ccode_binding_get_codegen (ValaCCodeBinding* self)
; | |
| void vala_ccode_binding_set_codegen (ValaCCodeBinding* self, ValaCCodeGener
ator* value); | | void vala_ccode_binding_set_codegen (ValaCCodeBinding* self, ValaCCodeGener
ator* value); | |
| GType vala_ccode_binding_get_type (void); | | GType vala_ccode_binding_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 4 lines changed or added | |
|
| valaccodegenerator.h | | valaccodegenerator.h | |
| | | | |
| skipping to change at line 46 | | skipping to change at line 46 | |
| #include <vala/valatrystatement.h> | | #include <vala/valatrystatement.h> | |
| #include <vala/valapropertyaccessor.h> | | #include <vala/valapropertyaccessor.h> | |
| #include <ccode/valaccodefragment.h> | | #include <ccode/valaccodefragment.h> | |
| #include <ccode/valaccodestruct.h> | | #include <ccode/valaccodestruct.h> | |
| #include <ccode/valaccodeenum.h> | | #include <ccode/valaccodeenum.h> | |
| #include <ccode/valaccodefunction.h> | | #include <ccode/valaccodefunction.h> | |
| #include <ccode/valaccodeblock.h> | | #include <ccode/valaccodeblock.h> | |
| #include <gee/arraylist.h> | | #include <gee/arraylist.h> | |
| #include <gee/set.h> | | #include <gee/set.h> | |
| #include <vala/valaerrortype.h> | | #include <vala/valaerrortype.h> | |
|
| | | #include <vala/valastruct.h> | |
| #include <vala/valainterface.h> | | #include <vala/valainterface.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <vala/valaenum.h> | | #include <vala/valaenum.h> | |
| #include <vala/valaenumvalue.h> | | #include <vala/valaenumvalue.h> | |
| #include <vala/valaerrordomain.h> | | #include <vala/valaerrordomain.h> | |
| #include <vala/valaerrorcode.h> | | #include <vala/valaerrorcode.h> | |
| #include <vala/valadelegate.h> | | #include <vala/valadelegate.h> | |
| #include <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valaconstant.h> | | #include <vala/valaconstant.h> | |
| | | | |
| skipping to change at line 69 | | skipping to change at line 70 | |
| #include <vala/valaformalparameter.h> | | #include <vala/valaformalparameter.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valaconstructor.h> | | #include <vala/valaconstructor.h> | |
| #include <vala/valadestructor.h> | | #include <vala/valadestructor.h> | |
| #include <vala/valablock.h> | | #include <vala/valablock.h> | |
| #include <vala/valaemptystatement.h> | | #include <vala/valaemptystatement.h> | |
| #include <vala/valadeclarationstatement.h> | | #include <vala/valadeclarationstatement.h> | |
| #include <vala/valalocalvariable.h> | | #include <vala/valalocalvariable.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valasourcereference.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valaifstatement.h> | | #include <vala/valaifstatement.h> | |
| #include <vala/valaswitchstatement.h> | | #include <vala/valaswitchstatement.h> | |
| #include <vala/valaswitchsection.h> | | #include <vala/valaswitchsection.h> | |
| #include <vala/valawhilestatement.h> | | #include <vala/valawhilestatement.h> | |
| #include <vala/valadostatement.h> | | #include <vala/valadostatement.h> | |
| #include <vala/valaforstatement.h> | | #include <vala/valaforstatement.h> | |
| #include <vala/valaforeachstatement.h> | | #include <vala/valaforeachstatement.h> | |
| #include <vala/valabreakstatement.h> | | #include <vala/valabreakstatement.h> | |
| | | | |
| skipping to change at line 117 | | skipping to change at line 119 | |
| #include <vala/valatypecheck.h> | | #include <vala/valatypecheck.h> | |
| #include <vala/valaconditionalexpression.h> | | #include <vala/valaconditionalexpression.h> | |
| #include <vala/valalambdaexpression.h> | | #include <vala/valalambdaexpression.h> | |
| #include <vala/valaassignment.h> | | #include <vala/valaassignment.h> | |
| #include <ccode/valaccodefunctioncall.h> | | #include <ccode/valaccodefunctioncall.h> | |
| #include <ccode/valaccodestatement.h> | | #include <ccode/valaccodestatement.h> | |
| #include <float.h> | | #include <float.h> | |
| #include <math.h> | | #include <math.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
| #include <vala/valanamespace.h> | | #include <vala/valanamespace.h> | |
|
| #include <vala/valastruct.h> | | | |
| #include <vala/valadynamicmethod.h> | | #include <vala/valadynamicmethod.h> | |
|
| | | #include <vala/valadynamicproperty.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
| #include <vala/valadynamicsignal.h> | | #include <vala/valadynamicsignal.h> | |
| #include <vala/valatypeparameter.h> | | #include <vala/valatypeparameter.h> | |
| #include <vala/valaswitchlabel.h> | | #include <vala/valaswitchlabel.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| #include <gobject/valaccodebinding.h> | | #include <gobject/valaccodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CCODE_GENERATOR (vala_ccode_generator_get_type ()) | | #define VALA_TYPE_CCODE_GENERATOR (vala_ccode_generator_get_type ()) | |
| #define VALA_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_CCODE_GENERATOR, ValaCCodeGenerator)) | | #define VALA_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_CCODE_GENERATOR, ValaCCodeGenerator)) | |
| #define VALA_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | | #define VALA_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | |
| #define VALA_IS_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_CCODE_GENERATOR)) | | #define VALA_IS_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_CCODE_GENERATOR)) | |
| #define VALA_IS_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_CCODE_GENERATOR)) | | #define VALA_IS_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_CCODE_GENERATOR)) | |
| | | | |
| skipping to change at line 147 | | skipping to change at line 149 | |
| | | | |
| /** | | /** | |
| * Code visitor generating C Code. | | * Code visitor generating C Code. | |
| */ | | */ | |
| struct _ValaCCodeGenerator { | | struct _ValaCCodeGenerator { | |
| ValaCodeGenerator parent_instance; | | ValaCodeGenerator parent_instance; | |
| ValaCCodeGeneratorPrivate * priv; | | ValaCCodeGeneratorPrivate * priv; | |
| ValaCodeContext* context; | | ValaCodeContext* context; | |
| ValaSymbol* root_symbol; | | ValaSymbol* root_symbol; | |
| ValaSymbol* current_symbol; | | ValaSymbol* current_symbol; | |
|
| ValaTypesymbol* current_type_symbol; | | ValaTypeSymbol* current_type_symbol; | |
| ValaClass* current_class; | | ValaClass* current_class; | |
| ValaMethod* current_method; | | ValaMethod* current_method; | |
| ValaDataType* current_return_type; | | ValaDataType* current_return_type; | |
| ValaTryStatement* current_try; | | ValaTryStatement* current_try; | |
| ValaPropertyAccessor* current_property_accessor; | | ValaPropertyAccessor* current_property_accessor; | |
| ValaCCodeFragment* header_begin; | | ValaCCodeFragment* header_begin; | |
| ValaCCodeFragment* header_type_declaration; | | ValaCCodeFragment* header_type_declaration; | |
| ValaCCodeFragment* header_type_definition; | | ValaCCodeFragment* header_type_definition; | |
| ValaCCodeFragment* header_type_member_declaration; | | ValaCCodeFragment* header_type_member_declaration; | |
| ValaCCodeFragment* header_constant_declaration; | | ValaCCodeFragment* header_constant_declaration; | |
| | | | |
| skipping to change at line 202 | | skipping to change at line 204 | |
| ValaDataType* uint_type; | | ValaDataType* uint_type; | |
| ValaDataType* long_type; | | ValaDataType* long_type; | |
| ValaDataType* ulong_type; | | ValaDataType* ulong_type; | |
| ValaDataType* int8_type; | | ValaDataType* int8_type; | |
| ValaDataType* uint8_type; | | ValaDataType* uint8_type; | |
| ValaDataType* int64_type; | | ValaDataType* int64_type; | |
| ValaDataType* uint64_type; | | ValaDataType* uint64_type; | |
| ValaDataType* string_type; | | ValaDataType* string_type; | |
| ValaDataType* float_type; | | ValaDataType* float_type; | |
| ValaDataType* double_type; | | ValaDataType* double_type; | |
|
| ValaTypesymbol* gtype_type; | | ValaTypeSymbol* gtype_type; | |
| ValaTypesymbol* gtypeinstance_type; | | ValaTypeSymbol* gobject_type; | |
| ValaTypesymbol* gobject_type; | | | |
| ValaErrorType* gerror_type; | | ValaErrorType* gerror_type; | |
| ValaClass* glist_type; | | ValaClass* glist_type; | |
| ValaClass* gslist_type; | | ValaClass* gslist_type; | |
|
| ValaTypesymbol* gstringbuilder_type; | | ValaTypeSymbol* gstringbuilder_type; | |
| ValaTypesymbol* garray_type; | | ValaTypeSymbol* garray_type; | |
| ValaDataType* gquark_type; | | ValaDataType* gquark_type; | |
|
| ValaDataType* mutex_type; | | ValaStruct* mutex_type; | |
| ValaTypesymbol* type_module_type; | | ValaTypeSymbol* type_module_type; | |
| ValaInterface* iterable_type; | | ValaInterface* iterable_type; | |
| ValaInterface* iterator_type; | | ValaInterface* iterator_type; | |
|
| | | ValaInterface* collection_type; | |
| ValaInterface* list_type; | | ValaInterface* list_type; | |
| ValaInterface* map_type; | | ValaInterface* map_type; | |
|
| ValaTypesymbol* dbus_object_type; | | ValaTypeSymbol* dbus_object_type; | |
| ValaMethod* substring_method; | | ValaMethod* substring_method; | |
| gboolean in_plugin; | | gboolean in_plugin; | |
| char* module_init_param_name; | | char* module_init_param_name; | |
| gboolean string_h_needed; | | gboolean string_h_needed; | |
| gboolean requires_array_move; | | gboolean requires_array_move; | |
| gboolean dbus_glib_h_needed; | | gboolean dbus_glib_h_needed; | |
| }; | | }; | |
| | | | |
| struct _ValaCCodeGeneratorClass { | | struct _ValaCCodeGeneratorClass { | |
| ValaCodeGeneratorClass parent_class; | | ValaCodeGeneratorClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaCCodeGenerator* vala_ccode_generator_new (void); | | ValaCCodeGenerator* vala_ccode_generator_new (void); | |
| gboolean vala_ccode_generator_is_pure_ccode_expression (ValaCCodeGenerator*
self, ValaCCodeExpression* cexpr); | | gboolean vala_ccode_generator_is_pure_ccode_expression (ValaCCodeGenerator*
self, ValaCCodeExpression* cexpr); | |
| char* vala_ccode_generator_get_variable_cname (ValaCCodeGenerator* self, co
nst char* name); | | char* vala_ccode_generator_get_variable_cname (ValaCCodeGenerator* self, co
nst char* name); | |
|
| ValaLocalVariable* vala_ccode_generator_get_temp_variable (ValaCCodeGenerat | | ValaLocalVariable* vala_ccode_generator_get_temp_variable (ValaCCodeGenerat | |
| or* self, ValaDataType* type, gboolean takes_ownership, ValaCodeNode* node_ | | or* self, ValaDataType* type, gboolean value_owned, ValaCodeNode* node_refe | |
| reference); | | rence); | |
| | | ValaCCodeExpression* vala_ccode_generator_get_dup_func_expression (ValaCCod | |
| | | eGenerator* self, ValaDataType* type, ValaSourceReference* source_reference | |
| | | ); | |
| | | ValaCCodeExpression* vala_ccode_generator_get_destroy_func_expression (Vala | |
| | | CCodeGenerator* self, ValaDataType* type); | |
| ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe
nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio
n* expr); | | ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe
nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio
n* expr); | |
| char* vala_ccode_generator_get_array_length_cname (ValaCCodeGenerator* self
, const char* array_cname, gint dim); | | char* vala_ccode_generator_get_array_length_cname (ValaCCodeGenerator* self
, const char* array_cname, gint dim); | |
| ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val
aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | | ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val
aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | |
| char* vala_ccode_generator_get_delegate_target_cname (ValaCCodeGenerator* s
elf, const char* delegate_cname); | | char* vala_ccode_generator_get_delegate_target_cname (ValaCCodeGenerator* s
elf, const char* delegate_cname); | |
| ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression (
ValaCCodeGenerator* self, ValaExpression* delegate_expr); | | ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression (
ValaCCodeGenerator* self, ValaExpression* delegate_expr); | |
|
| void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE | | char* vala_ccode_generator_get_delegate_target_destroy_notify_cname (ValaCC | |
| xpression* expr); | | odeGenerator* self, const char* delegate_cname); | |
| | | gboolean vala_ccode_generator_requires_copy (ValaCCodeGenerator* self, Vala | |
| | | DataType* type); | |
| | | gboolean vala_ccode_generator_requires_destroy (ValaCCodeGenerator* self, V | |
| | | alaDataType* type); | |
| ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ
e); | | ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ
e); | |
| ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC
CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type)
; | | ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC
CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type)
; | |
|
| ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* expression
_type, ValaDataType* target_type); | | ValaCCodeExpression* vala_ccode_generator_transform_expression (ValaCCodeGe
nerator* self, ValaCCodeExpression* source_cexpr, ValaDataType* expression_
type, ValaDataType* target_type, ValaExpression* expr); | |
| ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod
eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres
sion* cexpr); | | ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod
eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres
sion* cexpr); | |
| gboolean vala_ccode_generator_is_address_of_possible (ValaCCodeGenerator* s
elf, ValaExpression* e); | | gboolean vala_ccode_generator_is_address_of_possible (ValaCCodeGenerator* s
elf, ValaExpression* e); | |
| ValaCCodeExpression* vala_ccode_generator_get_address_of_expression (ValaCC
odeGenerator* self, ValaExpression* e, ValaCCodeExpression* ce); | | ValaCCodeExpression* vala_ccode_generator_get_address_of_expression (ValaCC
odeGenerator* self, ValaExpression* e, ValaCCodeExpression* ce); | |
| gboolean vala_ccode_generator_add_wrapper (ValaCCodeGenerator* self, const
char* wrapper_name); | | gboolean vala_ccode_generator_add_wrapper (ValaCCodeGenerator* self, const
char* wrapper_name); | |
|
| ValaDataType* vala_ccode_generator_get_data_type_for_symbol (ValaTypesymbol
* sym); | | ValaDataType* vala_ccode_generator_get_data_type_for_symbol (ValaTypeSymbol
* sym); | |
| ValaCCodeExpression* vala_ccode_generator_default_value_for_type (ValaCCode
Generator* self, ValaDataType* type, gboolean initializer_expression); | | ValaCCodeExpression* vala_ccode_generator_default_value_for_type (ValaCCode
Generator* self, ValaDataType* type, gboolean initializer_expression); | |
|
| ValaCCodeStatement* vala_ccode_generator_create_type_check_statement (ValaC
CodeGenerator* self, ValaCodeNode* method_node, ValaDataType* ret_type, Val
aTypesymbol* t, gboolean non_null, const char* var_name); | | ValaCCodeStatement* vala_ccode_generator_create_type_check_statement (ValaC
CodeGenerator* self, ValaCodeNode* method_node, ValaDataType* ret_type, Val
aTypeSymbol* t, gboolean non_null, const char* var_name); | |
| gint vala_ccode_generator_get_param_pos (ValaCCodeGenerator* self, double p
aram_pos, gboolean ellipsis); | | gint vala_ccode_generator_get_param_pos (ValaCCodeGenerator* self, double p
aram_pos, gboolean ellipsis); | |
| ValaCCodeBinding* vala_ccode_generator_code_binding (ValaCCodeGenerator* se
lf, ValaCodeNode* node); | | ValaCCodeBinding* vala_ccode_generator_code_binding (ValaCCodeGenerator* se
lf, ValaCodeNode* node); | |
| ValaCCodeMethodBinding* vala_ccode_generator_method_binding (ValaCCodeGener
ator* self, ValaMethod* node); | | ValaCCodeMethodBinding* vala_ccode_generator_method_binding (ValaCCodeGener
ator* self, ValaMethod* node); | |
| ValaCCodeDynamicMethodBinding* vala_ccode_generator_dynamic_method_binding
(ValaCCodeGenerator* self, ValaDynamicMethod* node); | | ValaCCodeDynamicMethodBinding* vala_ccode_generator_dynamic_method_binding
(ValaCCodeGenerator* self, ValaDynamicMethod* node); | |
|
| | | ValaCCodeDynamicPropertyBinding* vala_ccode_generator_dynamic_property_bind
ing (ValaCCodeGenerator* self, ValaDynamicProperty* node); | |
| ValaCCodeDynamicSignalBinding* vala_ccode_generator_dynamic_signal_binding
(ValaCCodeGenerator* self, ValaDynamicSignal* node); | | ValaCCodeDynamicSignalBinding* vala_ccode_generator_dynamic_signal_binding
(ValaCCodeGenerator* self, ValaDynamicSignal* node); | |
| ValaCCodeArrayCreationExpressionBinding* vala_ccode_generator_array_creatio
n_expression_binding (ValaCCodeGenerator* self, ValaArrayCreationExpression
* node); | | ValaCCodeArrayCreationExpressionBinding* vala_ccode_generator_array_creatio
n_expression_binding (ValaCCodeGenerator* self, ValaArrayCreationExpression
* node); | |
| ValaCCodeElementAccessBinding* vala_ccode_generator_element_access_binding
(ValaCCodeGenerator* self, ValaElementAccess* node); | | ValaCCodeElementAccessBinding* vala_ccode_generator_element_access_binding
(ValaCCodeGenerator* self, ValaElementAccess* node); | |
| ValaCCodeAssignmentBinding* vala_ccode_generator_assignment_binding (ValaCC
odeGenerator* self, ValaAssignment* node); | | ValaCCodeAssignmentBinding* vala_ccode_generator_assignment_binding (ValaCC
odeGenerator* self, ValaAssignment* node); | |
|
| char* vala_ccode_generator_get_marshaller_function (ValaCCodeGenerator* sel | | char* vala_ccode_generator_get_marshaller_function (ValaCCodeGenerator* sel | |
| f, GeeCollection* params, ValaDataType* return_type, const char* prefix); | | f, GeeList* params, ValaDataType* return_type, const char* prefix, gboolean | |
| void vala_ccode_generator_generate_marshaller (ValaCCodeGenerator* self, Ge | | dbus); | |
| eCollection* params, ValaDataType* return_type); | | void vala_ccode_generator_generate_marshaller (ValaCCodeGenerator* self, Ge | |
| | | eList* params, ValaDataType* return_type, gboolean dbus); | |
| GType vala_ccode_generator_get_type (void); | | GType vala_ccode_generator_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 18 change blocks. |
| 23 lines changed or deleted | | 36 lines changed or added | |
|
| valaccodetypesymbolbinding.h | | valaccodetypesymbolbinding.h | |
| | | | |
| skipping to change at line 37 | | skipping to change at line 37 | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <ccode/valaccodefunctioncall.h> | | #include <ccode/valaccodefunctioncall.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valatypesymbol.h> | |
| #include <gobject/valaccodebinding.h> | | #include <gobject/valaccodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| #define VALA_TYPE_CCODE_TYPESYMBOL_BINDING (vala_ccode_typesymbol_binding_g | | #define VALA_TYPE_CCODE_TYPE_SYMBOL_BINDING (vala_ccode_type_symbol_binding | |
| et_type ()) | | _get_type ()) | |
| #define VALA_CCODE_TYPESYMBOL_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob | | #define VALA_CCODE_TYPE_SYMBOL_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o | |
| j), VALA_TYPE_CCODE_TYPESYMBOL_BINDING, ValaCCodeTypesymbolBinding)) | | bj), VALA_TYPE_CCODE_TYPE_SYMBOL_BINDING, ValaCCodeTypeSymbolBinding)) | |
| #define VALA_CCODE_TYPESYMBOL_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST | | #define VALA_CCODE_TYPE_SYMBOL_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS | |
| ((klass), VALA_TYPE_CCODE_TYPESYMBOL_BINDING, ValaCCodeTypesymbolBindingCl | | T ((klass), VALA_TYPE_CCODE_TYPE_SYMBOL_BINDING, ValaCCodeTypeSymbolBinding | |
| ass)) | | Class)) | |
| #define VALA_IS_CCODE_TYPESYMBOL_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( | | #define VALA_IS_CCODE_TYPE_SYMBOL_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE | |
| (obj), VALA_TYPE_CCODE_TYPESYMBOL_BINDING)) | | ((obj), VALA_TYPE_CCODE_TYPE_SYMBOL_BINDING)) | |
| #define VALA_IS_CCODE_TYPESYMBOL_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_T | | #define VALA_IS_CCODE_TYPE_SYMBOL_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_ | |
| YPE ((klass), VALA_TYPE_CCODE_TYPESYMBOL_BINDING)) | | TYPE ((klass), VALA_TYPE_CCODE_TYPE_SYMBOL_BINDING)) | |
| #define VALA_CCODE_TYPESYMBOL_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C | | #define VALA_CCODE_TYPE_SYMBOL_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ | |
| LASS ((obj), VALA_TYPE_CCODE_TYPESYMBOL_BINDING, ValaCCodeTypesymbolBinding | | CLASS ((obj), VALA_TYPE_CCODE_TYPE_SYMBOL_BINDING, ValaCCodeTypeSymbolBindi | |
| Class)) | | ngClass)) | |
| | | | |
|
| typedef struct _ValaCCodeTypesymbolBinding ValaCCodeTypesymbolBinding; | | typedef struct _ValaCCodeTypeSymbolBinding ValaCCodeTypeSymbolBinding; | |
| typedef struct _ValaCCodeTypesymbolBindingClass ValaCCodeTypesymbolBindingC | | typedef struct _ValaCCodeTypeSymbolBindingClass ValaCCodeTypeSymbolBindingC | |
| lass; | | lass; | |
| typedef struct _ValaCCodeTypesymbolBindingPrivate ValaCCodeTypesymbolBindin | | typedef struct _ValaCCodeTypeSymbolBindingPrivate ValaCCodeTypeSymbolBindin | |
| gPrivate; | | gPrivate; | |
| | | | |
|
| struct _ValaCCodeTypesymbolBinding { | | struct _ValaCCodeTypeSymbolBinding { | |
| ValaCCodeBinding parent_instance; | | ValaCCodeBinding parent_instance; | |
|
| ValaCCodeTypesymbolBindingPrivate * priv; | | ValaCCodeTypeSymbolBindingPrivate * priv; | |
| }; | | }; | |
| | | | |
|
| struct _ValaCCodeTypesymbolBindingClass { | | struct _ValaCCodeTypeSymbolBindingClass { | |
| ValaCCodeBindingClass parent_class; | | ValaCCodeBindingClass parent_class; | |
| }; | | }; | |
| | | | |
|
| ValaCCodeFunctionCall* vala_ccode_typesymbol_binding_get_param_spec (ValaCC | | ValaCCodeFunctionCall* vala_ccode_type_symbol_binding_get_param_spec (ValaC | |
| odeTypesymbolBinding* self, ValaProperty* prop); | | CodeTypeSymbolBinding* self, ValaProperty* prop); | |
| ValaCCodeFunctionCall* vala_ccode_typesymbol_binding_get_signal_creation (V | | ValaCCodeFunctionCall* vala_ccode_type_symbol_binding_get_signal_creation ( | |
| alaCCodeTypesymbolBinding* self, ValaSignal* sig, ValaTypesymbol* type); | | ValaCCodeTypeSymbolBinding* self, ValaSignal* sig, ValaTypeSymbol* type); | |
| ValaCCodeTypesymbolBinding* vala_ccode_typesymbol_binding_new (void); | | GType vala_ccode_type_symbol_binding_get_type (void); | |
| GType vala_ccode_typesymbol_binding_get_type (void); | | | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 28 lines changed or deleted | | 27 lines changed or added | |
|
| valaclass.h | | valaclass.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALACLASS_H__ | | #ifndef __VALA_VALACLASS_H__ | |
| #define __VALA_VALACLASS_H__ | | #define __VALA_VALACLASS_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valaobjecttypesymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valatypesymbol.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CLASS (vala_class_get_type ()) | | #define VALA_TYPE_CLASS (vala_class_get_type ()) | |
| #define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS
, ValaClass)) | | #define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS
, ValaClass)) | |
| #define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP
E_CLASS, ValaClassClass)) | | #define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP
E_CLASS, ValaClassClass)) | |
| #define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CL
ASS)) | | #define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CL
ASS)) | |
| #define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_
TYPE_CLASS)) | | #define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_
TYPE_CLASS)) | |
| #define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T
YPE_CLASS, ValaClassClass)) | | #define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T
YPE_CLASS, ValaClassClass)) | |
| | | | |
| typedef struct _ValaClassPrivate ValaClassPrivate; | | typedef struct _ValaClassPrivate ValaClassPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a class declaration in the source code. | | * Represents a class declaration in the source code. | |
| */ | | */ | |
| struct _ValaClass { | | struct _ValaClass { | |
|
| ValaTypesymbol parent_instance; | | ValaObjectTypeSymbol parent_instance; | |
| ValaClassPrivate * priv; | | ValaClassPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaClassClass { | | struct _ValaClassClass { | |
|
| ValaTypesymbolClass parent_class; | | ValaObjectTypeSymbolClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaClass* vala_class_new (const char* name, ValaSourceReference* source_re
ference); | | ValaClass* vala_class_new (const char* name, ValaSourceReference* source_re
ference); | |
| void vala_class_add_base_type (ValaClass* self, ValaDataType* type); | | void vala_class_add_base_type (ValaClass* self, ValaDataType* type); | |
|
| GeeCollection* vala_class_get_base_types (ValaClass* self); | | GeeList* vala_class_get_base_types (ValaClass* self); | |
| void vala_class_add_type_parameter (ValaClass* self, ValaTypeParameter* p); | | void vala_class_add_type_parameter (ValaClass* self, ValaTypeParameter* p); | |
|
| GeeCollection* vala_class_get_type_parameters (ValaClass* self); | | GeeList* vala_class_get_type_parameters (ValaClass* self); | |
| void vala_class_add_constant (ValaClass* self, ValaConstant* c); | | void vala_class_add_constant (ValaClass* self, ValaConstant* c); | |
| void vala_class_add_field (ValaClass* self, ValaField* f); | | void vala_class_add_field (ValaClass* self, ValaField* f); | |
|
| GeeCollection* vala_class_get_fields (ValaClass* self); | | GeeList* vala_class_get_fields (ValaClass* self); | |
| void vala_class_add_method (ValaClass* self, ValaMethod* m); | | void vala_class_add_method (ValaClass* self, ValaMethod* m); | |
|
| GeeCollection* vala_class_get_methods (ValaClass* self); | | void vala_class_add_property (ValaClass* self, ValaProperty* prop); | |
| void vala_class_add_property (ValaClass* self, ValaProperty* prop, gboolean | | | |
| no_field); | | | |
| GeeCollection* vala_class_get_properties (ValaClass* self); | | | |
| void vala_class_add_signal (ValaClass* self, ValaSignal* sig); | | void vala_class_add_signal (ValaClass* self, ValaSignal* sig); | |
|
| GeeCollection* vala_class_get_signals (ValaClass* self); | | | |
| void vala_class_add_class (ValaClass* self, ValaClass* cl); | | void vala_class_add_class (ValaClass* self, ValaClass* cl); | |
| void vala_class_add_struct (ValaClass* self, ValaStruct* st); | | void vala_class_add_struct (ValaClass* self, ValaStruct* st); | |
| void vala_class_add_enum (ValaClass* self, ValaEnum* en); | | void vala_class_add_enum (ValaClass* self, ValaEnum* en); | |
| void vala_class_add_delegate (ValaClass* self, ValaDelegate* d); | | void vala_class_add_delegate (ValaClass* self, ValaDelegate* d); | |
| char* vala_class_get_default_cname (ValaClass* self); | | char* vala_class_get_default_cname (ValaClass* self); | |
| void vala_class_set_cname (ValaClass* self, const char* cname); | | void vala_class_set_cname (ValaClass* self, const char* cname); | |
| void vala_class_process_attributes (ValaClass* self); | | void vala_class_process_attributes (ValaClass* self); | |
| void vala_class_set_type_id (ValaClass* self, const char* type_id); | | void vala_class_set_type_id (ValaClass* self, const char* type_id); | |
| void vala_class_set_ref_function (ValaClass* self, const char* name); | | void vala_class_set_ref_function (ValaClass* self, const char* name); | |
| void vala_class_set_unref_function (ValaClass* self, const char* name); | | void vala_class_set_unref_function (ValaClass* self, const char* name); | |
| void vala_class_set_dup_function (ValaClass* self, const char* name); | | void vala_class_set_dup_function (ValaClass* self, const char* name); | |
| char* vala_class_get_default_free_function (ValaClass* self); | | char* vala_class_get_default_free_function (ValaClass* self); | |
| void vala_class_set_free_function (ValaClass* self, const char* name); | | void vala_class_set_free_function (ValaClass* self, const char* name); | |
| ValaClass* vala_class_get_base_class (ValaClass* self); | | ValaClass* vala_class_get_base_class (ValaClass* self); | |
| void vala_class_set_base_class (ValaClass* self, ValaClass* value); | | void vala_class_set_base_class (ValaClass* self, ValaClass* value); | |
| gboolean vala_class_get_is_abstract (ValaClass* self); | | gboolean vala_class_get_is_abstract (ValaClass* self); | |
| void vala_class_set_is_abstract (ValaClass* self, gboolean value); | | void vala_class_set_is_abstract (ValaClass* self, gboolean value); | |
| gboolean vala_class_get_is_static (ValaClass* self); | | gboolean vala_class_get_is_static (ValaClass* self); | |
| void vala_class_set_is_static (ValaClass* self, gboolean value); | | void vala_class_set_is_static (ValaClass* self, gboolean value); | |
|
| | | gboolean vala_class_get_is_compact (ValaClass* self); | |
| | | void vala_class_set_is_compact (ValaClass* self, gboolean value); | |
| | | gboolean vala_class_get_is_immutable (ValaClass* self); | |
| | | void vala_class_set_is_immutable (ValaClass* self, gboolean value); | |
| gboolean vala_class_get_has_private_fields (ValaClass* self); | | gboolean vala_class_get_has_private_fields (ValaClass* self); | |
| ValaMethod* vala_class_get_default_construction_method (ValaClass* self); | | ValaMethod* vala_class_get_default_construction_method (ValaClass* self); | |
| void vala_class_set_default_construction_method (ValaClass* self, ValaMetho
d* value); | | void vala_class_set_default_construction_method (ValaClass* self, ValaMetho
d* value); | |
| ValaConstructor* vala_class_get_constructor (ValaClass* self); | | ValaConstructor* vala_class_get_constructor (ValaClass* self); | |
| void vala_class_set_constructor (ValaClass* self, ValaConstructor* value); | | void vala_class_set_constructor (ValaClass* self, ValaConstructor* value); | |
| ValaConstructor* vala_class_get_class_constructor (ValaClass* self); | | ValaConstructor* vala_class_get_class_constructor (ValaClass* self); | |
| void vala_class_set_class_constructor (ValaClass* self, ValaConstructor* va
lue); | | void vala_class_set_class_constructor (ValaClass* self, ValaConstructor* va
lue); | |
| ValaConstructor* vala_class_get_static_constructor (ValaClass* self); | | ValaConstructor* vala_class_get_static_constructor (ValaClass* self); | |
| void vala_class_set_static_constructor (ValaClass* self, ValaConstructor* v
alue); | | void vala_class_set_static_constructor (ValaClass* self, ValaConstructor* v
alue); | |
| ValaDestructor* vala_class_get_destructor (ValaClass* self); | | ValaDestructor* vala_class_get_destructor (ValaClass* self); | |
| | | | |
End of changes. 10 change blocks. |
| 12 lines changed or deleted | | 13 lines changed or added | |
|
| valacodecontext.h | | valacodecontext.h | |
| | | | |
| skipping to change at line 28 | | skipping to change at line 28 | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALACODECONTEXT_H__ | | #ifndef __VALA_VALACODECONTEXT_H__ | |
| #define __VALA_VALACODECONTEXT_H__ | | #define __VALA_VALACODECONTEXT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ()) | | #define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ()) | |
| #define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_CODE_CONTEXT, ValaCodeContext)) | | #define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_CODE_CONTEXT, ValaCodeContext)) | |
| #define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | | #define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | |
| #define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_CODE_CONTEXT)) | | #define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_CODE_CONTEXT)) | |
| | | | |
| skipping to change at line 57 | | skipping to change at line 57 | |
| struct _ValaCodeContext { | | struct _ValaCodeContext { | |
| GObject parent_instance; | | GObject parent_instance; | |
| ValaCodeContextPrivate * priv; | | ValaCodeContextPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaCodeContextClass { | | struct _ValaCodeContextClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaCodeContext* vala_code_context_new (void); | | ValaCodeContext* vala_code_context_new (void); | |
|
| GeeCollection* vala_code_context_get_source_files (ValaCodeContext* self); | | GeeList* vala_code_context_get_source_files (ValaCodeContext* self); | |
| GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self) | | GeeList* vala_code_context_get_c_source_files (ValaCodeContext* self); | |
| ; | | | |
| void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi
le* file); | | void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi
le* file); | |
| void vala_code_context_add_c_source_file (ValaCodeContext* self, const char
* file); | | void vala_code_context_add_c_source_file (ValaCodeContext* self, const char
* file); | |
|
| GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | | GeeList* vala_code_context_get_packages (ValaCodeContext* self); | |
| gboolean vala_code_context_has_package (ValaCodeContext* self, const char*
pkg); | | gboolean vala_code_context_has_package (ValaCodeContext* self, const char*
pkg); | |
| void vala_code_context_add_package (ValaCodeContext* self, const char* pkg)
; | | void vala_code_context_add_package (ValaCodeContext* self, const char* pkg)
; | |
| void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi
tor); | | void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi
tor); | |
| void vala_code_context_find_header_cycles (ValaCodeContext* self); | | void vala_code_context_find_header_cycles (ValaCodeContext* self); | |
| void vala_code_context_add_define (ValaCodeContext* self, const char* defin
e); | | void vala_code_context_add_define (ValaCodeContext* self, const char* defin
e); | |
| gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode
* node); | | gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode
* node); | |
| char* vala_code_context_get_package_path (ValaCodeContext* self, const char
* pkg, int vapi_directories_length1, char** vapi_directories); | | char* vala_code_context_get_package_path (ValaCodeContext* self, const char
* pkg, int vapi_directories_length1, char** vapi_directories); | |
|
| void vala_code_context_add_dynamic_member (ValaCodeContext* self, ValaSymbo | | const char* vala_code_context_get_library (ValaCodeContext* self); | |
| l* dynamic_member); | | | |
| char* vala_code_context_get_library (ValaCodeContext* self); | | | |
| void vala_code_context_set_library (ValaCodeContext* self, const char* valu
e); | | void vala_code_context_set_library (ValaCodeContext* self, const char* valu
e); | |
| gboolean vala_code_context_get_memory_management (ValaCodeContext* self); | | gboolean vala_code_context_get_memory_management (ValaCodeContext* self); | |
| void vala_code_context_set_memory_management (ValaCodeContext* self, gboole
an value); | | void vala_code_context_set_memory_management (ValaCodeContext* self, gboole
an value); | |
| gboolean vala_code_context_get_assert (ValaCodeContext* self); | | gboolean vala_code_context_get_assert (ValaCodeContext* self); | |
| void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | | void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | |
| gboolean vala_code_context_get_checking (ValaCodeContext* self); | | gboolean vala_code_context_get_checking (ValaCodeContext* self); | |
| void vala_code_context_set_checking (ValaCodeContext* self, gboolean value)
; | | void vala_code_context_set_checking (ValaCodeContext* self, gboolean value)
; | |
| gboolean vala_code_context_get_non_null (ValaCodeContext* self); | | gboolean vala_code_context_get_non_null (ValaCodeContext* self); | |
| void vala_code_context_set_non_null (ValaCodeContext* self, gboolean value)
; | | void vala_code_context_set_non_null (ValaCodeContext* self, gboolean value)
; | |
| gboolean vala_code_context_get_non_null_experimental (ValaCodeContext* self
); | | gboolean vala_code_context_get_non_null_experimental (ValaCodeContext* self
); | |
| void vala_code_context_set_non_null_experimental (ValaCodeContext* self, gb
oolean value); | | void vala_code_context_set_non_null_experimental (ValaCodeContext* self, gb
oolean value); | |
| gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | | gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | |
| void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu
e); | | void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu
e); | |
| gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | | gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | |
| void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va
lue); | | void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va
lue); | |
|
| char* vala_code_context_get_output (ValaCodeContext* self); | | const char* vala_code_context_get_output (ValaCodeContext* self); | |
| void vala_code_context_set_output (ValaCodeContext* self, const char* value
); | | void vala_code_context_set_output (ValaCodeContext* self, const char* value
); | |
|
| char* vala_code_context_get_basedir (ValaCodeContext* self); | | const char* vala_code_context_get_basedir (ValaCodeContext* self); | |
| void vala_code_context_set_basedir (ValaCodeContext* self, const char* valu
e); | | void vala_code_context_set_basedir (ValaCodeContext* self, const char* valu
e); | |
|
| char* vala_code_context_get_directory (ValaCodeContext* self); | | const char* vala_code_context_get_directory (ValaCodeContext* self); | |
| void vala_code_context_set_directory (ValaCodeContext* self, const char* va
lue); | | void vala_code_context_set_directory (ValaCodeContext* self, const char* va
lue); | |
| gboolean vala_code_context_get_debug (ValaCodeContext* self); | | gboolean vala_code_context_get_debug (ValaCodeContext* self); | |
| void vala_code_context_set_debug (ValaCodeContext* self, gboolean value); | | void vala_code_context_set_debug (ValaCodeContext* self, gboolean value); | |
| gint vala_code_context_get_optlevel (ValaCodeContext* self); | | gint vala_code_context_get_optlevel (ValaCodeContext* self); | |
| void vala_code_context_set_optlevel (ValaCodeContext* self, gint value); | | void vala_code_context_set_optlevel (ValaCodeContext* self, gint value); | |
| gboolean vala_code_context_get_thread (ValaCodeContext* self); | | gboolean vala_code_context_get_thread (ValaCodeContext* self); | |
| void vala_code_context_set_thread (ValaCodeContext* self, gboolean value); | | void vala_code_context_set_thread (ValaCodeContext* self, gboolean value); | |
| ValaMethod* vala_code_context_get_module_init_method (ValaCodeContext* self
); | | ValaMethod* vala_code_context_get_module_init_method (ValaCodeContext* self
); | |
| void vala_code_context_set_module_init_method (ValaCodeContext* self, ValaM
ethod* value); | | void vala_code_context_set_module_init_method (ValaCodeContext* self, ValaM
ethod* value); | |
| gboolean vala_code_context_get_save_temps (ValaCodeContext* self); | | gboolean vala_code_context_get_save_temps (ValaCodeContext* self); | |
| | | | |
End of changes. 7 change blocks. |
| 11 lines changed or deleted | | 8 lines changed or added | |
|
| valacodegenerator.h | | valacodegenerator.h | |
| | | | |
| skipping to change at line 70 | | skipping to change at line 70 | |
| ValaCodeBinding* (*create_error_domain_binding) (ValaCodeGenerator*
self, ValaErrorDomain* node); | | ValaCodeBinding* (*create_error_domain_binding) (ValaCodeGenerator*
self, ValaErrorDomain* node); | |
| ValaCodeBinding* (*create_error_code_binding) (ValaCodeGenerator* se
lf, ValaErrorCode* node); | | ValaCodeBinding* (*create_error_code_binding) (ValaCodeGenerator* se
lf, ValaErrorCode* node); | |
| ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self
, ValaDelegate* node); | | ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self
, ValaDelegate* node); | |
| ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self
, ValaConstant* node); | | ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self
, ValaConstant* node); | |
| ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V
alaField* node); | | ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V
alaField* node); | |
| ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self,
ValaMethod* node); | | ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self,
ValaMethod* node); | |
| ValaCodeBinding* (*create_dynamic_method_binding) (ValaCodeGenerator
* self, ValaDynamicMethod* node); | | ValaCodeBinding* (*create_dynamic_method_binding) (ValaCodeGenerator
* self, ValaDynamicMethod* node); | |
| ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato
r* self, ValaCreationMethod* node); | | ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato
r* self, ValaCreationMethod* node); | |
| ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat
or* self, ValaFormalParameter* node); | | ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat
or* self, ValaFormalParameter* node); | |
| ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self
, ValaProperty* node); | | ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self
, ValaProperty* node); | |
|
| | | ValaCodeBinding* (*create_dynamic_property_binding) (ValaCodeGenerat
or* self, ValaDynamicProperty* node); | |
| ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera
tor* self, ValaPropertyAccessor* node); | | ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera
tor* self, ValaPropertyAccessor* node); | |
| ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self,
ValaSignal* node); | | ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self,
ValaSignal* node); | |
| ValaCodeBinding* (*create_dynamic_signal_binding) (ValaCodeGenerator
* self, ValaDynamicSignal* node); | | ValaCodeBinding* (*create_dynamic_signal_binding) (ValaCodeGenerator
* self, ValaDynamicSignal* node); | |
| ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s
elf, ValaConstructor* node); | | ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s
elf, ValaConstructor* node); | |
| ValaCodeBinding* (*create_destructor_binding) (ValaCodeGenerator* se
lf, ValaDestructor* node); | | ValaCodeBinding* (*create_destructor_binding) (ValaCodeGenerator* se
lf, ValaDestructor* node); | |
| ValaCodeBinding* (*create_type_parameter_binding) (ValaCodeGenerator
* self, ValaTypeParameter* node); | | ValaCodeBinding* (*create_type_parameter_binding) (ValaCodeGenerator
* self, ValaTypeParameter* node); | |
| ValaCodeBinding* (*create_block_binding) (ValaCodeGenerator* self, V
alaBlock* node); | | ValaCodeBinding* (*create_block_binding) (ValaCodeGenerator* self, V
alaBlock* node); | |
| ValaCodeBinding* (*create_empty_statement_binding) (ValaCodeGenerato
r* self, ValaEmptyStatement* node); | | ValaCodeBinding* (*create_empty_statement_binding) (ValaCodeGenerato
r* self, ValaEmptyStatement* node); | |
| ValaCodeBinding* (*create_declaration_statement_binding) (ValaCodeGe
nerator* self, ValaDeclarationStatement* node); | | ValaCodeBinding* (*create_declaration_statement_binding) (ValaCodeGe
nerator* self, ValaDeclarationStatement* node); | |
| ValaCodeBinding* (*create_local_variable_binding) (ValaCodeGenerator
* self, ValaLocalVariable* node); | | ValaCodeBinding* (*create_local_variable_binding) (ValaCodeGenerator
* self, ValaLocalVariable* node); | |
| | | | |
| skipping to change at line 143 | | skipping to change at line 144 | |
| ValaCodeBinding* vala_code_generator_create_error_domain_binding (ValaCodeG
enerator* self, ValaErrorDomain* node); | | ValaCodeBinding* vala_code_generator_create_error_domain_binding (ValaCodeG
enerator* self, ValaErrorDomain* node); | |
| ValaCodeBinding* vala_code_generator_create_error_code_binding (ValaCodeGen
erator* self, ValaErrorCode* node); | | ValaCodeBinding* vala_code_generator_create_error_code_binding (ValaCodeGen
erator* self, ValaErrorCode* node); | |
| ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener
ator* self, ValaDelegate* node); | | ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener
ator* self, ValaDelegate* node); | |
| ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener
ator* self, ValaConstant* node); | | ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener
ator* self, ValaConstant* node); | |
| ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato
r* self, ValaField* node); | | ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato
r* self, ValaField* node); | |
| ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat
or* self, ValaMethod* node); | | ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat
or* self, ValaMethod* node); | |
| ValaCodeBinding* vala_code_generator_create_dynamic_method_binding (ValaCod
eGenerator* self, ValaDynamicMethod* node); | | ValaCodeBinding* vala_code_generator_create_dynamic_method_binding (ValaCod
eGenerator* self, ValaDynamicMethod* node); | |
| ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo
deGenerator* self, ValaCreationMethod* node); | | ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo
deGenerator* self, ValaCreationMethod* node); | |
| ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC
odeGenerator* self, ValaFormalParameter* node); | | ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC
odeGenerator* self, ValaFormalParameter* node); | |
| ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener
ator* self, ValaProperty* node); | | ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener
ator* self, ValaProperty* node); | |
|
| | | ValaCodeBinding* vala_code_generator_create_dynamic_property_binding (ValaC
odeGenerator* self, ValaDynamicProperty* node); | |
| ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala
CodeGenerator* self, ValaPropertyAccessor* node); | | ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala
CodeGenerator* self, ValaPropertyAccessor* node); | |
| ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat
or* self, ValaSignal* node); | | ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat
or* self, ValaSignal* node); | |
| ValaCodeBinding* vala_code_generator_create_dynamic_signal_binding (ValaCod
eGenerator* self, ValaDynamicSignal* node); | | ValaCodeBinding* vala_code_generator_create_dynamic_signal_binding (ValaCod
eGenerator* self, ValaDynamicSignal* node); | |
| ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe
nerator* self, ValaConstructor* node); | | ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe
nerator* self, ValaConstructor* node); | |
| ValaCodeBinding* vala_code_generator_create_destructor_binding (ValaCodeGen
erator* self, ValaDestructor* node); | | ValaCodeBinding* vala_code_generator_create_destructor_binding (ValaCodeGen
erator* self, ValaDestructor* node); | |
| ValaCodeBinding* vala_code_generator_create_type_parameter_binding (ValaCod
eGenerator* self, ValaTypeParameter* node); | | ValaCodeBinding* vala_code_generator_create_type_parameter_binding (ValaCod
eGenerator* self, ValaTypeParameter* node); | |
| ValaCodeBinding* vala_code_generator_create_block_binding (ValaCodeGenerato
r* self, ValaBlock* node); | | ValaCodeBinding* vala_code_generator_create_block_binding (ValaCodeGenerato
r* self, ValaBlock* node); | |
| ValaCodeBinding* vala_code_generator_create_empty_statement_binding (ValaCo
deGenerator* self, ValaEmptyStatement* node); | | ValaCodeBinding* vala_code_generator_create_empty_statement_binding (ValaCo
deGenerator* self, ValaEmptyStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_declaration_statement_binding (
ValaCodeGenerator* self, ValaDeclarationStatement* node); | | ValaCodeBinding* vala_code_generator_create_declaration_statement_binding (
ValaCodeGenerator* self, ValaDeclarationStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_local_variable_binding (ValaCod
eGenerator* self, ValaLocalVariable* node); | | ValaCodeBinding* vala_code_generator_create_local_variable_binding (ValaCod
eGenerator* self, ValaLocalVariable* node); | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|
| valacodenode.h | | valacodenode.h | |
| | | | |
| skipping to change at line 28 | | skipping to change at line 28 | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALACODENODE_H__ | | #ifndef __VALA_VALACODENODE_H__ | |
| #define __VALA_VALACODENODE_H__ | | #define __VALA_VALACODENODE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/list.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <ccode/valaccodenode.h> | | #include <ccode/valaccodenode.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| typedef struct _ValaAddressofExpression ValaAddressofExpression; | | typedef struct _ValaAddressofExpression ValaAddressofExpression; | |
| typedef struct _ValaAddressofExpressionClass ValaAddressofExpressionClass; | | typedef struct _ValaAddressofExpressionClass ValaAddressofExpressionClass; | |
| typedef struct _ValaExpression ValaExpression; | | typedef struct _ValaExpression ValaExpression; | |
| typedef struct _ValaExpressionClass ValaExpressionClass; | | typedef struct _ValaExpressionClass ValaExpressionClass; | |
| typedef struct _ValaCodeNode ValaCodeNode; | | typedef struct _ValaCodeNode ValaCodeNode; | |
| typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | | typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | |
|
| | | typedef struct _ValaDataType ValaDataType; | |
| | | typedef struct _ValaDataTypeClass ValaDataTypeClass; | |
| typedef struct _ValaCodeVisitor ValaCodeVisitor; | | typedef struct _ValaCodeVisitor ValaCodeVisitor; | |
| typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | | typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | |
| typedef struct _ValaSourceFile ValaSourceFile; | | typedef struct _ValaSourceFile ValaSourceFile; | |
| typedef struct _ValaSourceFileClass ValaSourceFileClass; | | typedef struct _ValaSourceFileClass ValaSourceFileClass; | |
| typedef struct _ValaCodeContext ValaCodeContext; | | typedef struct _ValaCodeContext ValaCodeContext; | |
| typedef struct _ValaCodeContextClass ValaCodeContextClass; | | typedef struct _ValaCodeContextClass ValaCodeContextClass; | |
|
| typedef struct _ValaSymbol ValaSymbol; | | | |
| typedef struct _ValaSymbolClass ValaSymbolClass; | | | |
| typedef struct _ValaScope ValaScope; | | | |
| typedef struct _ValaScopeClass ValaScopeClass; | | | |
| typedef struct _ValaMethod ValaMethod; | | typedef struct _ValaMethod ValaMethod; | |
| typedef struct _ValaMethodClass ValaMethodClass; | | typedef struct _ValaMethodClass ValaMethodClass; | |
| typedef struct _ValaMember ValaMember; | | typedef struct _ValaMember ValaMember; | |
| typedef struct _ValaMemberClass ValaMemberClass; | | typedef struct _ValaMemberClass ValaMemberClass; | |
|
| typedef struct _ValaDataType ValaDataType; | | typedef struct _ValaSymbol ValaSymbol; | |
| typedef struct _ValaDataTypeClass ValaDataTypeClass; | | typedef struct _ValaSymbolClass ValaSymbolClass; | |
| typedef struct _ValaTypeParameter ValaTypeParameter; | | typedef struct _ValaScope ValaScope; | |
| typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | | typedef struct _ValaScopeClass ValaScopeClass; | |
| typedef struct _ValaSourceReference ValaSourceReference; | | typedef struct _ValaSourceReference ValaSourceReference; | |
| typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | | typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | |
| typedef struct _ValaFormalParameter ValaFormalParameter; | | typedef struct _ValaFormalParameter ValaFormalParameter; | |
| typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | | typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | |
| typedef struct _ValaCodeGenerator ValaCodeGenerator; | | typedef struct _ValaCodeGenerator ValaCodeGenerator; | |
| typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | | typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | |
| typedef struct _ValaNamespace ValaNamespace; | | typedef struct _ValaNamespace ValaNamespace; | |
| typedef struct _ValaNamespaceClass ValaNamespaceClass; | | typedef struct _ValaNamespaceClass ValaNamespaceClass; | |
| typedef struct _ValaClass ValaClass; | | typedef struct _ValaClass ValaClass; | |
| typedef struct _ValaClassClass ValaClassClass; | | typedef struct _ValaClassClass ValaClassClass; | |
|
| | | typedef struct _ValaTypeParameter ValaTypeParameter; | |
| | | typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | |
| typedef struct _ValaConstant ValaConstant; | | typedef struct _ValaConstant ValaConstant; | |
| typedef struct _ValaConstantClass ValaConstantClass; | | typedef struct _ValaConstantClass ValaConstantClass; | |
| typedef struct _ValaField ValaField; | | typedef struct _ValaField ValaField; | |
| typedef struct _ValaFieldClass ValaFieldClass; | | typedef struct _ValaFieldClass ValaFieldClass; | |
| typedef struct _ValaProperty ValaProperty; | | typedef struct _ValaProperty ValaProperty; | |
| typedef struct _ValaPropertyClass ValaPropertyClass; | | typedef struct _ValaPropertyClass ValaPropertyClass; | |
| typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | | typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | |
| typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | | typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | |
| typedef struct _ValaBlock ValaBlock; | | typedef struct _ValaBlock ValaBlock; | |
| typedef struct _ValaBlockClass ValaBlockClass; | | typedef struct _ValaBlockClass ValaBlockClass; | |
| | | | |
| skipping to change at line 111 | | skipping to change at line 112 | |
| typedef struct _ValaErrorDomain ValaErrorDomain; | | typedef struct _ValaErrorDomain ValaErrorDomain; | |
| typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | | typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | |
| typedef struct _ValaErrorCode ValaErrorCode; | | typedef struct _ValaErrorCode ValaErrorCode; | |
| typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | | typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | |
| typedef struct _ValaDynamicMethod ValaDynamicMethod; | | typedef struct _ValaDynamicMethod ValaDynamicMethod; | |
| typedef struct _ValaDynamicMethodClass ValaDynamicMethodClass; | | typedef struct _ValaDynamicMethodClass ValaDynamicMethodClass; | |
| typedef struct _ValaInvocationExpression ValaInvocationExpression; | | typedef struct _ValaInvocationExpression ValaInvocationExpression; | |
| typedef struct _ValaInvocationExpressionClass ValaInvocationExpressionClass
; | | typedef struct _ValaInvocationExpressionClass ValaInvocationExpressionClass
; | |
| typedef struct _ValaCreationMethod ValaCreationMethod; | | typedef struct _ValaCreationMethod ValaCreationMethod; | |
| typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | | typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | |
|
| | | typedef struct _ValaDynamicProperty ValaDynamicProperty; | |
| | | typedef struct _ValaDynamicPropertyClass ValaDynamicPropertyClass; | |
| typedef struct _ValaDynamicSignal ValaDynamicSignal; | | typedef struct _ValaDynamicSignal ValaDynamicSignal; | |
| typedef struct _ValaDynamicSignalClass ValaDynamicSignalClass; | | typedef struct _ValaDynamicSignalClass ValaDynamicSignalClass; | |
| typedef struct _ValaEmptyStatement ValaEmptyStatement; | | typedef struct _ValaEmptyStatement ValaEmptyStatement; | |
| typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | | typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | |
| typedef struct _ValaDeclarationStatement ValaDeclarationStatement; | | typedef struct _ValaDeclarationStatement ValaDeclarationStatement; | |
| typedef struct _ValaDeclarationStatementClass ValaDeclarationStatementClass
; | | typedef struct _ValaDeclarationStatementClass ValaDeclarationStatementClass
; | |
| typedef struct _ValaInitializerList ValaInitializerList; | | typedef struct _ValaInitializerList ValaInitializerList; | |
| typedef struct _ValaInitializerListClass ValaInitializerListClass; | | typedef struct _ValaInitializerListClass ValaInitializerListClass; | |
| typedef struct _ValaExpressionStatement ValaExpressionStatement; | | typedef struct _ValaExpressionStatement ValaExpressionStatement; | |
| typedef struct _ValaExpressionStatementClass ValaExpressionStatementClass; | | typedef struct _ValaExpressionStatementClass ValaExpressionStatementClass; | |
| | | | |
| skipping to change at line 245 | | skipping to change at line 248 | |
| struct _ValaCodeNodeClass { | | struct _ValaCodeNodeClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | | void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | |
| void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito
r); | | void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito
r); | |
| void (*replace_type) (ValaCodeNode* self, ValaDataType* old_type, Va
laDataType* new_type); | | void (*replace_type) (ValaCodeNode* self, ValaDataType* old_type, Va
laDataType* new_type); | |
| void (*replace_expression) (ValaCodeNode* self, ValaExpression* old_
node, ValaExpression* new_node); | | void (*replace_expression) (ValaCodeNode* self, ValaExpression* old_
node, ValaExpression* new_node); | |
| char* (*to_string) (ValaCodeNode* self); | | char* (*to_string) (ValaCodeNode* self); | |
| ValaCodeBinding* (*create_code_binding) (ValaCodeNode* self, ValaCod
eGenerator* codegen); | | ValaCodeBinding* (*create_code_binding) (ValaCodeNode* self, ValaCod
eGenerator* codegen); | |
| }; | | }; | |
| | | | |
|
| | | GeeList* vala_code_node_get_error_types (ValaCodeNode* self); | |
| | | void vala_code_node_add_error_type (ValaCodeNode* self, ValaDataType* error | |
| | | _type); | |
| | | void vala_code_node_add_error_types (ValaCodeNode* self, GeeList* error_typ | |
| | | es); | |
| void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | | void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | |
| void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v
isitor); | | void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v
isitor); | |
| void vala_code_node_replace_type (ValaCodeNode* self, ValaDataType* old_typ
e, ValaDataType* new_type); | | void vala_code_node_replace_type (ValaCodeNode* self, ValaDataType* old_typ
e, ValaDataType* new_type); | |
| void vala_code_node_replace_expression (ValaCodeNode* self, ValaExpression*
old_node, ValaExpression* new_node); | | void vala_code_node_replace_expression (ValaCodeNode* self, ValaExpression*
old_node, ValaExpression* new_node); | |
| ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char
* name); | | ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char
* name); | |
| char* vala_code_node_to_string (ValaCodeNode* self); | | char* vala_code_node_to_string (ValaCodeNode* self); | |
| ValaCodeBinding* vala_code_node_get_code_binding (ValaCodeNode* self, ValaC
odeGenerator* codegen); | | ValaCodeBinding* vala_code_node_get_code_binding (ValaCodeNode* self, ValaC
odeGenerator* codegen); | |
| ValaCodeBinding* vala_code_node_create_code_binding (ValaCodeNode* self, Va
laCodeGenerator* codegen); | | ValaCodeBinding* vala_code_node_create_code_binding (ValaCodeNode* self, Va
laCodeGenerator* codegen); | |
|
| ValaCodeNode* vala_code_node_new (void); | | | |
| ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | | ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | |
| void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu
e); | | void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu
e); | |
| ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel
f); | | ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel
f); | |
| void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef
erence* value); | | void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef
erence* value); | |
| ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | | ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | |
| void vala_code_node_set_ccodenode (ValaCodeNode* self, ValaCCodeNode* value
); | | void vala_code_node_set_ccodenode (ValaCodeNode* self, ValaCCodeNode* value
); | |
| gboolean vala_code_node_get_error (ValaCodeNode* self); | | gboolean vala_code_node_get_error (ValaCodeNode* self); | |
| void vala_code_node_set_error (ValaCodeNode* self, gboolean value); | | void vala_code_node_set_error (ValaCodeNode* self, gboolean value); | |
| gboolean vala_code_node_get_tree_can_fail (ValaCodeNode* self); | | gboolean vala_code_node_get_tree_can_fail (ValaCodeNode* self); | |
|
| void vala_code_node_set_tree_can_fail (ValaCodeNode* self, gboolean value); | | | |
| GType vala_code_node_get_type (void); | | GType vala_code_node_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 9 change blocks. |
| 10 lines changed or deleted | | 16 lines changed or added | |
|
| valacodevisitor.h | | valacodevisitor.h | |
| | | | |
| skipping to change at line 99 | | skipping to change at line 99 | |
| void (*visit_for_statement) (ValaCodeVisitor* self, ValaForStatement
* stmt); | | void (*visit_for_statement) (ValaCodeVisitor* self, ValaForStatement
* stmt); | |
| void (*visit_foreach_statement) (ValaCodeVisitor* self, ValaForeachS
tatement* stmt); | | void (*visit_foreach_statement) (ValaCodeVisitor* self, ValaForeachS
tatement* stmt); | |
| void (*visit_break_statement) (ValaCodeVisitor* self, ValaBreakState
ment* stmt); | | void (*visit_break_statement) (ValaCodeVisitor* self, ValaBreakState
ment* stmt); | |
| void (*visit_continue_statement) (ValaCodeVisitor* self, ValaContinu
eStatement* stmt); | | void (*visit_continue_statement) (ValaCodeVisitor* self, ValaContinu
eStatement* stmt); | |
| void (*visit_return_statement) (ValaCodeVisitor* self, ValaReturnSta
tement* stmt); | | void (*visit_return_statement) (ValaCodeVisitor* self, ValaReturnSta
tement* stmt); | |
| void (*visit_throw_statement) (ValaCodeVisitor* self, ValaThrowState
ment* stmt); | | void (*visit_throw_statement) (ValaCodeVisitor* self, ValaThrowState
ment* stmt); | |
| void (*visit_try_statement) (ValaCodeVisitor* self, ValaTryStatement
* stmt); | | void (*visit_try_statement) (ValaCodeVisitor* self, ValaTryStatement
* stmt); | |
| void (*visit_catch_clause) (ValaCodeVisitor* self, ValaCatchClause*
clause); | | void (*visit_catch_clause) (ValaCodeVisitor* self, ValaCatchClause*
clause); | |
| void (*visit_lock_statement) (ValaCodeVisitor* self, ValaLockStateme
nt* stmt); | | void (*visit_lock_statement) (ValaCodeVisitor* self, ValaLockStateme
nt* stmt); | |
| void (*visit_delete_statement) (ValaCodeVisitor* self, ValaDeleteSta
tement* stmt); | | void (*visit_delete_statement) (ValaCodeVisitor* self, ValaDeleteSta
tement* stmt); | |
|
| | | void (*visit_expression) (ValaCodeVisitor* self, ValaExpression* exp
r); | |
| void (*visit_array_creation_expression) (ValaCodeVisitor* self, Vala
ArrayCreationExpression* expr); | | void (*visit_array_creation_expression) (ValaCodeVisitor* self, Vala
ArrayCreationExpression* expr); | |
| void (*visit_boolean_literal) (ValaCodeVisitor* self, ValaBooleanLit
eral* lit); | | void (*visit_boolean_literal) (ValaCodeVisitor* self, ValaBooleanLit
eral* lit); | |
| void (*visit_character_literal) (ValaCodeVisitor* self, ValaCharacte
rLiteral* lit); | | void (*visit_character_literal) (ValaCodeVisitor* self, ValaCharacte
rLiteral* lit); | |
| void (*visit_integer_literal) (ValaCodeVisitor* self, ValaIntegerLit
eral* lit); | | void (*visit_integer_literal) (ValaCodeVisitor* self, ValaIntegerLit
eral* lit); | |
| void (*visit_real_literal) (ValaCodeVisitor* self, ValaRealLiteral*
lit); | | void (*visit_real_literal) (ValaCodeVisitor* self, ValaRealLiteral*
lit); | |
| void (*visit_string_literal) (ValaCodeVisitor* self, ValaStringLiter
al* lit); | | void (*visit_string_literal) (ValaCodeVisitor* self, ValaStringLiter
al* lit); | |
| void (*visit_null_literal) (ValaCodeVisitor* self, ValaNullLiteral*
lit); | | void (*visit_null_literal) (ValaCodeVisitor* self, ValaNullLiteral*
lit); | |
| void (*visit_parenthesized_expression) (ValaCodeVisitor* self, ValaP
arenthesizedExpression* expr); | | void (*visit_parenthesized_expression) (ValaCodeVisitor* self, ValaP
arenthesizedExpression* expr); | |
| void (*visit_member_access) (ValaCodeVisitor* self, ValaMemberAccess
* expr); | | void (*visit_member_access) (ValaCodeVisitor* self, ValaMemberAccess
* expr); | |
| void (*visit_invocation_expression) (ValaCodeVisitor* self, ValaInvo
cationExpression* expr); | | void (*visit_invocation_expression) (ValaCodeVisitor* self, ValaInvo
cationExpression* expr); | |
| | | | |
| skipping to change at line 175 | | skipping to change at line 176 | |
| void vala_code_visitor_visit_for_statement (ValaCodeVisitor* self, ValaForS
tatement* stmt); | | void vala_code_visitor_visit_for_statement (ValaCodeVisitor* self, ValaForS
tatement* stmt); | |
| void vala_code_visitor_visit_foreach_statement (ValaCodeVisitor* self, Vala
ForeachStatement* stmt); | | void vala_code_visitor_visit_foreach_statement (ValaCodeVisitor* self, Vala
ForeachStatement* stmt); | |
| void vala_code_visitor_visit_break_statement (ValaCodeVisitor* self, ValaBr
eakStatement* stmt); | | void vala_code_visitor_visit_break_statement (ValaCodeVisitor* self, ValaBr
eakStatement* stmt); | |
| void vala_code_visitor_visit_continue_statement (ValaCodeVisitor* self, Val
aContinueStatement* stmt); | | void vala_code_visitor_visit_continue_statement (ValaCodeVisitor* self, Val
aContinueStatement* stmt); | |
| void vala_code_visitor_visit_return_statement (ValaCodeVisitor* self, ValaR
eturnStatement* stmt); | | void vala_code_visitor_visit_return_statement (ValaCodeVisitor* self, ValaR
eturnStatement* stmt); | |
| void vala_code_visitor_visit_throw_statement (ValaCodeVisitor* self, ValaTh
rowStatement* stmt); | | void vala_code_visitor_visit_throw_statement (ValaCodeVisitor* self, ValaTh
rowStatement* stmt); | |
| void vala_code_visitor_visit_try_statement (ValaCodeVisitor* self, ValaTryS
tatement* stmt); | | void vala_code_visitor_visit_try_statement (ValaCodeVisitor* self, ValaTryS
tatement* stmt); | |
| void vala_code_visitor_visit_catch_clause (ValaCodeVisitor* self, ValaCatch
Clause* clause); | | void vala_code_visitor_visit_catch_clause (ValaCodeVisitor* self, ValaCatch
Clause* clause); | |
| void vala_code_visitor_visit_lock_statement (ValaCodeVisitor* self, ValaLoc
kStatement* stmt); | | void vala_code_visitor_visit_lock_statement (ValaCodeVisitor* self, ValaLoc
kStatement* stmt); | |
| void vala_code_visitor_visit_delete_statement (ValaCodeVisitor* self, ValaD
eleteStatement* stmt); | | void vala_code_visitor_visit_delete_statement (ValaCodeVisitor* self, ValaD
eleteStatement* stmt); | |
|
| | | void vala_code_visitor_visit_expression (ValaCodeVisitor* self, ValaExpress
ion* expr); | |
| void vala_code_visitor_visit_array_creation_expression (ValaCodeVisitor* se
lf, ValaArrayCreationExpression* expr); | | void vala_code_visitor_visit_array_creation_expression (ValaCodeVisitor* se
lf, ValaArrayCreationExpression* expr); | |
| void vala_code_visitor_visit_boolean_literal (ValaCodeVisitor* self, ValaBo
oleanLiteral* lit); | | void vala_code_visitor_visit_boolean_literal (ValaCodeVisitor* self, ValaBo
oleanLiteral* lit); | |
| void vala_code_visitor_visit_character_literal (ValaCodeVisitor* self, Vala
CharacterLiteral* lit); | | void vala_code_visitor_visit_character_literal (ValaCodeVisitor* self, Vala
CharacterLiteral* lit); | |
| void vala_code_visitor_visit_integer_literal (ValaCodeVisitor* self, ValaIn
tegerLiteral* lit); | | void vala_code_visitor_visit_integer_literal (ValaCodeVisitor* self, ValaIn
tegerLiteral* lit); | |
| void vala_code_visitor_visit_real_literal (ValaCodeVisitor* self, ValaRealL
iteral* lit); | | void vala_code_visitor_visit_real_literal (ValaCodeVisitor* self, ValaRealL
iteral* lit); | |
| void vala_code_visitor_visit_string_literal (ValaCodeVisitor* self, ValaStr
ingLiteral* lit); | | void vala_code_visitor_visit_string_literal (ValaCodeVisitor* self, ValaStr
ingLiteral* lit); | |
| void vala_code_visitor_visit_null_literal (ValaCodeVisitor* self, ValaNullL
iteral* lit); | | void vala_code_visitor_visit_null_literal (ValaCodeVisitor* self, ValaNullL
iteral* lit); | |
| void vala_code_visitor_visit_parenthesized_expression (ValaCodeVisitor* sel
f, ValaParenthesizedExpression* expr); | | void vala_code_visitor_visit_parenthesized_expression (ValaCodeVisitor* sel
f, ValaParenthesizedExpression* expr); | |
| void vala_code_visitor_visit_member_access (ValaCodeVisitor* self, ValaMemb
erAccess* expr); | | void vala_code_visitor_visit_member_access (ValaCodeVisitor* self, ValaMemb
erAccess* expr); | |
| void vala_code_visitor_visit_invocation_expression (ValaCodeVisitor* self,
ValaInvocationExpression* expr); | | void vala_code_visitor_visit_invocation_expression (ValaCodeVisitor* self,
ValaInvocationExpression* expr); | |
| | | | |
| skipping to change at line 202 | | skipping to change at line 204 | |
| void vala_code_visitor_visit_cast_expression (ValaCodeVisitor* self, ValaCa
stExpression* expr); | | void vala_code_visitor_visit_cast_expression (ValaCodeVisitor* self, ValaCa
stExpression* expr); | |
| void vala_code_visitor_visit_pointer_indirection (ValaCodeVisitor* self, Va
laPointerIndirection* expr); | | void vala_code_visitor_visit_pointer_indirection (ValaCodeVisitor* self, Va
laPointerIndirection* expr); | |
| void vala_code_visitor_visit_addressof_expression (ValaCodeVisitor* self, V
alaAddressofExpression* expr); | | void vala_code_visitor_visit_addressof_expression (ValaCodeVisitor* self, V
alaAddressofExpression* expr); | |
| void vala_code_visitor_visit_reference_transfer_expression (ValaCodeVisitor
* self, ValaReferenceTransferExpression* expr); | | void vala_code_visitor_visit_reference_transfer_expression (ValaCodeVisitor
* self, ValaReferenceTransferExpression* expr); | |
| void vala_code_visitor_visit_binary_expression (ValaCodeVisitor* self, Vala
BinaryExpression* expr); | | void vala_code_visitor_visit_binary_expression (ValaCodeVisitor* self, Vala
BinaryExpression* expr); | |
| void vala_code_visitor_visit_type_check (ValaCodeVisitor* self, ValaTypeChe
ck* expr); | | void vala_code_visitor_visit_type_check (ValaCodeVisitor* self, ValaTypeChe
ck* expr); | |
| void vala_code_visitor_visit_conditional_expression (ValaCodeVisitor* self,
ValaConditionalExpression* expr); | | void vala_code_visitor_visit_conditional_expression (ValaCodeVisitor* self,
ValaConditionalExpression* expr); | |
| void vala_code_visitor_visit_lambda_expression (ValaCodeVisitor* self, Vala
LambdaExpression* expr); | | void vala_code_visitor_visit_lambda_expression (ValaCodeVisitor* self, Vala
LambdaExpression* expr); | |
| void vala_code_visitor_visit_assignment (ValaCodeVisitor* self, ValaAssignm
ent* a); | | void vala_code_visitor_visit_assignment (ValaCodeVisitor* self, ValaAssignm
ent* a); | |
| void vala_code_visitor_visit_end_full_expression (ValaCodeVisitor* self, Va
laExpression* expr); | | void vala_code_visitor_visit_end_full_expression (ValaCodeVisitor* self, Va
laExpression* expr); | |
|
| ValaCodeVisitor* vala_code_visitor_new (void); | | | |
| GType vala_code_visitor_get_type (void); | | GType vala_code_visitor_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 2 lines changed or added | |
|
| valadatatype.h | | valadatatype.h | |
| | | | |
| skipping to change at line 32 | | skipping to change at line 32 | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALADATATYPE_H__ | | #ifndef __VALA_VALADATATYPE_H__ | |
| #define __VALA_VALADATATYPE_H__ | | #define __VALA_VALADATATYPE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <gee/list.h> | | #include <gee/list.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valatypesymbol.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ()) | | #define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ()) | |
| #define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_D
ATA_TYPE, ValaDataType)) | | #define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_D
ATA_TYPE, ValaDataType)) | |
| #define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_DATA_TYPE, ValaDataTypeClass)) | | #define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_DATA_TYPE, ValaDataTypeClass)) | |
| #define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_DATA_TYPE)) | | #define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_DATA_TYPE)) | |
| #define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_DATA_TYPE)) | | #define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_DATA_TYPE)) | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 59 | |
| */ | | */ | |
| struct _ValaDataType { | | struct _ValaDataType { | |
| ValaCodeNode parent_instance; | | ValaCodeNode parent_instance; | |
| ValaDataTypePrivate * priv; | | ValaDataTypePrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaDataTypeClass { | | struct _ValaDataTypeClass { | |
| ValaCodeNodeClass parent_class; | | ValaCodeNodeClass parent_class; | |
| char* (*get_cname) (ValaDataType* self); | | char* (*get_cname) (ValaDataType* self); | |
| char* (*get_lower_case_cname) (ValaDataType* self, const char* infix
); | | char* (*get_lower_case_cname) (ValaDataType* self, const char* infix
); | |
|
| | | char* (*to_qualified_string) (ValaDataType* self, ValaScope* scope); | |
| ValaDataType* (*copy) (ValaDataType* self); | | ValaDataType* (*copy) (ValaDataType* self); | |
| gboolean (*equals) (ValaDataType* self, ValaDataType* type2); | | gboolean (*equals) (ValaDataType* self, ValaDataType* type2); | |
| gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | | gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | |
| gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ
e); | | gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ
e); | |
| gboolean (*is_invokable) (ValaDataType* self); | | gboolean (*is_invokable) (ValaDataType* self); | |
| ValaDataType* (*get_return_type) (ValaDataType* self); | | ValaDataType* (*get_return_type) (ValaDataType* self); | |
|
| GeeCollection* (*get_parameters) (ValaDataType* self); | | GeeList* (*get_parameters) (ValaDataType* self); | |
| gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self)
; | | gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self)
; | |
| gboolean (*is_array) (ValaDataType* self); | | gboolean (*is_array) (ValaDataType* self); | |
|
| GeeCollection* (*get_symbols) (ValaDataType* self); | | GeeList* (*get_symbols) (ValaDataType* self); | |
| ValaSymbol* (*get_member) (ValaDataType* self, const char* member_na
me); | | ValaSymbol* (*get_member) (ValaDataType* self, const char* member_na
me); | |
| ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m
ember_name); | | ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m
ember_name); | |
| gboolean (*is_real_struct_type) (ValaDataType* self); | | gboolean (*is_real_struct_type) (ValaDataType* self); | |
| char* (*get_type_id) (ValaDataType* self); | | char* (*get_type_id) (ValaDataType* self); | |
| char* (*get_type_signature) (ValaDataType* self); | | char* (*get_type_signature) (ValaDataType* self); | |
|
| | | gboolean (*is_disposable) (ValaDataType* self); | |
| }; | | }; | |
| | | | |
| void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar
g); | | void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar
g); | |
| GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | | GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | |
| void vala_data_type_remove_all_type_arguments (ValaDataType* self); | | void vala_data_type_remove_all_type_arguments (ValaDataType* self); | |
| char* vala_data_type_get_cname (ValaDataType* self); | | char* vala_data_type_get_cname (ValaDataType* self); | |
| char* vala_data_type_get_const_cname (ValaDataType* self); | | char* vala_data_type_get_const_cname (ValaDataType* self); | |
| char* vala_data_type_get_lower_case_cname (ValaDataType* self, const char*
infix); | | char* vala_data_type_get_lower_case_cname (ValaDataType* self, const char*
infix); | |
|
| | | char* vala_data_type_to_qualified_string (ValaDataType* self, ValaScope* sc
ope); | |
| ValaDataType* vala_data_type_copy (ValaDataType* self); | | ValaDataType* vala_data_type_copy (ValaDataType* self); | |
| gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | | gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | |
| gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | | gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | |
| gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe
t_type); | | gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe
t_type); | |
| gboolean vala_data_type_is_invokable (ValaDataType* self); | | gboolean vala_data_type_is_invokable (ValaDataType* self); | |
| ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | | ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | |
|
| GeeCollection* vala_data_type_get_parameters (ValaDataType* self); | | GeeList* vala_data_type_get_parameters (ValaDataType* self); | |
| gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType*
self); | | gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType*
self); | |
| gboolean vala_data_type_is_array (ValaDataType* self); | | gboolean vala_data_type_is_array (ValaDataType* self); | |
|
| GeeCollection* vala_data_type_get_symbols (ValaDataType* self); | | GeeList* vala_data_type_get_symbols (ValaDataType* self); | |
| ValaSymbol* vala_data_type_get_member (ValaDataType* self, const char* memb
er_name); | | ValaSymbol* vala_data_type_get_member (ValaDataType* self, const char* memb
er_name); | |
| ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch
ar* member_name); | | ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch
ar* member_name); | |
| gboolean vala_data_type_is_real_struct_type (ValaDataType* self); | | gboolean vala_data_type_is_real_struct_type (ValaDataType* self); | |
| char* vala_data_type_get_type_id (ValaDataType* self); | | char* vala_data_type_get_type_id (ValaDataType* self); | |
| char* vala_data_type_get_type_signature (ValaDataType* self); | | char* vala_data_type_get_type_signature (ValaDataType* self); | |
|
| ValaDataType* vala_data_type_new (void); | | gboolean vala_data_type_is_disposable (ValaDataType* self); | |
| gboolean vala_data_type_get_transfers_ownership (ValaDataType* self); | | gboolean vala_data_type_get_value_owned (ValaDataType* self); | |
| void vala_data_type_set_transfers_ownership (ValaDataType* self, gboolean v | | void vala_data_type_set_value_owned (ValaDataType* self, gboolean value); | |
| alue); | | | |
| gboolean vala_data_type_get_takes_ownership (ValaDataType* self); | | | |
| void vala_data_type_set_takes_ownership (ValaDataType* self, gboolean value | | | |
| ); | | | |
| gboolean vala_data_type_get_nullable (ValaDataType* self); | | gboolean vala_data_type_get_nullable (ValaDataType* self); | |
| void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | | void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | |
|
| ValaTypesymbol* vala_data_type_get_data_type (ValaDataType* self); | | gboolean vala_data_type_get_is_type_argument (ValaDataType* self); | |
| void vala_data_type_set_data_type (ValaDataType* self, ValaTypesymbol* valu | | void vala_data_type_set_is_type_argument (ValaDataType* self, gboolean valu | |
| e); | | e); | |
| | | ValaTypeSymbol* vala_data_type_get_data_type (ValaDataType* self); | |
| | | void vala_data_type_set_data_type (ValaDataType* self, ValaTypeSymbol* valu | |
| | | e); | |
| ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | | ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | |
| void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet
er* value); | | void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet
er* value); | |
| gboolean vala_data_type_get_floating_reference (ValaDataType* self); | | gboolean vala_data_type_get_floating_reference (ValaDataType* self); | |
| void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va
lue); | | void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va
lue); | |
| gboolean vala_data_type_get_is_dynamic (ValaDataType* self); | | gboolean vala_data_type_get_is_dynamic (ValaDataType* self); | |
| void vala_data_type_set_is_dynamic (ValaDataType* self, gboolean value); | | void vala_data_type_set_is_dynamic (ValaDataType* self, gboolean value); | |
| GType vala_data_type_get_type (void); | | GType vala_data_type_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| | | | |
End of changes. 10 change blocks. |
| 15 lines changed or deleted | | 16 lines changed or added | |
|
| valadelegate.h | | valadelegate.h | |
| | | | |
| skipping to change at line 51 | | skipping to change at line 51 | |
| #define VALA_IS_DELEGATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE
_DELEGATE)) | | #define VALA_IS_DELEGATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE
_DELEGATE)) | |
| #define VALA_IS_DELEGATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA
LA_TYPE_DELEGATE)) | | #define VALA_IS_DELEGATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA
LA_TYPE_DELEGATE)) | |
| #define VALA_DELEGATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL
A_TYPE_DELEGATE, ValaDelegateClass)) | | #define VALA_DELEGATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL
A_TYPE_DELEGATE, ValaDelegateClass)) | |
| | | | |
| typedef struct _ValaDelegatePrivate ValaDelegatePrivate; | | typedef struct _ValaDelegatePrivate ValaDelegatePrivate; | |
| | | | |
| /** | | /** | |
| * Represents a function callback type. | | * Represents a function callback type. | |
| */ | | */ | |
| struct _ValaDelegate { | | struct _ValaDelegate { | |
|
| ValaTypesymbol parent_instance; | | ValaTypeSymbol parent_instance; | |
| ValaDelegatePrivate * priv; | | ValaDelegatePrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaDelegateClass { | | struct _ValaDelegateClass { | |
|
| ValaTypesymbolClass parent_class; | | ValaTypeSymbolClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaDelegate* vala_delegate_new (const char* name, ValaDataType* return_typ
e, ValaSourceReference* source_reference); | | ValaDelegate* vala_delegate_new (const char* name, ValaDataType* return_typ
e, ValaSourceReference* source_reference); | |
| void vala_delegate_add_type_parameter (ValaDelegate* self, ValaTypeParamete
r* p); | | void vala_delegate_add_type_parameter (ValaDelegate* self, ValaTypeParamete
r* p); | |
| void vala_delegate_add_parameter (ValaDelegate* self, ValaFormalParameter*
param); | | void vala_delegate_add_parameter (ValaDelegate* self, ValaFormalParameter*
param); | |
| GeeList* vala_delegate_get_parameters (ValaDelegate* self); | | GeeList* vala_delegate_get_parameters (ValaDelegate* self); | |
| gboolean vala_delegate_matches_method (ValaDelegate* self, ValaMethod* m); | | gboolean vala_delegate_matches_method (ValaDelegate* self, ValaMethod* m); | |
| void vala_delegate_set_cname (ValaDelegate* self, const char* cname); | | void vala_delegate_set_cname (ValaDelegate* self, const char* cname); | |
| void vala_delegate_process_attributes (ValaDelegate* self); | | void vala_delegate_process_attributes (ValaDelegate* self); | |
|
| | | char* vala_delegate_get_prototype_string (ValaDelegate* self, const char* n
ame); | |
| ValaDataType* vala_delegate_get_return_type (ValaDelegate* self); | | ValaDataType* vala_delegate_get_return_type (ValaDelegate* self); | |
| void vala_delegate_set_return_type (ValaDelegate* self, ValaDataType* value
); | | void vala_delegate_set_return_type (ValaDelegate* self, ValaDataType* value
); | |
| gboolean vala_delegate_get_has_target (ValaDelegate* self); | | gboolean vala_delegate_get_has_target (ValaDelegate* self); | |
| void vala_delegate_set_has_target (ValaDelegate* self, gboolean value); | | void vala_delegate_set_has_target (ValaDelegate* self, gboolean value); | |
| double vala_delegate_get_cinstance_parameter_position (ValaDelegate* self); | | double vala_delegate_get_cinstance_parameter_position (ValaDelegate* self); | |
| void vala_delegate_set_cinstance_parameter_position (ValaDelegate* self, do
uble value); | | void vala_delegate_set_cinstance_parameter_position (ValaDelegate* self, do
uble value); | |
| double vala_delegate_get_carray_length_parameter_position (ValaDelegate* se
lf); | | double vala_delegate_get_carray_length_parameter_position (ValaDelegate* se
lf); | |
| void vala_delegate_set_carray_length_parameter_position (ValaDelegate* self
, double value); | | void vala_delegate_set_carray_length_parameter_position (ValaDelegate* self
, double value); | |
| double vala_delegate_get_cdelegate_target_parameter_position (ValaDelegate*
self); | | double vala_delegate_get_cdelegate_target_parameter_position (ValaDelegate*
self); | |
| void vala_delegate_set_cdelegate_target_parameter_position (ValaDelegate* s
elf, double value); | | void vala_delegate_set_cdelegate_target_parameter_position (ValaDelegate* s
elf, double value); | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 3 lines changed or added | |
|
| valaenum.h | | valaenum.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAENUM_H__ | | #ifndef __VALA_VALAENUM_H__ | |
| #define __VALA_VALAENUM_H__ | | #define __VALA_VALAENUM_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valatypesymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_ENUM (vala_enum_get_type ()) | | #define VALA_TYPE_ENUM (vala_enum_get_type ()) | |
| #define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM,
ValaEnum)) | | #define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM,
ValaEnum)) | |
| #define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE
_ENUM, ValaEnumClass)) | | #define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE
_ENUM, ValaEnumClass)) | |
| #define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENU
M)) | | #define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENU
M)) | |
| #define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_T
YPE_ENUM)) | | #define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_T
YPE_ENUM)) | |
| #define VALA_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TY
PE_ENUM, ValaEnumClass)) | | #define VALA_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TY
PE_ENUM, ValaEnumClass)) | |
| | | | |
| typedef struct _ValaEnumPrivate ValaEnumPrivate; | | typedef struct _ValaEnumPrivate ValaEnumPrivate; | |
| | | | |
| /** | | /** | |
| * Represents an enum declaration in the source code. | | * Represents an enum declaration in the source code. | |
| */ | | */ | |
| struct _ValaEnum { | | struct _ValaEnum { | |
|
| ValaTypesymbol parent_instance; | | ValaTypeSymbol parent_instance; | |
| ValaEnumPrivate * priv; | | ValaEnumPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaEnumClass { | | struct _ValaEnumClass { | |
|
| ValaTypesymbolClass parent_class; | | ValaTypeSymbolClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaEnum* vala_enum_new (const char* name, ValaSourceReference* source_refe
rence); | | ValaEnum* vala_enum_new (const char* name, ValaSourceReference* source_refe
rence); | |
| void vala_enum_add_value (ValaEnum* self, ValaEnumValue* value); | | void vala_enum_add_value (ValaEnum* self, ValaEnumValue* value); | |
| void vala_enum_add_method (ValaEnum* self, ValaMethod* m); | | void vala_enum_add_method (ValaEnum* self, ValaMethod* m); | |
|
| GeeCollection* vala_enum_get_values (ValaEnum* self); | | GeeList* vala_enum_get_values (ValaEnum* self); | |
| GeeCollection* vala_enum_get_methods (ValaEnum* self); | | GeeList* vala_enum_get_methods (ValaEnum* self); | |
| char* vala_enum_get_cprefix (ValaEnum* self); | | char* vala_enum_get_cprefix (ValaEnum* self); | |
| void vala_enum_set_cprefix (ValaEnum* self, const char* cprefix); | | void vala_enum_set_cprefix (ValaEnum* self, const char* cprefix); | |
| void vala_enum_process_attributes (ValaEnum* self); | | void vala_enum_process_attributes (ValaEnum* self); | |
| void vala_enum_set_type_id (ValaEnum* self, const char* type_id); | | void vala_enum_set_type_id (ValaEnum* self, const char* type_id); | |
| gboolean vala_enum_get_is_flags (ValaEnum* self); | | gboolean vala_enum_get_is_flags (ValaEnum* self); | |
| void vala_enum_set_is_flags (ValaEnum* self, gboolean value); | | void vala_enum_set_is_flags (ValaEnum* self, gboolean value); | |
| gboolean vala_enum_get_has_type_id (ValaEnum* self); | | gboolean vala_enum_get_has_type_id (ValaEnum* self); | |
| void vala_enum_set_has_type_id (ValaEnum* self, gboolean value); | | void vala_enum_set_has_type_id (ValaEnum* self, gboolean value); | |
| GType vala_enum_get_type (void); | | GType vala_enum_get_type (void); | |
| | | | |
| | | | |
End of changes. 4 change blocks. |
| 5 lines changed or deleted | | 5 lines changed or added | |
|
| valainterface.h | | valainterface.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAINTERFACE_H__ | | #ifndef __VALA_VALAINTERFACE_H__ | |
| #define __VALA_VALAINTERFACE_H__ | | #define __VALA_VALAINTERFACE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valaobjecttypesymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valatypesymbol.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_INTERFACE (vala_interface_get_type ()) | | #define VALA_TYPE_INTERFACE (vala_interface_get_type ()) | |
| #define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_I
NTERFACE, ValaInterface)) | | #define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_I
NTERFACE, ValaInterface)) | |
| #define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_INTERFACE, ValaInterfaceClass)) | | #define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_INTERFACE, ValaInterfaceClass)) | |
| #define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_INTERFACE)) | | #define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_INTERFACE)) | |
| #define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_INTERFACE)) | | #define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_INTERFACE)) | |
| #define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA
LA_TYPE_INTERFACE, ValaInterfaceClass)) | | #define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA
LA_TYPE_INTERFACE, ValaInterfaceClass)) | |
| | | | |
| typedef struct _ValaInterfacePrivate ValaInterfacePrivate; | | typedef struct _ValaInterfacePrivate ValaInterfacePrivate; | |
| | | | |
| /** | | /** | |
| * Represents a class declaration in the source code. | | * Represents a class declaration in the source code. | |
| */ | | */ | |
| struct _ValaInterface { | | struct _ValaInterface { | |
|
| ValaTypesymbol parent_instance; | | ValaObjectTypeSymbol parent_instance; | |
| ValaInterfacePrivate * priv; | | ValaInterfacePrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaInterfaceClass { | | struct _ValaInterfaceClass { | |
|
| ValaTypesymbolClass parent_class; | | ValaObjectTypeSymbolClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaInterface* vala_interface_new (const char* name, ValaSourceReference* s
ource_reference); | | ValaInterface* vala_interface_new (const char* name, ValaSourceReference* s
ource_reference); | |
| void vala_interface_add_type_parameter (ValaInterface* self, ValaTypeParame
ter* p); | | void vala_interface_add_type_parameter (ValaInterface* self, ValaTypeParame
ter* p); | |
|
| GeeCollection* vala_interface_get_type_parameters (ValaInterface* self); | | GeeList* vala_interface_get_type_parameters (ValaInterface* self); | |
| void vala_interface_add_prerequisite (ValaInterface* self, ValaDataType* ty
pe); | | void vala_interface_add_prerequisite (ValaInterface* self, ValaDataType* ty
pe); | |
| void vala_interface_prepend_prerequisite (ValaInterface* self, ValaDataType
* type); | | void vala_interface_prepend_prerequisite (ValaInterface* self, ValaDataType
* type); | |
|
| GeeCollection* vala_interface_get_prerequisites (ValaInterface* self); | | GeeList* vala_interface_get_prerequisites (ValaInterface* self); | |
| void vala_interface_add_method (ValaInterface* self, ValaMethod* m); | | void vala_interface_add_method (ValaInterface* self, ValaMethod* m); | |
|
| GeeCollection* vala_interface_get_methods (ValaInterface* self); | | | |
| void vala_interface_add_field (ValaInterface* self, ValaField* f); | | void vala_interface_add_field (ValaInterface* self, ValaField* f); | |
|
| GeeCollection* vala_interface_get_fields (ValaInterface* self); | | GeeList* vala_interface_get_fields (ValaInterface* self); | |
| void vala_interface_add_property (ValaInterface* self, ValaProperty* prop); | | void vala_interface_add_property (ValaInterface* self, ValaProperty* prop); | |
|
| GeeCollection* vala_interface_get_properties (ValaInterface* self); | | | |
| void vala_interface_add_signal (ValaInterface* self, ValaSignal* sig); | | void vala_interface_add_signal (ValaInterface* self, ValaSignal* sig); | |
|
| GeeCollection* vala_interface_get_signals (ValaInterface* self); | | | |
| void vala_interface_add_class (ValaInterface* self, ValaClass* cl); | | void vala_interface_add_class (ValaInterface* self, ValaClass* cl); | |
| void vala_interface_add_struct (ValaInterface* self, ValaStruct* st); | | void vala_interface_add_struct (ValaInterface* self, ValaStruct* st); | |
| void vala_interface_add_enum (ValaInterface* self, ValaEnum* en); | | void vala_interface_add_enum (ValaInterface* self, ValaEnum* en); | |
| void vala_interface_add_delegate (ValaInterface* self, ValaDelegate* d); | | void vala_interface_add_delegate (ValaInterface* self, ValaDelegate* d); | |
| char* vala_interface_get_lower_case_csuffix (ValaInterface* self); | | char* vala_interface_get_lower_case_csuffix (ValaInterface* self); | |
| char* vala_interface_get_default_lower_case_csuffix (ValaInterface* self); | | char* vala_interface_get_default_lower_case_csuffix (ValaInterface* self); | |
| void vala_interface_set_lower_case_csuffix (ValaInterface* self, const char
* csuffix); | | void vala_interface_set_lower_case_csuffix (ValaInterface* self, const char
* csuffix); | |
| void vala_interface_process_attributes (ValaInterface* self); | | void vala_interface_process_attributes (ValaInterface* self); | |
| char* vala_interface_get_type_cname (ValaInterface* self); | | char* vala_interface_get_type_cname (ValaInterface* self); | |
| void vala_interface_set_type_cname (ValaInterface* self, const char* type_c
name); | | void vala_interface_set_type_cname (ValaInterface* self, const char* type_c
name); | |
| | | | |
End of changes. 10 change blocks. |
| 10 lines changed or deleted | | 8 lines changed or added | |
|
| valamemberaccess.h | | valamemberaccess.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAMEMBERACCESS_H__ | | #ifndef __VALA_VALAMEMBERACCESS_H__ | |
| #define __VALA_VALAMEMBERACCESS_H__ | | #define __VALA_VALAMEMBERACCESS_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_MEMBER_ACCESS (vala_member_access_get_type ()) | | #define VALA_TYPE_MEMBER_ACCESS (vala_member_access_get_type ()) | |
| #define VALA_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_MEMBER_ACCESS, ValaMemberAccess)) | | #define VALA_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_MEMBER_ACCESS, ValaMemberAccess)) | |
| #define VALA_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | | #define VALA_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | |
| #define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_MEMBER_ACCESS)) | | #define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_MEMBER_ACCESS)) | |
| | | | |
| skipping to change at line 62 | | skipping to change at line 62 | |
| }; | | }; | |
| | | | |
| struct _ValaMemberAccessClass { | | struct _ValaMemberAccessClass { | |
| ValaExpressionClass parent_class; | | ValaExpressionClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaMemberAccess* vala_member_access_new (ValaExpression* inner, const char
* member_name, ValaSourceReference* source_reference); | | ValaMemberAccess* vala_member_access_new (ValaExpression* inner, const char
* member_name, ValaSourceReference* source_reference); | |
| ValaMemberAccess* vala_member_access_new_simple (const char* member_name, V
alaSourceReference* source_reference); | | ValaMemberAccess* vala_member_access_new_simple (const char* member_name, V
alaSourceReference* source_reference); | |
| ValaMemberAccess* vala_member_access_new_pointer (ValaExpression* inner, co
nst char* member_name, ValaSourceReference* source_reference); | | ValaMemberAccess* vala_member_access_new_pointer (ValaExpression* inner, co
nst char* member_name, ValaSourceReference* source_reference); | |
| void vala_member_access_add_type_argument (ValaMemberAccess* self, ValaData
Type* arg); | | void vala_member_access_add_type_argument (ValaMemberAccess* self, ValaData
Type* arg); | |
|
| GeeCollection* vala_member_access_get_type_arguments (ValaMemberAccess* sel
f); | | GeeList* vala_member_access_get_type_arguments (ValaMemberAccess* self); | |
| ValaExpression* vala_member_access_get_inner (ValaMemberAccess* self); | | ValaExpression* vala_member_access_get_inner (ValaMemberAccess* self); | |
| void vala_member_access_set_inner (ValaMemberAccess* self, ValaExpression*
value); | | void vala_member_access_set_inner (ValaMemberAccess* self, ValaExpression*
value); | |
|
| char* vala_member_access_get_member_name (ValaMemberAccess* self); | | const char* vala_member_access_get_member_name (ValaMemberAccess* self); | |
| void vala_member_access_set_member_name (ValaMemberAccess* self, const char
* value); | | void vala_member_access_set_member_name (ValaMemberAccess* self, const char
* value); | |
| gboolean vala_member_access_get_pointer_member_access (ValaMemberAccess* se
lf); | | gboolean vala_member_access_get_pointer_member_access (ValaMemberAccess* se
lf); | |
| void vala_member_access_set_pointer_member_access (ValaMemberAccess* self,
gboolean value); | | void vala_member_access_set_pointer_member_access (ValaMemberAccess* self,
gboolean value); | |
| gboolean vala_member_access_get_prototype_access (ValaMemberAccess* self); | | gboolean vala_member_access_get_prototype_access (ValaMemberAccess* self); | |
| void vala_member_access_set_prototype_access (ValaMemberAccess* self, gbool
ean value); | | void vala_member_access_set_prototype_access (ValaMemberAccess* self, gbool
ean value); | |
| gboolean vala_member_access_get_creation_member (ValaMemberAccess* self); | | gboolean vala_member_access_get_creation_member (ValaMemberAccess* self); | |
| void vala_member_access_set_creation_member (ValaMemberAccess* self, gboole
an value); | | void vala_member_access_set_creation_member (ValaMemberAccess* self, gboole
an value); | |
|
| | | gboolean vala_member_access_get_qualified (ValaMemberAccess* self); | |
| | | void vala_member_access_set_qualified (ValaMemberAccess* self, gboolean val | |
| | | ue); | |
| GType vala_member_access_get_type (void); | | GType vala_member_access_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 6 lines changed or added | |
|
| valamethod.h | | valamethod.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| * Raffaele Sandrini <raffaele@sandrini.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAMETHOD_H__ | | #ifndef __VALA_VALAMETHOD_H__ | |
| #define __VALA_VALAMETHOD_H__ | | #define __VALA_VALAMETHOD_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <float.h> | | #include <float.h> | |
| #include <math.h> | | #include <math.h> | |
| #include <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_METHOD (vala_method_get_type ()) | | #define VALA_TYPE_METHOD (vala_method_get_type ()) | |
| #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH
OD, ValaMethod)) | | #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH
OD, ValaMethod)) | |
| | | | |
| skipping to change at line 65 | | skipping to change at line 65 | |
| }; | | }; | |
| | | | |
| struct _ValaMethodClass { | | struct _ValaMethodClass { | |
| ValaMemberClass parent_class; | | ValaMemberClass parent_class; | |
| char* (*get_default_cname) (ValaMethod* self); | | char* (*get_default_cname) (ValaMethod* self); | |
| }; | | }; | |
| | | | |
| #define VALA_METHOD_DEFAULT_SENTINEL "NULL" | | #define VALA_METHOD_DEFAULT_SENTINEL "NULL" | |
| ValaMethod* vala_method_new (const char* name, ValaDataType* return_type, V
alaSourceReference* source_reference); | | ValaMethod* vala_method_new (const char* name, ValaDataType* return_type, V
alaSourceReference* source_reference); | |
| void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para
m); | | void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para
m); | |
|
| GeeCollection* vala_method_get_parameters (ValaMethod* self); | | GeeList* vala_method_get_parameters (ValaMethod* self); | |
| void vala_method_clear_parameters (ValaMethod* self); | | void vala_method_clear_parameters (ValaMethod* self); | |
| char* vala_method_get_cname (ValaMethod* self); | | char* vala_method_get_cname (ValaMethod* self); | |
| char* vala_method_get_default_cname (ValaMethod* self); | | char* vala_method_get_default_cname (ValaMethod* self); | |
| char* vala_method_get_real_cname (ValaMethod* self); | | char* vala_method_get_real_cname (ValaMethod* self); | |
| void vala_method_set_cname (ValaMethod* self, const char* cname); | | void vala_method_set_cname (ValaMethod* self, const char* cname); | |
| void vala_method_process_attributes (ValaMethod* self); | | void vala_method_process_attributes (ValaMethod* self); | |
| gboolean vala_method_compatible (ValaMethod* self, ValaMethod* base_method,
char** invalid_match); | | gboolean vala_method_compatible (ValaMethod* self, ValaMethod* base_method,
char** invalid_match); | |
|
| void vala_method_add_error_domain (ValaMethod* self, ValaDataType* error_do | | | |
| main); | | | |
| GeeCollection* vala_method_get_error_domains (ValaMethod* self); | | | |
| void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon
dition); | | void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon
dition); | |
|
| GeeCollection* vala_method_get_preconditions (ValaMethod* self); | | GeeList* vala_method_get_preconditions (ValaMethod* self); | |
| void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc
ondition); | | void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc
ondition); | |
|
| GeeCollection* vala_method_get_postconditions (ValaMethod* self); | | GeeList* vala_method_get_postconditions (ValaMethod* self); | |
| ValaDataType* vala_method_get_return_type (ValaMethod* self); | | ValaDataType* vala_method_get_return_type (ValaMethod* self); | |
| void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | | void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | |
| ValaBlock* vala_method_get_body (ValaMethod* self); | | ValaBlock* vala_method_get_body (ValaMethod* self); | |
| void vala_method_set_body (ValaMethod* self, ValaBlock* value); | | void vala_method_set_body (ValaMethod* self, ValaBlock* value); | |
| ValaBasicBlock* vala_method_get_entry_block (ValaMethod* self); | | ValaBasicBlock* vala_method_get_entry_block (ValaMethod* self); | |
| void vala_method_set_entry_block (ValaMethod* self, ValaBasicBlock* value); | | void vala_method_set_entry_block (ValaMethod* self, ValaBasicBlock* value); | |
| ValaBasicBlock* vala_method_get_exit_block (ValaMethod* self); | | ValaBasicBlock* vala_method_get_exit_block (ValaMethod* self); | |
| void vala_method_set_exit_block (ValaMethod* self, ValaBasicBlock* value); | | void vala_method_set_exit_block (ValaMethod* self, ValaBasicBlock* value); | |
| MemberBinding vala_method_get_binding (ValaMethod* self); | | MemberBinding vala_method_get_binding (ValaMethod* self); | |
| void vala_method_set_binding (ValaMethod* self, MemberBinding value); | | void vala_method_set_binding (ValaMethod* self, MemberBinding value); | |
|
| char* vala_method_get_vfunc_name (ValaMethod* self); | | const char* vala_method_get_vfunc_name (ValaMethod* self); | |
| void vala_method_set_vfunc_name (ValaMethod* self, const char* value); | | void vala_method_set_vfunc_name (ValaMethod* self, const char* value); | |
|
| char* vala_method_get_sentinel (ValaMethod* self); | | const char* vala_method_get_sentinel (ValaMethod* self); | |
| void vala_method_set_sentinel (ValaMethod* self, const char* value); | | void vala_method_set_sentinel (ValaMethod* self, const char* value); | |
| gboolean vala_method_get_is_abstract (ValaMethod* self); | | gboolean vala_method_get_is_abstract (ValaMethod* self); | |
| void vala_method_set_is_abstract (ValaMethod* self, gboolean value); | | void vala_method_set_is_abstract (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_is_virtual (ValaMethod* self); | | gboolean vala_method_get_is_virtual (ValaMethod* self); | |
| void vala_method_set_is_virtual (ValaMethod* self, gboolean value); | | void vala_method_set_is_virtual (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_overrides (ValaMethod* self); | | gboolean vala_method_get_overrides (ValaMethod* self); | |
| void vala_method_set_overrides (ValaMethod* self, gboolean value); | | void vala_method_set_overrides (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_is_inline (ValaMethod* self); | | gboolean vala_method_get_is_inline (ValaMethod* self); | |
| void vala_method_set_is_inline (ValaMethod* self, gboolean value); | | void vala_method_set_is_inline (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | | gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | |
| void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v
alue); | | void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v
alue); | |
| ValaMethod* vala_method_get_base_method (ValaMethod* self); | | ValaMethod* vala_method_get_base_method (ValaMethod* self); | |
|
| void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | | | |
| ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | | ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | |
|
| void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v
alue); | | | |
| ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | | ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | |
| void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter*
value); | | void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter*
value); | |
| ValaLocalVariable* vala_method_get_result_var (ValaMethod* self); | | ValaLocalVariable* vala_method_get_result_var (ValaMethod* self); | |
| void vala_method_set_result_var (ValaMethod* self, ValaLocalVariable* value
); | | void vala_method_set_result_var (ValaMethod* self, ValaLocalVariable* value
); | |
| double vala_method_get_cinstance_parameter_position (ValaMethod* self); | | double vala_method_get_cinstance_parameter_position (ValaMethod* self); | |
| void vala_method_set_cinstance_parameter_position (ValaMethod* self, double
value); | | void vala_method_set_cinstance_parameter_position (ValaMethod* self, double
value); | |
| double vala_method_get_carray_length_parameter_position (ValaMethod* self); | | double vala_method_get_carray_length_parameter_position (ValaMethod* self); | |
| void vala_method_set_carray_length_parameter_position (ValaMethod* self, do
uble value); | | void vala_method_set_carray_length_parameter_position (ValaMethod* self, do
uble value); | |
| double vala_method_get_cdelegate_target_parameter_position (ValaMethod* sel
f); | | double vala_method_get_cdelegate_target_parameter_position (ValaMethod* sel
f); | |
| void vala_method_set_cdelegate_target_parameter_position (ValaMethod* self,
double value); | | void vala_method_set_cdelegate_target_parameter_position (ValaMethod* self,
double value); | |
| | | | |
End of changes. 9 change blocks. |
| 11 lines changed or deleted | | 6 lines changed or added | |
|
| valanamespace.h | | valanamespace.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALANAMESPACE_H__ | | #ifndef __VALA_VALANAMESPACE_H__ | |
| #define __VALA_VALANAMESPACE_H__ | | #define __VALA_VALANAMESPACE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | | |
| #include <gee/list.h> | | #include <gee/list.h> | |
| #include <vala/valasymbol.h> | | #include <vala/valasymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_NAMESPACE (vala_namespace_get_type ()) | | #define VALA_TYPE_NAMESPACE (vala_namespace_get_type ()) | |
| #define VALA_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_N
AMESPACE, ValaNamespace)) | | #define VALA_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_N
AMESPACE, ValaNamespace)) | |
| #define VALA_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_NAMESPACE, ValaNamespaceClass)) | | #define VALA_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_NAMESPACE, ValaNamespaceClass)) | |
| #define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_NAMESPACE)) | | #define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_NAMESPACE)) | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 59 | |
| ValaSymbol parent_instance; | | ValaSymbol parent_instance; | |
| ValaNamespacePrivate * priv; | | ValaNamespacePrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaNamespaceClass { | | struct _ValaNamespaceClass { | |
| ValaSymbolClass parent_class; | | ValaSymbolClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaNamespace* vala_namespace_new (const char* name, ValaSourceReference* s
ource_reference); | | ValaNamespace* vala_namespace_new (const char* name, ValaSourceReference* s
ource_reference); | |
| void vala_namespace_add_namespace (ValaNamespace* self, ValaNamespace* ns); | | void vala_namespace_add_namespace (ValaNamespace* self, ValaNamespace* ns); | |
|
| GeeCollection* vala_namespace_get_namespaces (ValaNamespace* self); | | GeeList* vala_namespace_get_namespaces (ValaNamespace* self); | |
| void vala_namespace_add_class (ValaNamespace* self, ValaClass* cl); | | void vala_namespace_add_class (ValaNamespace* self, ValaClass* cl); | |
| void vala_namespace_add_interface (ValaNamespace* self, ValaInterface* ifac
e); | | void vala_namespace_add_interface (ValaNamespace* self, ValaInterface* ifac
e); | |
| void vala_namespace_add_struct (ValaNamespace* self, ValaStruct* st); | | void vala_namespace_add_struct (ValaNamespace* self, ValaStruct* st); | |
| void vala_namespace_add_enum (ValaNamespace* self, ValaEnum* en); | | void vala_namespace_add_enum (ValaNamespace* self, ValaEnum* en); | |
| void vala_namespace_add_error_domain (ValaNamespace* self, ValaErrorDomain*
edomain); | | void vala_namespace_add_error_domain (ValaNamespace* self, ValaErrorDomain*
edomain); | |
| void vala_namespace_add_delegate (ValaNamespace* self, ValaDelegate* d); | | void vala_namespace_add_delegate (ValaNamespace* self, ValaDelegate* d); | |
|
| GeeCollection* vala_namespace_get_structs (ValaNamespace* self); | | GeeList* vala_namespace_get_structs (ValaNamespace* self); | |
| GeeCollection* vala_namespace_get_classes (ValaNamespace* self); | | GeeList* vala_namespace_get_classes (ValaNamespace* self); | |
| GeeCollection* vala_namespace_get_interfaces (ValaNamespace* self); | | GeeList* vala_namespace_get_interfaces (ValaNamespace* self); | |
| GeeCollection* vala_namespace_get_enums (ValaNamespace* self); | | GeeList* vala_namespace_get_enums (ValaNamespace* self); | |
| GeeCollection* vala_namespace_get_error_domains (ValaNamespace* self); | | GeeList* vala_namespace_get_error_types (ValaNamespace* self); | |
| GeeCollection* vala_namespace_get_fields (ValaNamespace* self); | | GeeList* vala_namespace_get_fields (ValaNamespace* self); | |
| GeeCollection* vala_namespace_get_constants (ValaNamespace* self); | | GeeList* vala_namespace_get_constants (ValaNamespace* self); | |
| GeeCollection* vala_namespace_get_delegates (ValaNamespace* self); | | GeeList* vala_namespace_get_delegates (ValaNamespace* self); | |
| GeeCollection* vala_namespace_get_methods (ValaNamespace* self); | | GeeList* vala_namespace_get_methods (ValaNamespace* self); | |
| void vala_namespace_add_constant (ValaNamespace* self, ValaConstant* consta
nt); | | void vala_namespace_add_constant (ValaNamespace* self, ValaConstant* consta
nt); | |
| void vala_namespace_add_field (ValaNamespace* self, ValaField* f); | | void vala_namespace_add_field (ValaNamespace* self, ValaField* f); | |
| void vala_namespace_add_method (ValaNamespace* self, ValaMethod* m); | | void vala_namespace_add_method (ValaNamespace* self, ValaMethod* m); | |
| GeeList* vala_namespace_get_cprefixes (ValaNamespace* self); | | GeeList* vala_namespace_get_cprefixes (ValaNamespace* self); | |
| void vala_namespace_add_cprefix (ValaNamespace* self, const char* cprefix); | | void vala_namespace_add_cprefix (ValaNamespace* self, const char* cprefix); | |
| void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char
* cprefix); | | void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char
* cprefix); | |
| char* vala_namespace_get_cheader_filename (ValaNamespace* self); | | char* vala_namespace_get_cheader_filename (ValaNamespace* self); | |
| void vala_namespace_set_cheader_filename (ValaNamespace* self, const char*
cheader_filename); | | void vala_namespace_set_cheader_filename (ValaNamespace* self, const char*
cheader_filename); | |
| void vala_namespace_process_attributes (ValaNamespace* self); | | void vala_namespace_process_attributes (ValaNamespace* self); | |
| GType vala_namespace_get_type (void); | | GType vala_namespace_get_type (void); | |
| | | | |
End of changes. 3 change blocks. |
| 11 lines changed or deleted | | 10 lines changed or added | |
|
| valaobjectcreationexpression.h | | valaobjectcreationexpression.h | |
| | | | |
| skipping to change at line 28 | | skipping to change at line 28 | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAOBJECTCREATIONEXPRESSION_H__ | | #ifndef __VALA_VALAOBJECTCREATIONEXPRESSION_H__ | |
| #define __VALA_VALAOBJECTCREATIONEXPRESSION_H__ | | #define __VALA_VALAOBJECTCREATIONEXPRESSION_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_OBJECT_CREATION_EXPRESSION (vala_object_creation_expressi
on_get_type ()) | | #define VALA_TYPE_OBJECT_CREATION_EXPRESSION (vala_object_creation_expressi
on_get_type ()) | |
| #define VALA_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((
obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpression)) | | #define VALA_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((
obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpression)) | |
| #define VALA_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA
ST ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpres
sionClass)) | | #define VALA_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA
ST ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpres
sionClass)) | |
| #define VALA_IS_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | | #define VALA_IS_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | |
| #define VALA_IS_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS
_TYPE ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | | #define VALA_IS_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS
_TYPE ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | |
| | | | |
| skipping to change at line 57 | | skipping to change at line 57 | |
| ValaExpression parent_instance; | | ValaExpression parent_instance; | |
| ValaObjectCreationExpressionPrivate * priv; | | ValaObjectCreationExpressionPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaObjectCreationExpressionClass { | | struct _ValaObjectCreationExpressionClass { | |
| ValaExpressionClass parent_class; | | ValaExpressionClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaObjectCreationExpression* vala_object_creation_expression_new (ValaMemb
erAccess* member_name, ValaSourceReference* source_reference); | | ValaObjectCreationExpression* vala_object_creation_expression_new (ValaMemb
erAccess* member_name, ValaSourceReference* source_reference); | |
| void vala_object_creation_expression_add_argument (ValaObjectCreationExpres
sion* self, ValaExpression* arg); | | void vala_object_creation_expression_add_argument (ValaObjectCreationExpres
sion* self, ValaExpression* arg); | |
|
| GeeCollection* vala_object_creation_expression_get_argument_list (ValaObjec
tCreationExpression* self); | | GeeList* vala_object_creation_expression_get_argument_list (ValaObjectCreat
ionExpression* self); | |
| void vala_object_creation_expression_add_member_initializer (ValaObjectCrea
tionExpression* self, ValaMemberInitializer* init); | | void vala_object_creation_expression_add_member_initializer (ValaObjectCrea
tionExpression* self, ValaMemberInitializer* init); | |
|
| GeeCollection* vala_object_creation_expression_get_object_initializer (Vala
ObjectCreationExpression* self); | | GeeList* vala_object_creation_expression_get_object_initializer (ValaObject
CreationExpression* self); | |
| ValaDataType* vala_object_creation_expression_get_type_reference (ValaObjec
tCreationExpression* self); | | ValaDataType* vala_object_creation_expression_get_type_reference (ValaObjec
tCreationExpression* self); | |
| void vala_object_creation_expression_set_type_reference (ValaObjectCreation
Expression* self, ValaDataType* value); | | void vala_object_creation_expression_set_type_reference (ValaObjectCreation
Expression* self, ValaDataType* value); | |
| ValaMethod* vala_object_creation_expression_get_constructor (ValaObjectCrea
tionExpression* self); | | ValaMethod* vala_object_creation_expression_get_constructor (ValaObjectCrea
tionExpression* self); | |
| void vala_object_creation_expression_set_constructor (ValaObjectCreationExp
ression* self, ValaMethod* value); | | void vala_object_creation_expression_set_constructor (ValaObjectCreationExp
ression* self, ValaMethod* value); | |
| ValaMemberAccess* vala_object_creation_expression_get_member_name (ValaObje
ctCreationExpression* self); | | ValaMemberAccess* vala_object_creation_expression_get_member_name (ValaObje
ctCreationExpression* self); | |
| void vala_object_creation_expression_set_member_name (ValaObjectCreationExp
ression* self, ValaMemberAccess* value); | | void vala_object_creation_expression_set_member_name (ValaObjectCreationExp
ression* self, ValaMemberAccess* value); | |
| gboolean vala_object_creation_expression_get_struct_creation (ValaObjectCre
ationExpression* self); | | gboolean vala_object_creation_expression_get_struct_creation (ValaObjectCre
ationExpression* self); | |
| void vala_object_creation_expression_set_struct_creation (ValaObjectCreatio
nExpression* self, gboolean value); | | void vala_object_creation_expression_set_struct_creation (ValaObjectCreatio
nExpression* self, gboolean value); | |
| GType vala_object_creation_expression_get_type (void); | | GType vala_object_creation_expression_get_type (void); | |
| | | | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|
| valaproperty.h | | valaproperty.h | |
| | | | |
| skipping to change at line 58 | | skipping to change at line 58 | |
| */ | | */ | |
| struct _ValaProperty { | | struct _ValaProperty { | |
| ValaMember parent_instance; | | ValaMember parent_instance; | |
| ValaPropertyPrivate * priv; | | ValaPropertyPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaPropertyClass { | | struct _ValaPropertyClass { | |
| ValaMemberClass parent_class; | | ValaMemberClass parent_class; | |
| }; | | }; | |
| | | | |
|
| ValaProperty* vala_property_new (const char* _name, ValaDataType* type, Val
aPropertyAccessor* _get_accessor, ValaPropertyAccessor* _set_accessor, Vala
SourceReference* source); | | ValaProperty* vala_property_new (const char* name, ValaDataType* property_t
ype, ValaPropertyAccessor* get_accessor, ValaPropertyAccessor* set_accessor
, ValaSourceReference* source_reference); | |
| char* vala_property_get_upper_case_cname (ValaProperty* self); | | char* vala_property_get_upper_case_cname (ValaProperty* self); | |
| ValaCCodeConstant* vala_property_get_canonical_cconstant (ValaProperty* sel
f); | | ValaCCodeConstant* vala_property_get_canonical_cconstant (ValaProperty* sel
f); | |
| void vala_property_process_attributes (ValaProperty* self); | | void vala_property_process_attributes (ValaProperty* self); | |
| gboolean vala_property_equals (ValaProperty* self, ValaProperty* prop2); | | gboolean vala_property_equals (ValaProperty* self, ValaProperty* prop2); | |
|
| ValaDataType* vala_property_get_type_reference (ValaProperty* self); | | ValaDataType* vala_property_get_property_type (ValaProperty* self); | |
| void vala_property_set_type_reference (ValaProperty* self, ValaDataType* va | | void vala_property_set_property_type (ValaProperty* self, ValaDataType* val | |
| lue); | | ue); | |
| ValaPropertyAccessor* vala_property_get_get_accessor (ValaProperty* self); | | ValaPropertyAccessor* vala_property_get_get_accessor (ValaProperty* self); | |
| void vala_property_set_get_accessor (ValaProperty* self, ValaPropertyAccess
or* value); | | void vala_property_set_get_accessor (ValaProperty* self, ValaPropertyAccess
or* value); | |
| ValaPropertyAccessor* vala_property_get_set_accessor (ValaProperty* self); | | ValaPropertyAccessor* vala_property_get_set_accessor (ValaProperty* self); | |
| void vala_property_set_set_accessor (ValaProperty* self, ValaPropertyAccess
or* value); | | void vala_property_set_set_accessor (ValaProperty* self, ValaPropertyAccess
or* value); | |
| ValaFormalParameter* vala_property_get_this_parameter (ValaProperty* self); | | ValaFormalParameter* vala_property_get_this_parameter (ValaProperty* self); | |
| void vala_property_set_this_parameter (ValaProperty* self, ValaFormalParame
ter* value); | | void vala_property_set_this_parameter (ValaProperty* self, ValaFormalParame
ter* value); | |
| gboolean vala_property_get_notify (ValaProperty* self); | | gboolean vala_property_get_notify (ValaProperty* self); | |
| void vala_property_set_notify (ValaProperty* self, gboolean value); | | void vala_property_set_notify (ValaProperty* self, gboolean value); | |
| gboolean vala_property_get_no_accessor_method (ValaProperty* self); | | gboolean vala_property_get_no_accessor_method (ValaProperty* self); | |
| void vala_property_set_no_accessor_method (ValaProperty* self, gboolean val
ue); | | void vala_property_set_no_accessor_method (ValaProperty* self, gboolean val
ue); | |
| | | | |
| skipping to change at line 88 | | skipping to change at line 88 | |
| void vala_property_set_is_abstract (ValaProperty* self, gboolean value); | | void vala_property_set_is_abstract (ValaProperty* self, gboolean value); | |
| gboolean vala_property_get_is_virtual (ValaProperty* self); | | gboolean vala_property_get_is_virtual (ValaProperty* self); | |
| void vala_property_set_is_virtual (ValaProperty* self, gboolean value); | | void vala_property_set_is_virtual (ValaProperty* self, gboolean value); | |
| gboolean vala_property_get_overrides (ValaProperty* self); | | gboolean vala_property_get_overrides (ValaProperty* self); | |
| void vala_property_set_overrides (ValaProperty* self, gboolean value); | | void vala_property_set_overrides (ValaProperty* self, gboolean value); | |
| ValaField* vala_property_get_field (ValaProperty* self); | | ValaField* vala_property_get_field (ValaProperty* self); | |
| void vala_property_set_field (ValaProperty* self, ValaField* value); | | void vala_property_set_field (ValaProperty* self, ValaField* value); | |
| MemberBinding vala_property_get_binding (ValaProperty* self); | | MemberBinding vala_property_get_binding (ValaProperty* self); | |
| void vala_property_set_binding (ValaProperty* self, MemberBinding value); | | void vala_property_set_binding (ValaProperty* self, MemberBinding value); | |
| ValaProperty* vala_property_get_base_property (ValaProperty* self); | | ValaProperty* vala_property_get_base_property (ValaProperty* self); | |
|
| void vala_property_set_base_property (ValaProperty* self, ValaProperty* val
ue); | | | |
| ValaProperty* vala_property_get_base_interface_property (ValaProperty* self
); | | ValaProperty* vala_property_get_base_interface_property (ValaProperty* self
); | |
|
| void vala_property_set_base_interface_property (ValaProperty* self, ValaPro
perty* value); | | | |
| ValaExpression* vala_property_get_default_expression (ValaProperty* self); | | ValaExpression* vala_property_get_default_expression (ValaProperty* self); | |
| void vala_property_set_default_expression (ValaProperty* self, ValaExpressi
on* value); | | void vala_property_set_default_expression (ValaProperty* self, ValaExpressi
on* value); | |
|
| char* vala_property_get_nick (ValaProperty* self); | | const char* vala_property_get_nick (ValaProperty* self); | |
| void vala_property_set_nick (ValaProperty* self, const char* value); | | void vala_property_set_nick (ValaProperty* self, const char* value); | |
|
| char* vala_property_get_blurb (ValaProperty* self); | | const char* vala_property_get_blurb (ValaProperty* self); | |
| void vala_property_set_blurb (ValaProperty* self, const char* value); | | void vala_property_set_blurb (ValaProperty* self, const char* value); | |
| GType vala_property_get_type (void); | | GType vala_property_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 8 lines changed or deleted | | 6 lines changed or added | |
|
| valasemanticanalyzer.h | | valasemanticanalyzer.h | |
| | | | |
| skipping to change at line 53 | | skipping to change at line 53 | |
| #include <vala/valamethod.h> | | #include <vala/valamethod.h> | |
| #include <vala/valacreationmethod.h> | | #include <vala/valacreationmethod.h> | |
| #include <vala/valaformalparameter.h> | | #include <vala/valaformalparameter.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valapropertyaccessor.h> | | #include <vala/valapropertyaccessor.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
| #include <vala/valaconstructor.h> | | #include <vala/valaconstructor.h> | |
| #include <vala/valadestructor.h> | | #include <vala/valadestructor.h> | |
| #include <vala/valanamedargument.h> | | #include <vala/valanamedargument.h> | |
| #include <vala/valablock.h> | | #include <vala/valablock.h> | |
|
| | | #include <vala/valadeclarationstatement.h> | |
| #include <vala/valalocalvariable.h> | | #include <vala/valalocalvariable.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valaifstatement.h> | | #include <vala/valaifstatement.h> | |
| #include <vala/valaswitchsection.h> | | #include <vala/valaswitchsection.h> | |
| #include <vala/valawhilestatement.h> | | #include <vala/valawhilestatement.h> | |
| #include <vala/valadostatement.h> | | #include <vala/valadostatement.h> | |
| #include <vala/valaforstatement.h> | | #include <vala/valaforstatement.h> | |
| #include <vala/valaforeachstatement.h> | | #include <vala/valaforeachstatement.h> | |
| #include <vala/valareturnstatement.h> | | #include <vala/valareturnstatement.h> | |
| | | | |
| skipping to change at line 78 | | skipping to change at line 79 | |
| #include <vala/valaarraycreationexpression.h> | | #include <vala/valaarraycreationexpression.h> | |
| #include <vala/valabooleanliteral.h> | | #include <vala/valabooleanliteral.h> | |
| #include <vala/valacharacterliteral.h> | | #include <vala/valacharacterliteral.h> | |
| #include <vala/valaintegerliteral.h> | | #include <vala/valaintegerliteral.h> | |
| #include <vala/valarealliteral.h> | | #include <vala/valarealliteral.h> | |
| #include <vala/valastringliteral.h> | | #include <vala/valastringliteral.h> | |
| #include <vala/valanullliteral.h> | | #include <vala/valanullliteral.h> | |
| #include <vala/valasymbol.h> | | #include <vala/valasymbol.h> | |
| #include <vala/valaparenthesizedexpression.h> | | #include <vala/valaparenthesizedexpression.h> | |
| #include <vala/valamemberaccess.h> | | #include <vala/valamemberaccess.h> | |
|
| #include <vala/valainvocationexpression.h> | | | |
| #include <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
|
| | | #include <vala/valatypesymbol.h> | |
| | | #include <vala/valainvocationexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| #include <vala/valaelementaccess.h> | | #include <vala/valaelementaccess.h> | |
| #include <vala/valabaseaccess.h> | | #include <vala/valabaseaccess.h> | |
| #include <vala/valapostfixexpression.h> | | #include <vala/valapostfixexpression.h> | |
| #include <vala/valaobjectcreationexpression.h> | | #include <vala/valaobjectcreationexpression.h> | |
| #include <vala/valasizeofexpression.h> | | #include <vala/valasizeofexpression.h> | |
| #include <vala/valatypeofexpression.h> | | #include <vala/valatypeofexpression.h> | |
| #include <vala/valaunaryexpression.h> | | #include <vala/valaunaryexpression.h> | |
| #include <vala/valacastexpression.h> | | #include <vala/valacastexpression.h> | |
| #include <vala/valapointerindirection.h> | | #include <vala/valapointerindirection.h> | |
| | | | |
| skipping to change at line 126 | | skipping to change at line 128 | |
| ValaSemanticAnalyzerPrivate * priv; | | ValaSemanticAnalyzerPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaSemanticAnalyzerClass { | | struct _ValaSemanticAnalyzerClass { | |
| ValaCodeVisitorClass parent_class; | | ValaCodeVisitorClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaSemanticAnalyzer* vala_semantic_analyzer_new (void); | | ValaSemanticAnalyzer* vala_semantic_analyzer_new (void); | |
| void vala_semantic_analyzer_analyze (ValaSemanticAnalyzer* self, ValaCodeCo
ntext* context); | | void vala_semantic_analyzer_analyze (ValaSemanticAnalyzer* self, ValaCodeCo
ntext* context); | |
| ValaSymbol* vala_semantic_analyzer_symbol_lookup_inherited (ValaSymbol* sym
, const char* name); | | ValaSymbol* vala_semantic_analyzer_symbol_lookup_inherited (ValaSymbol* sym
, const char* name); | |
|
| | | ValaDataType* vala_semantic_analyzer_get_data_type_for_symbol (ValaTypeSymb
ol* sym); | |
| ValaDataType* vala_semantic_analyzer_get_actual_type (ValaDataType* derived
_instance_type, ValaSymbol* generic_member, ValaDataType* generic_type, Val
aCodeNode* node_reference); | | ValaDataType* vala_semantic_analyzer_get_actual_type (ValaDataType* derived
_instance_type, ValaSymbol* generic_member, ValaDataType* generic_type, Val
aCodeNode* node_reference); | |
| GType vala_semantic_analyzer_get_type (void); | | GType vala_semantic_analyzer_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 1 lines changed or deleted | | 4 lines changed or added | |
|
| valasourcefile.h | | valasourcefile.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALASOURCEFILE_H__ | | #ifndef __VALA_VALASOURCEFILE_H__ | |
| #define __VALA_VALASOURCEFILE_H__ | | #define __VALA_VALASOURCEFILE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_SOURCE_FILE (vala_source_file_get_type ()) | | #define VALA_TYPE_SOURCE_FILE (vala_source_file_get_type ()) | |
| #define VALA_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE
_SOURCE_FILE, ValaSourceFile)) | | #define VALA_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE
_SOURCE_FILE, ValaSourceFile)) | |
| #define VALA_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA
LA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | | #define VALA_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA
LA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | |
| #define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T
YPE_SOURCE_FILE)) | | #define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T
YPE_SOURCE_FILE)) | |
| #define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_SOURCE_FILE)) | | #define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_SOURCE_FILE)) | |
| #define VALA_SOURCE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | | #define VALA_SOURCE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | |
| | | | |
| skipping to change at line 66 | | skipping to change at line 66 | |
| }; | | }; | |
| | | | |
| typedef enum { | | typedef enum { | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | |
| } ValaSourceFileDependencyType; | | } ValaSourceFileDependencyType; | |
| | | | |
| ValaSourceFile* vala_source_file_new (ValaCodeContext* context, const char*
filename, gboolean pkg); | | ValaSourceFile* vala_source_file_new (ValaCodeContext* context, const char*
filename, gboolean pkg); | |
| void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp
aceReference* ns); | | void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp
aceReference* ns); | |
|
| GeeCollection* vala_source_file_get_using_directives (ValaSourceFile* self)
; | | GeeList* vala_source_file_get_using_directives (ValaSourceFile* self); | |
| void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | | void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | |
| void vala_source_file_remove_node (ValaSourceFile* self, ValaCodeNode* node
); | | void vala_source_file_remove_node (ValaSourceFile* self, ValaCodeNode* node
); | |
|
| GeeCollection* vala_source_file_get_nodes (ValaSourceFile* self); | | GeeList* vala_source_file_get_nodes (ValaSourceFile* self); | |
| void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito
r); | | void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito
r); | |
| void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito
r* visitor); | | void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito
r* visitor); | |
|
| | | char* vala_source_file_get_relative_filename (ValaSourceFile* self); | |
| char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | | char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | |
| char* vala_source_file_get_csource_filename (ValaSourceFile* self); | | char* vala_source_file_get_csource_filename (ValaSourceFile* self); | |
| char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | | char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | |
| void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb
ol* sym, ValaSourceFileDependencyType dep_type); | | void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb
ol* sym, ValaSourceFileDependencyType dep_type); | |
| void vala_source_file_add_type_dependency (ValaSourceFile* self, ValaDataTy
pe* type, ValaSourceFileDependencyType dep_type); | | void vala_source_file_add_type_dependency (ValaSourceFile* self, ValaDataTy
pe* type, ValaSourceFileDependencyType dep_type); | |
|
| GeeCollection* vala_source_file_get_header_external_includes (ValaSourceFil
e* self); | | GeeList* vala_source_file_get_header_external_includes (ValaSourceFile* sel
f); | |
| void vala_source_file_add_header_internal_include (ValaSourceFile* self, co
nst char* include); | | void vala_source_file_add_header_internal_include (ValaSourceFile* self, co
nst char* include); | |
|
| GeeCollection* vala_source_file_get_header_internal_includes (ValaSourceFil | | GeeList* vala_source_file_get_header_internal_includes (ValaSourceFile* sel | |
| e* self); | | f); | |
| GeeCollection* vala_source_file_get_source_external_includes (ValaSourceFil | | GeeList* vala_source_file_get_source_external_includes (ValaSourceFile* sel | |
| e* self); | | f); | |
| GeeCollection* vala_source_file_get_source_internal_includes (ValaSourceFil | | GeeList* vala_source_file_get_source_internal_includes (ValaSourceFile* sel | |
| e* self); | | f); | |
| GeeCollection* vala_source_file_get_header_internal_full_dependencies (Vala | | GeeList* vala_source_file_get_header_internal_full_dependencies (ValaSource | |
| SourceFile* self); | | File* self); | |
| GeeCollection* vala_source_file_get_header_internal_dependencies (ValaSourc | | GeeList* vala_source_file_get_header_internal_dependencies (ValaSourceFile* | |
| eFile* self); | | self); | |
| char* vala_source_file_get_source_line (ValaSourceFile* self, gint lineno); | | char* vala_source_file_get_source_line (ValaSourceFile* self, gint lineno); | |
| gchar* vala_source_file_get_mapped_contents (ValaSourceFile* self); | | gchar* vala_source_file_get_mapped_contents (ValaSourceFile* self); | |
| gsize vala_source_file_get_mapped_length (ValaSourceFile* self); | | gsize vala_source_file_get_mapped_length (ValaSourceFile* self); | |
|
| char* vala_source_file_get_filename (ValaSourceFile* self); | | const char* vala_source_file_get_filename (ValaSourceFile* self); | |
| void vala_source_file_set_filename (ValaSourceFile* self, const char* value
); | | void vala_source_file_set_filename (ValaSourceFile* self, const char* value
); | |
|
| char* vala_source_file_get_comment (ValaSourceFile* self); | | const char* vala_source_file_get_comment (ValaSourceFile* self); | |
| void vala_source_file_set_comment (ValaSourceFile* self, const char* value)
; | | void vala_source_file_set_comment (ValaSourceFile* self, const char* value)
; | |
| gboolean vala_source_file_get_external_package (ValaSourceFile* self); | | gboolean vala_source_file_get_external_package (ValaSourceFile* self); | |
| void vala_source_file_set_external_package (ValaSourceFile* self, gboolean
value); | | void vala_source_file_set_external_package (ValaSourceFile* self, gboolean
value); | |
| ValaSourceFileCycle* vala_source_file_get_cycle (ValaSourceFile* self); | | ValaSourceFileCycle* vala_source_file_get_cycle (ValaSourceFile* self); | |
| void vala_source_file_set_cycle (ValaSourceFile* self, ValaSourceFileCycle*
value); | | void vala_source_file_set_cycle (ValaSourceFile* self, ValaSourceFileCycle*
value); | |
| gboolean vala_source_file_get_is_cycle_head (ValaSourceFile* self); | | gboolean vala_source_file_get_is_cycle_head (ValaSourceFile* self); | |
| void vala_source_file_set_is_cycle_head (ValaSourceFile* self, gboolean val
ue); | | void vala_source_file_set_is_cycle_head (ValaSourceFile* self, gboolean val
ue); | |
| gint vala_source_file_get_mark (ValaSourceFile* self); | | gint vala_source_file_get_mark (ValaSourceFile* self); | |
| void vala_source_file_set_mark (ValaSourceFile* self, gint value); | | void vala_source_file_set_mark (ValaSourceFile* self, gint value); | |
| ValaCodeContext* vala_source_file_get_context (ValaSourceFile* self); | | ValaCodeContext* vala_source_file_get_context (ValaSourceFile* self); | |
| | | | |
End of changes. 8 change blocks. |
| 16 lines changed or deleted | | 17 lines changed or added | |
|
| valastruct.h | | valastruct.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALASTRUCT_H__ | | #ifndef __VALA_VALASTRUCT_H__ | |
| #define __VALA_VALASTRUCT_H__ | | #define __VALA_VALASTRUCT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valatypesymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_STRUCT (vala_struct_get_type ()) | | #define VALA_TYPE_STRUCT (vala_struct_get_type ()) | |
| #define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRU
CT, ValaStruct)) | | #define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRU
CT, ValaStruct)) | |
| #define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_STRUCT, ValaStructClass)) | | #define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_STRUCT, ValaStructClass)) | |
| #define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S
TRUCT)) | | #define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S
TRUCT)) | |
| #define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_STRUCT)) | | #define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_STRUCT)) | |
| #define VALA_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_STRUCT, ValaStructClass)) | | #define VALA_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_STRUCT, ValaStructClass)) | |
| | | | |
| typedef struct _ValaStructPrivate ValaStructPrivate; | | typedef struct _ValaStructPrivate ValaStructPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a struct declaration in the source code. | | * Represents a struct declaration in the source code. | |
| */ | | */ | |
| struct _ValaStruct { | | struct _ValaStruct { | |
|
| ValaTypesymbol parent_instance; | | ValaTypeSymbol parent_instance; | |
| ValaStructPrivate * priv; | | ValaStructPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaStructClass { | | struct _ValaStructClass { | |
|
| ValaTypesymbolClass parent_class; | | ValaTypeSymbolClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaStruct* vala_struct_new (const char* name, ValaSourceReference* source_
reference); | | ValaStruct* vala_struct_new (const char* name, ValaSourceReference* source_
reference); | |
| void vala_struct_add_type_parameter (ValaStruct* self, ValaTypeParameter* p
); | | void vala_struct_add_type_parameter (ValaStruct* self, ValaTypeParameter* p
); | |
|
| GeeCollection* vala_struct_get_type_parameters (ValaStruct* self); | | GeeList* vala_struct_get_type_parameters (ValaStruct* self); | |
| void vala_struct_add_constant (ValaStruct* self, ValaConstant* c); | | void vala_struct_add_constant (ValaStruct* self, ValaConstant* c); | |
| void vala_struct_add_field (ValaStruct* self, ValaField* f); | | void vala_struct_add_field (ValaStruct* self, ValaField* f); | |
|
| GeeCollection* vala_struct_get_fields (ValaStruct* self); | | GeeList* vala_struct_get_fields (ValaStruct* self); | |
| void vala_struct_add_method (ValaStruct* self, ValaMethod* m); | | void vala_struct_add_method (ValaStruct* self, ValaMethod* m); | |
|
| GeeCollection* vala_struct_get_methods (ValaStruct* self); | | GeeList* vala_struct_get_methods (ValaStruct* self); | |
| char* vala_struct_get_default_cname (ValaStruct* self); | | char* vala_struct_get_default_cname (ValaStruct* self); | |
| gboolean vala_struct_is_integer_type (ValaStruct* self); | | gboolean vala_struct_is_integer_type (ValaStruct* self); | |
| gboolean vala_struct_is_floating_type (ValaStruct* self); | | gboolean vala_struct_is_floating_type (ValaStruct* self); | |
| gint vala_struct_get_rank (ValaStruct* self); | | gint vala_struct_get_rank (ValaStruct* self); | |
| void vala_struct_process_attributes (ValaStruct* self); | | void vala_struct_process_attributes (ValaStruct* self); | |
| void vala_struct_set_type_id (ValaStruct* self, const char* name); | | void vala_struct_set_type_id (ValaStruct* self, const char* name); | |
| void vala_struct_add_base_type (ValaStruct* self, ValaDataType* type); | | void vala_struct_add_base_type (ValaStruct* self, ValaDataType* type); | |
|
| GeeCollection* vala_struct_get_base_types (ValaStruct* self); | | GeeList* vala_struct_get_base_types (ValaStruct* self); | |
| gboolean vala_struct_is_simple_type (ValaStruct* self); | | gboolean vala_struct_is_simple_type (ValaStruct* self); | |
| void vala_struct_set_simple_type (ValaStruct* self, gboolean simple_type); | | void vala_struct_set_simple_type (ValaStruct* self, gboolean simple_type); | |
| ValaMethod* vala_struct_get_default_construction_method (ValaStruct* self); | | ValaMethod* vala_struct_get_default_construction_method (ValaStruct* self); | |
| void vala_struct_set_default_construction_method (ValaStruct* self, ValaMet
hod* value); | | void vala_struct_set_default_construction_method (ValaStruct* self, ValaMet
hod* value); | |
| GType vala_struct_get_type (void); | | GType vala_struct_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 7 lines changed or deleted | | 7 lines changed or added | |
|
| valasymbol.h | | valasymbol.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALASYMBOL_H__ | | #ifndef __VALA_VALASYMBOL_H__ | |
| #define __VALA_VALASYMBOL_H__ | | #define __VALA_VALASYMBOL_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_SYMBOL (vala_symbol_get_type ()) | | #define VALA_TYPE_SYMBOL (vala_symbol_get_type ()) | |
| #define VALA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SYMB
OL, ValaSymbol)) | | #define VALA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SYMB
OL, ValaSymbol)) | |
| #define VALA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_SYMBOL, ValaSymbolClass)) | | #define VALA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_SYMBOL, ValaSymbolClass)) | |
| #define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S
YMBOL)) | | #define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S
YMBOL)) | |
| #define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_SYMBOL)) | | #define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_SYMBOL)) | |
| #define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_SYMBOL, ValaSymbolClass)) | | #define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_SYMBOL, ValaSymbolClass)) | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 59 | |
| struct _ValaSymbol { | | struct _ValaSymbol { | |
| ValaCodeNode parent_instance; | | ValaCodeNode parent_instance; | |
| ValaSymbolPrivate * priv; | | ValaSymbolPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaSymbolClass { | | struct _ValaSymbolClass { | |
| ValaCodeNodeClass parent_class; | | ValaCodeNodeClass parent_class; | |
| char* (*get_cprefix) (ValaSymbol* self); | | char* (*get_cprefix) (ValaSymbol* self); | |
| char* (*get_lower_case_cname) (ValaSymbol* self, const char* infix); | | char* (*get_lower_case_cname) (ValaSymbol* self, const char* infix); | |
| char* (*get_lower_case_cprefix) (ValaSymbol* self); | | char* (*get_lower_case_cprefix) (ValaSymbol* self); | |
|
| GeeCollection* (*get_cheader_filenames) (ValaSymbol* self); | | GeeList* (*get_cheader_filenames) (ValaSymbol* self); | |
| }; | | }; | |
| | | | |
| typedef enum { | | typedef enum { | |
| VALA_SYMBOL_ACCESSIBILITY_PRIVATE, | | VALA_SYMBOL_ACCESSIBILITY_PRIVATE, | |
| VALA_SYMBOL_ACCESSIBILITY_INTERNAL, | | VALA_SYMBOL_ACCESSIBILITY_INTERNAL, | |
| VALA_SYMBOL_ACCESSIBILITY_PROTECTED, | | VALA_SYMBOL_ACCESSIBILITY_PROTECTED, | |
| VALA_SYMBOL_ACCESSIBILITY_PUBLIC | | VALA_SYMBOL_ACCESSIBILITY_PUBLIC | |
| } ValaSymbolAccessibility; | | } ValaSymbolAccessibility; | |
| | | | |
| gboolean vala_symbol_is_internal_symbol (ValaSymbol* self); | | gboolean vala_symbol_is_internal_symbol (ValaSymbol* self); | |
| char* vala_symbol_get_full_name (ValaSymbol* self); | | char* vala_symbol_get_full_name (ValaSymbol* self); | |
| char* vala_symbol_get_cprefix (ValaSymbol* self); | | char* vala_symbol_get_cprefix (ValaSymbol* self); | |
| char* vala_symbol_get_lower_case_cname (ValaSymbol* self, const char* infix
); | | char* vala_symbol_get_lower_case_cname (ValaSymbol* self, const char* infix
); | |
| char* vala_symbol_get_lower_case_cprefix (ValaSymbol* self); | | char* vala_symbol_get_lower_case_cprefix (ValaSymbol* self); | |
|
| GeeCollection* vala_symbol_get_cheader_filenames (ValaSymbol* self); | | GeeList* vala_symbol_get_cheader_filenames (ValaSymbol* self); | |
| char* vala_symbol_camel_case_to_lower_case (const char* camel_case); | | char* vala_symbol_camel_case_to_lower_case (const char* camel_case); | |
| ValaScope* vala_symbol_get_top_accessible_scope (ValaSymbol* self); | | ValaScope* vala_symbol_get_top_accessible_scope (ValaSymbol* self); | |
|
| ValaSymbol* vala_symbol_new (void); | | | |
| ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self); | | ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self); | |
| ValaScope* vala_symbol_get_owner (ValaSymbol* self); | | ValaScope* vala_symbol_get_owner (ValaSymbol* self); | |
| void vala_symbol_set_owner (ValaSymbol* self, ValaScope* value); | | void vala_symbol_set_owner (ValaSymbol* self, ValaScope* value); | |
|
| char* vala_symbol_get_name (ValaSymbol* self); | | const char* vala_symbol_get_name (ValaSymbol* self); | |
| void vala_symbol_set_name (ValaSymbol* self, const char* value); | | void vala_symbol_set_name (ValaSymbol* self, const char* value); | |
| gboolean vala_symbol_get_active (ValaSymbol* self); | | gboolean vala_symbol_get_active (ValaSymbol* self); | |
| void vala_symbol_set_active (ValaSymbol* self, gboolean value); | | void vala_symbol_set_active (ValaSymbol* self, gboolean value); | |
| ValaSymbolAccessibility vala_symbol_get_access (ValaSymbol* self); | | ValaSymbolAccessibility vala_symbol_get_access (ValaSymbol* self); | |
| void vala_symbol_set_access (ValaSymbol* self, ValaSymbolAccessibility valu
e); | | void vala_symbol_set_access (ValaSymbol* self, ValaSymbolAccessibility valu
e); | |
| ValaScope* vala_symbol_get_scope (ValaSymbol* self); | | ValaScope* vala_symbol_get_scope (ValaSymbol* self); | |
| gboolean vala_symbol_get_external (ValaSymbol* self); | | gboolean vala_symbol_get_external (ValaSymbol* self); | |
| void vala_symbol_set_external (ValaSymbol* self, gboolean value); | | void vala_symbol_set_external (ValaSymbol* self, gboolean value); | |
| gboolean vala_symbol_get_external_package (ValaSymbol* self); | | gboolean vala_symbol_get_external_package (ValaSymbol* self); | |
| GType vala_symbol_get_type (void); | | GType vala_symbol_get_type (void); | |
| | | | |
End of changes. 5 change blocks. |
| 5 lines changed or deleted | | 4 lines changed or added | |
|
| valatyperegisterfunction.h | | valatyperegisterfunction.h | |
| | | | |
| skipping to change at line 57 | | skipping to change at line 57 | |
| /** | | /** | |
| * C function to register a type at runtime. | | * C function to register a type at runtime. | |
| */ | | */ | |
| struct _ValaTypeRegisterFunction { | | struct _ValaTypeRegisterFunction { | |
| GObject parent_instance; | | GObject parent_instance; | |
| ValaTypeRegisterFunctionPrivate * priv; | | ValaTypeRegisterFunctionPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaTypeRegisterFunctionClass { | | struct _ValaTypeRegisterFunctionClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
|
| ValaTypesymbol* (*get_type_declaration) (ValaTypeRegisterFunction* s
elf); | | ValaTypeSymbol* (*get_type_declaration) (ValaTypeRegisterFunction* s
elf); | |
| char* (*get_type_struct_name) (ValaTypeRegisterFunction* self); | | char* (*get_type_struct_name) (ValaTypeRegisterFunction* self); | |
| char* (*get_base_init_func_name) (ValaTypeRegisterFunction* self); | | char* (*get_base_init_func_name) (ValaTypeRegisterFunction* self); | |
| char* (*get_class_init_func_name) (ValaTypeRegisterFunction* self); | | char* (*get_class_init_func_name) (ValaTypeRegisterFunction* self); | |
| char* (*get_instance_struct_size) (ValaTypeRegisterFunction* self); | | char* (*get_instance_struct_size) (ValaTypeRegisterFunction* self); | |
| char* (*get_instance_init_func_name) (ValaTypeRegisterFunction* self
); | | char* (*get_instance_init_func_name) (ValaTypeRegisterFunction* self
); | |
| char* (*get_parent_type_name) (ValaTypeRegisterFunction* self); | | char* (*get_parent_type_name) (ValaTypeRegisterFunction* self); | |
| char* (*get_type_flags) (ValaTypeRegisterFunction* self); | | char* (*get_type_flags) (ValaTypeRegisterFunction* self); | |
| ValaCCodeFragment* (*get_type_interface_init_declaration) (ValaTypeR
egisterFunction* self); | | ValaCCodeFragment* (*get_type_interface_init_declaration) (ValaTypeR
egisterFunction* self); | |
| ValaCCodeFragment* (*get_type_interface_init_statements) (ValaTypeRe
gisterFunction* self); | | ValaCCodeFragment* (*get_type_interface_init_statements) (ValaTypeRe
gisterFunction* self); | |
| ValaSymbolAccessibility (*get_accessibility) (ValaTypeRegisterFuncti
on* self); | | ValaSymbolAccessibility (*get_accessibility) (ValaTypeRegisterFuncti
on* self); | |
| }; | | }; | |
| | | | |
| void vala_typeregister_function_init_from_type (ValaTypeRegisterFunction* s
elf, gboolean plugin); | | void vala_typeregister_function_init_from_type (ValaTypeRegisterFunction* s
elf, gboolean plugin); | |
|
| ValaTypesymbol* vala_typeregister_function_get_type_declaration (ValaTypeRe
gisterFunction* self); | | ValaTypeSymbol* vala_typeregister_function_get_type_declaration (ValaTypeRe
gisterFunction* self); | |
| char* vala_typeregister_function_get_type_struct_name (ValaTypeRegisterFunc
tion* self); | | char* vala_typeregister_function_get_type_struct_name (ValaTypeRegisterFunc
tion* self); | |
| char* vala_typeregister_function_get_base_init_func_name (ValaTypeRegisterF
unction* self); | | char* vala_typeregister_function_get_base_init_func_name (ValaTypeRegisterF
unction* self); | |
| char* vala_typeregister_function_get_class_init_func_name (ValaTypeRegister
Function* self); | | char* vala_typeregister_function_get_class_init_func_name (ValaTypeRegister
Function* self); | |
| char* vala_typeregister_function_get_instance_struct_size (ValaTypeRegister
Function* self); | | char* vala_typeregister_function_get_instance_struct_size (ValaTypeRegister
Function* self); | |
| char* vala_typeregister_function_get_instance_init_func_name (ValaTypeRegis
terFunction* self); | | char* vala_typeregister_function_get_instance_init_func_name (ValaTypeRegis
terFunction* self); | |
| char* vala_typeregister_function_get_parent_type_name (ValaTypeRegisterFunc
tion* self); | | char* vala_typeregister_function_get_parent_type_name (ValaTypeRegisterFunc
tion* self); | |
| char* vala_typeregister_function_get_type_flags (ValaTypeRegisterFunction*
self); | | char* vala_typeregister_function_get_type_flags (ValaTypeRegisterFunction*
self); | |
| ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_decla
ration (ValaTypeRegisterFunction* self); | | ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_decla
ration (ValaTypeRegisterFunction* self); | |
| ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_state
ments (ValaTypeRegisterFunction* self); | | ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_state
ments (ValaTypeRegisterFunction* self); | |
| ValaCCodeFragment* vala_typeregister_function_get_declaration (ValaTypeRegi
sterFunction* self); | | ValaCCodeFragment* vala_typeregister_function_get_declaration (ValaTypeRegi
sterFunction* self); | |
| ValaCCodeFragment* vala_typeregister_function_get_definition (ValaTypeRegis
terFunction* self); | | ValaCCodeFragment* vala_typeregister_function_get_definition (ValaTypeRegis
terFunction* self); | |
| ValaSymbolAccessibility vala_typeregister_function_get_accessibility (ValaT
ypeRegisterFunction* self); | | ValaSymbolAccessibility vala_typeregister_function_get_accessibility (ValaT
ypeRegisterFunction* self); | |
|
| ValaTypeRegisterFunction* vala_typeregister_function_new (void); | | | |
| GType vala_typeregister_function_get_type (void); | | GType vala_typeregister_function_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 2 lines changed or added | |
|
| valatypesymbol.h | | valatypesymbol.h | |
|
| /* valatype.vala | | /* valatypesymbol.vala | |
| * | | * | |
| * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| | | | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| * Raffaele Sandrini <raffaele@sandrini.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALATYPESYMBOL_H__ | | #ifndef __VALA_VALATYPESYMBOL_H__ | |
| #define __VALA_VALATYPESYMBOL_H__ | | #define __VALA_VALATYPESYMBOL_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valasymbol.h> | | #include <vala/valasymbol.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_TYPESYMBOL (vala_typesymbol_get_type ()) | | #define VALA_TYPE_TYPESYMBOL (vala_typesymbol_get_type ()) | |
|
| #define VALA_TYPESYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ | | #define VALA_TYPESYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ | |
| TYPESYMBOL, ValaTypesymbol)) | | TYPESYMBOL, ValaTypeSymbol)) | |
| #define VALA_TYPESYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL | | #define VALA_TYPESYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL | |
| A_TYPE_TYPESYMBOL, ValaTypesymbolClass)) | | A_TYPE_TYPESYMBOL, ValaTypeSymbolClass)) | |
| #define VALA_IS_TYPESYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY
PE_TYPESYMBOL)) | | #define VALA_IS_TYPESYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY
PE_TYPESYMBOL)) | |
| #define VALA_IS_TYPESYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_TYPESYMBOL)) | | #define VALA_IS_TYPESYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_TYPESYMBOL)) | |
|
| #define VALA_TYPESYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V
ALA_TYPE_TYPESYMBOL, ValaTypesymbolClass)) | | #define VALA_TYPESYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V
ALA_TYPE_TYPESYMBOL, ValaTypeSymbolClass)) | |
| | | | |
|
| typedef struct _ValaTypesymbol ValaTypesymbol; | | typedef struct _ValaTypeSymbol ValaTypeSymbol; | |
| typedef struct _ValaTypesymbolClass ValaTypesymbolClass; | | typedef struct _ValaTypeSymbolClass ValaTypeSymbolClass; | |
| typedef struct _ValaTypesymbolPrivate ValaTypesymbolPrivate; | | typedef struct _ValaTypeSymbolPrivate ValaTypeSymbolPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a runtime data type. This data type may be defined in Vala so
urce | | * Represents a runtime data type. This data type may be defined in Vala so
urce | |
| * code or imported from an external library with a Vala API file. | | * code or imported from an external library with a Vala API file. | |
| */ | | */ | |
|
| struct _ValaTypesymbol { | | struct _ValaTypeSymbol { | |
| ValaSymbol parent_instance; | | ValaSymbol parent_instance; | |
|
| ValaTypesymbolPrivate * priv; | | ValaTypeSymbolPrivate * priv; | |
| }; | | }; | |
| | | | |
|
| struct _ValaTypesymbolClass { | | struct _ValaTypeSymbolClass { | |
| ValaSymbolClass parent_class; | | ValaSymbolClass parent_class; | |
|
| char* (*get_cname) (ValaTypesymbol* self, gboolean const_type); | | char* (*get_cname) (ValaTypeSymbol* self, gboolean const_type); | |
| gboolean (*is_reference_type) (ValaTypesymbol* self); | | gboolean (*is_reference_type) (ValaTypeSymbol* self); | |
| char* (*get_dup_function) (ValaTypesymbol* self); | | char* (*get_dup_function) (ValaTypeSymbol* self); | |
| char* (*get_free_function) (ValaTypesymbol* self); | | char* (*get_free_function) (ValaTypeSymbol* self); | |
| char* (*get_copy_function) (ValaTypesymbol* self); | | char* (*get_copy_function) (ValaTypeSymbol* self); | |
| char* (*get_destroy_function) (ValaTypesymbol* self); | | char* (*get_destroy_function) (ValaTypeSymbol* self); | |
| gboolean (*is_reference_counting) (ValaTypesymbol* self); | | gboolean (*is_reference_counting) (ValaTypeSymbol* self); | |
| char* (*get_ref_function) (ValaTypesymbol* self); | | char* (*get_ref_function) (ValaTypeSymbol* self); | |
| char* (*get_unref_function) (ValaTypesymbol* self); | | char* (*get_unref_function) (ValaTypeSymbol* self); | |
| char* (*get_type_id) (ValaTypesymbol* self); | | char* (*get_type_id) (ValaTypeSymbol* self); | |
| char* (*get_marshaller_type_name) (ValaTypesymbol* self); | | char* (*get_marshaller_type_name) (ValaTypeSymbol* self); | |
| char* (*get_get_value_function) (ValaTypesymbol* self); | | char* (*get_get_value_function) (ValaTypeSymbol* self); | |
| char* (*get_set_value_function) (ValaTypesymbol* self); | | char* (*get_set_value_function) (ValaTypeSymbol* self); | |
| char* (*get_upper_case_cname) (ValaTypesymbol* self, const char* inf | | char* (*get_upper_case_cname) (ValaTypeSymbol* self, const char* inf | |
| ix); | | ix); | |
| char* (*get_default_value) (ValaTypesymbol* self); | | char* (*get_default_value) (ValaTypeSymbol* self); | |
| gboolean (*is_subtype_of) (ValaTypesymbol* self, ValaTypesymbol* t); | | gboolean (*is_subtype_of) (ValaTypeSymbol* self, ValaTypeSymbol* t); | |
| gint (*get_type_parameter_index) (ValaTypesymbol* self, const char* | | gint (*get_type_parameter_index) (ValaTypeSymbol* self, const char* | |
| name); | | name); | |
| char* (*get_type_signature) (ValaTypesymbol* self); | | char* (*get_type_signature) (ValaTypeSymbol* self); | |
| }; | | }; | |
| | | | |
|
| char* vala_typesymbol_get_cname (ValaTypesymbol* self, gboolean const_type) | | char* vala_typesymbol_get_cname (ValaTypeSymbol* self, gboolean const_type) | |
| ; | | ; | |
| gboolean vala_typesymbol_is_reference_type (ValaTypesymbol* self); | | gboolean vala_typesymbol_is_reference_type (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_dup_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_dup_function (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_free_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_free_function (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_copy_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_copy_function (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_destroy_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_destroy_function (ValaTypeSymbol* self); | |
| gboolean vala_typesymbol_is_reference_counting (ValaTypesymbol* self); | | gboolean vala_typesymbol_is_reference_counting (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_ref_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_ref_function (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_unref_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_unref_function (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_type_id (ValaTypesymbol* self); | | char* vala_typesymbol_get_type_id (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_marshaller_type_name (ValaTypesymbol* self); | | char* vala_typesymbol_get_marshaller_type_name (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_get_value_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_get_value_function (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_set_value_function (ValaTypesymbol* self); | | char* vala_typesymbol_get_set_value_function (ValaTypeSymbol* self); | |
| char* vala_typesymbol_get_upper_case_cname (ValaTypesymbol* self, const cha | | char* vala_typesymbol_get_upper_case_cname (ValaTypeSymbol* self, const cha | |
| r* infix); | | r* infix); | |
| char* vala_typesymbol_get_default_value (ValaTypesymbol* self); | | char* vala_typesymbol_get_default_value (ValaTypeSymbol* self); | |
| void vala_typesymbol_add_cheader_filename (ValaTypesymbol* self, const char | | void vala_typesymbol_add_cheader_filename (ValaTypeSymbol* self, const char | |
| * filename); | | * filename); | |
| gboolean vala_typesymbol_is_subtype_of (ValaTypesymbol* self, ValaTypesymbo | | gboolean vala_typesymbol_is_subtype_of (ValaTypeSymbol* self, ValaTypeSymbo | |
| l* t); | | l* t); | |
| gint vala_typesymbol_get_type_parameter_index (ValaTypesymbol* self, const | | gint vala_typesymbol_get_type_parameter_index (ValaTypeSymbol* self, const | |
| char* name); | | char* name); | |
| char* vala_typesymbol_get_type_signature (ValaTypesymbol* self); | | char* vala_typesymbol_get_type_signature (ValaTypeSymbol* self); | |
| ValaTypesymbol* vala_typesymbol_new (void); | | | |
| GType vala_typesymbol_get_type (void); | | GType vala_typesymbol_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 10 change blocks. |
| 58 lines changed or deleted | | 57 lines changed or added | |
|