| valaccodearraymodule.h | | valaccodearraymodule.h | |
| /* valaccodearraymodule.vala | | /* valaccodearraymodule.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | | * Copyright (C) 2006-2009 Jürg Billeter | |
| | | * Copyright (C) 2006-2008 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 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 31 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| * Raffaele Sandrini <raffaele@sandrini.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __GOBJECT_VALACCODEARRAYMODULE_H__ | | #ifndef __GOBJECT_VALACCODEARRAYMODULE_H__ | |
| #define __GOBJECT_VALACCODEARRAYMODULE_H__ | | #define __GOBJECT_VALACCODEARRAYMODULE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <vala/valaelementaccess.h> | | #include <vala/valaelementaccess.h> | |
|
| | | #include <vala/valaassignment.h> | |
| #include <ccode/valaccodeexpression.h> | | #include <ccode/valaccodeexpression.h> | |
|
| #include <vala/valadatatype.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valasourcereference.h> | | | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| | | #include <vala/valadatatype.h> | |
| | | #include <vala/valasourcereference.h> | |
| #include <vala/valamethodcall.h> | | #include <vala/valamethodcall.h> | |
| #include <vala/valaarraycreationexpression.h> | | #include <vala/valaarraycreationexpression.h> | |
|
| #include <vala/valaexpression.h> | | | |
| #include <gobject/valaccodemethodcallmodule.h> | | #include <gobject/valaccodemethodcallmodule.h> | |
| #include <gobject/valaccodegenerator.h> | | #include <gobject/valaccodegenerator.h> | |
| #include <gobject/valaccodemodule.h> | | #include <gobject/valaccodemodule.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CCODE_ARRAY_MODULE (vala_ccode_array_module_get_type ()) | | #define VALA_TYPE_CCODE_ARRAY_MODULE (vala_ccode_array_module_get_type ()) | |
| #define VALA_CCODE_ARRAY_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA
LA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModule)) | | #define VALA_CCODE_ARRAY_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA
LA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModule)) | |
| #define VALA_CCODE_ARRAY_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla
ss), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModuleClass)) | | #define VALA_CCODE_ARRAY_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla
ss), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModuleClass)) | |
| #define VALA_IS_CCODE_ARRAY_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_CCODE_ARRAY_MODULE)) | | #define VALA_IS_CCODE_ARRAY_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_CCODE_ARRAY_MODULE)) | |
| #define VALA_IS_CCODE_ARRAY_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((
klass), VALA_TYPE_CCODE_ARRAY_MODULE)) | | #define VALA_IS_CCODE_ARRAY_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((
klass), VALA_TYPE_CCODE_ARRAY_MODULE)) | |
| #define VALA_CCODE_ARRAY_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (
(obj), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModuleClass)) | | #define VALA_CCODE_ARRAY_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (
(obj), VALA_TYPE_CCODE_ARRAY_MODULE, ValaCCodeArrayModuleClass)) | |
| | | | |
| typedef struct _ValaCCodeArrayModule ValaCCodeArrayModule; | | typedef struct _ValaCCodeArrayModule ValaCCodeArrayModule; | |
| typedef struct _ValaCCodeArrayModuleClass ValaCCodeArrayModuleClass; | | typedef struct _ValaCCodeArrayModuleClass ValaCCodeArrayModuleClass; | |
| typedef struct _ValaCCodeArrayModulePrivate ValaCCodeArrayModulePrivate; | | typedef struct _ValaCCodeArrayModulePrivate ValaCCodeArrayModulePrivate; | |
| | | | |
|
| /** | | | |
| * The link between an assignment and generated code. | | | |
| */ | | | |
| struct _ValaCCodeArrayModule { | | struct _ValaCCodeArrayModule { | |
| ValaCCodeMethodCallModule parent_instance; | | ValaCCodeMethodCallModule parent_instance; | |
| ValaCCodeArrayModulePrivate * priv; | | ValaCCodeArrayModulePrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaCCodeArrayModuleClass { | | struct _ValaCCodeArrayModuleClass { | |
| ValaCCodeMethodCallModuleClass parent_class; | | ValaCCodeMethodCallModuleClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaCCodeArrayModule* vala_ccode_array_module_construct (GType object_type,
ValaCCodeGenerator* codegen, ValaCCodeModule* next); | | ValaCCodeArrayModule* vala_ccode_array_module_construct (GType object_type,
ValaCCodeGenerator* codegen, ValaCCodeModule* next); | |
| | | | |
End of changes. 6 change blocks. |
| 7 lines changed or deleted | | 6 lines changed or added | |
|
| valaccodebasemodule.h | | valaccodebasemodule.h | |
| /* valaccodebasemodule.vala | | /* valaccodebasemodule.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | | * Copyright (C) 2006-2009 Jürg Billeter | |
| | | * Copyright (C) 2006-2008 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 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 52 | | skipping to change at line 53 | |
| #include <gee/map.h> | | #include <gee/map.h> | |
| #include <gee/set.h> | | #include <gee/set.h> | |
| #include <vala/valacodecontext.h> | | #include <vala/valacodecontext.h> | |
| #include <vala/valastruct.h> | | #include <vala/valastruct.h> | |
| #include <vala/valasourcereference.h> | | #include <vala/valasourcereference.h> | |
| #include <float.h> | | #include <float.h> | |
| #include <math.h> | | #include <math.h> | |
| #include <ccode/valaccodeenum.h> | | #include <ccode/valaccodeenum.h> | |
| #include <vala/valastatement.h> | | #include <vala/valastatement.h> | |
| #include <gee/list.h> | | #include <gee/list.h> | |
|
| | | #include <ccode/valaccodestruct.h> | |
| #include <vala/valatrystatement.h> | | #include <vala/valatrystatement.h> | |
|
| #include <vala/valaerrortype.h> | | | |
| #include <vala/valasymbol.h> | | #include <vala/valasymbol.h> | |
|
| #include <ccode/valaccodestruct.h> | | #include <vala/valaerrortype.h> | |
| #include <ccode/valaccodeidentifier.h> | | #include <ccode/valaccodeidentifier.h> | |
| #include <ccode/valaccodefunction.h> | | #include <ccode/valaccodefunction.h> | |
|
| | | #include <vala/valaproperty.h> | |
| #include <vala/valainterface.h> | | #include <vala/valainterface.h> | |
| #include <ccode/valaccodefunctioncall.h> | | #include <ccode/valaccodefunctioncall.h> | |
|
| #include <vala/valaproperty.h> | | | |
| #include <vala/valamemberaccess.h> | | #include <vala/valamemberaccess.h> | |
|
| | | #include <vala/valaformalparameter.h> | |
| #include <vala/valapropertyaccessor.h> | | #include <vala/valapropertyaccessor.h> | |
| #include <ccode/valaccodestatement.h> | | #include <ccode/valaccodestatement.h> | |
| #include <vala/valacastexpression.h> | | #include <vala/valacastexpression.h> | |
|
| #include <vala/valaformalparameter.h> | | | |
| #include <ccode/valaccodeblock.h> | | #include <ccode/valaccodeblock.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| #include <vala/valaenum.h> | | #include <vala/valaenum.h> | |
| #include <vala/valaenumvalue.h> | | #include <vala/valaenumvalue.h> | |
| #include <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valaconstant.h> | | #include <vala/valaconstant.h> | |
| #include <vala/valafield.h> | | #include <vala/valafield.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> | |
| | | | |
| skipping to change at line 146 | | skipping to change at line 147 | |
| ValaCCodeFragment* source_begin; | | ValaCCodeFragment* source_begin; | |
| ValaCCodeFragment* source_include_directives; | | ValaCCodeFragment* source_include_directives; | |
| ValaCCodeFragment* source_type_declaration; | | ValaCCodeFragment* source_type_declaration; | |
| ValaCCodeFragment* source_type_definition; | | ValaCCodeFragment* source_type_definition; | |
| ValaCCodeFragment* source_type_member_declaration; | | ValaCCodeFragment* source_type_member_declaration; | |
| ValaCCodeFragment* source_constant_declaration; | | ValaCCodeFragment* source_constant_declaration; | |
| ValaCCodeFragment* source_signal_marshaller_declaration; | | ValaCCodeFragment* source_signal_marshaller_declaration; | |
| ValaCCodeFragment* source_type_member_definition; | | ValaCCodeFragment* source_type_member_definition; | |
| ValaCCodeFragment* class_init_fragment; | | ValaCCodeFragment* class_init_fragment; | |
| ValaCCodeFragment* base_init_fragment; | | ValaCCodeFragment* base_init_fragment; | |
|
| | | ValaCCodeFragment* class_finalize_fragment; | |
| ValaCCodeFragment* base_finalize_fragment; | | ValaCCodeFragment* base_finalize_fragment; | |
| ValaCCodeFragment* instance_init_fragment; | | ValaCCodeFragment* instance_init_fragment; | |
| ValaCCodeFragment* instance_finalize_fragment; | | ValaCCodeFragment* instance_finalize_fragment; | |
| ValaCCodeFragment* source_signal_marshaller_definition; | | ValaCCodeFragment* source_signal_marshaller_definition; | |
| ValaCCodeFragment* module_init_fragment; | | ValaCCodeFragment* module_init_fragment; | |
| ValaCCodeStruct* param_spec_struct; | | ValaCCodeStruct* param_spec_struct; | |
| ValaCCodeStruct* instance_struct; | | ValaCCodeStruct* instance_struct; | |
| ValaCCodeStruct* type_struct; | | ValaCCodeStruct* type_struct; | |
| ValaCCodeStruct* instance_priv_struct; | | ValaCCodeStruct* instance_priv_struct; | |
| ValaCCodeStruct* type_priv_struct; | | ValaCCodeStruct* type_priv_struct; | |
|
| | | ValaCCodeStruct* closure_struct; | |
| ValaCCodeEnum* prop_enum; | | ValaCCodeEnum* prop_enum; | |
| ValaCCodeEnum* cenum; | | ValaCCodeEnum* cenum; | |
| ValaCCodeFunction* function; | | ValaCCodeFunction* function; | |
| ValaCCodeBlock* block; | | ValaCCodeBlock* block; | |
|
| | | ValaCCodeFragment* pre_statement_fragment; | |
| GeeArrayList* temp_vars; | | GeeArrayList* temp_vars; | |
| GeeArrayList* temp_ref_vars; | | GeeArrayList* temp_ref_vars; | |
| GeeSet* user_marshal_set; | | GeeSet* user_marshal_set; | |
| GeeSet* predefined_marshal_set; | | GeeSet* predefined_marshal_set; | |
| GeeSet* c_keywords; | | GeeSet* c_keywords; | |
| gint next_temp_var_id; | | gint next_temp_var_id; | |
| gboolean in_creation_method; | | gboolean in_creation_method; | |
| gboolean in_constructor; | | gboolean in_constructor; | |
| gboolean in_static_or_class_ctor; | | gboolean in_static_or_class_ctor; | |
| gboolean current_method_inner_error; | | gboolean current_method_inner_error; | |
| | | | |
| skipping to change at line 239 | | skipping to change at line 243 | |
| char* (*get_delegate_target_destroy_notify_cname) (ValaCCodeBaseModu
le* self, const char* delegate_cname); | | char* (*get_delegate_target_destroy_notify_cname) (ValaCCodeBaseModu
le* self, const char* delegate_cname); | |
| ValaCCodeExpression* (*get_implicit_cast_expression) (ValaCCodeBaseM
odule* self, ValaCCodeExpression* source_cexpr, ValaDataType* expression_ty
pe, ValaDataType* target_type, ValaExpression* expr); | | ValaCCodeExpression* (*get_implicit_cast_expression) (ValaCCodeBaseM
odule* self, ValaCCodeExpression* source_cexpr, ValaDataType* expression_ty
pe, ValaDataType* target_type, ValaExpression* expr); | |
| }; | | }; | |
| | | | |
| ValaCCodeBaseModule* vala_ccode_base_module_construct (GType object_type, V
alaCCodeGenerator* codegen, ValaCCodeModule* next); | | ValaCCodeBaseModule* vala_ccode_base_module_construct (GType object_type, V
alaCCodeGenerator* codegen, ValaCCodeModule* next); | |
| ValaCCodeBaseModule* vala_ccode_base_module_new (ValaCCodeGenerator* codege
n, ValaCCodeModule* next); | | ValaCCodeBaseModule* vala_ccode_base_module_new (ValaCCodeGenerator* codege
n, ValaCCodeModule* next); | |
| void vala_ccode_base_module_append_vala_array_free (ValaCCodeBaseModule* se
lf); | | void vala_ccode_base_module_append_vala_array_free (ValaCCodeBaseModule* se
lf); | |
| void vala_ccode_base_module_append_vala_array_move (ValaCCodeBaseModule* se
lf); | | void vala_ccode_base_module_append_vala_array_move (ValaCCodeBaseModule* se
lf); | |
| gboolean vala_ccode_base_module_is_constant_ccode_expression (ValaCCodeBase
Module* self, ValaCCodeExpression* cexpr); | | gboolean vala_ccode_base_module_is_constant_ccode_expression (ValaCCodeBase
Module* self, ValaCCodeExpression* cexpr); | |
| gboolean vala_ccode_base_module_is_pure_ccode_expression (ValaCCodeBaseModu
le* self, ValaCCodeExpression* cexpr); | | gboolean vala_ccode_base_module_is_pure_ccode_expression (ValaCCodeBaseModu
le* self, ValaCCodeExpression* cexpr); | |
|
| | | ValaCCodeExpression* vala_ccode_base_module_get_variable_cexpression (ValaC
CodeBaseModule* self, const char* name); | |
| char* vala_ccode_base_module_get_variable_cname (ValaCCodeBaseModule* self,
const char* name); | | char* vala_ccode_base_module_get_variable_cname (ValaCCodeBaseModule* self,
const char* name); | |
| ValaLocalVariable* vala_ccode_base_module_get_temp_variable (ValaCCodeBaseM
odule* self, ValaDataType* type, gboolean value_owned, ValaCodeNode* node_r
eference); | | ValaLocalVariable* vala_ccode_base_module_get_temp_variable (ValaCCodeBaseM
odule* self, ValaDataType* type, gboolean value_owned, ValaCodeNode* node_r
eference); | |
| ValaCCodeExpression* vala_ccode_base_module_get_dup_func_expression (ValaCC
odeBaseModule* self, ValaDataType* type, ValaSourceReference* source_refere
nce); | | ValaCCodeExpression* vala_ccode_base_module_get_dup_func_expression (ValaCC
odeBaseModule* self, ValaDataType* type, ValaSourceReference* source_refere
nce); | |
| ValaCCodeExpression* vala_ccode_base_module_get_destroy_func_expression (Va
laCCodeBaseModule* self, ValaDataType* type); | | ValaCCodeExpression* vala_ccode_base_module_get_destroy_func_expression (Va
laCCodeBaseModule* self, ValaDataType* type); | |
| ValaCCodeExpression* vala_ccode_base_module_get_unref_expression (ValaCCode
BaseModule* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpres
sion* expr); | | ValaCCodeExpression* vala_ccode_base_module_get_unref_expression (ValaCCode
BaseModule* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpres
sion* expr); | |
| void vala_ccode_base_module_append_temp_decl (ValaCCodeBaseModule* self, Va
laCCodeFragment* cfrag, GeeList* temp_vars); | | void vala_ccode_base_module_append_temp_decl (ValaCCodeBaseModule* self, Va
laCCodeFragment* cfrag, GeeList* temp_vars); | |
| void vala_ccode_base_module_create_temp_decl (ValaCCodeBaseModule* self, Va
laStatement* stmt, GeeList* temp_vars); | | void vala_ccode_base_module_create_temp_decl (ValaCCodeBaseModule* self, Va
laStatement* stmt, GeeList* temp_vars); | |
| void vala_ccode_base_module_append_local_free (ValaCCodeBaseModule* self, V
alaSymbol* sym, ValaCCodeFragment* cfrag, gboolean stop_at_loop); | | void vala_ccode_base_module_append_local_free (ValaCCodeBaseModule* self, V
alaSymbol* sym, ValaCCodeFragment* cfrag, gboolean stop_at_loop); | |
|
| | | void vala_ccode_base_module_append_error_free (ValaCCodeBaseModule* self, V
alaSymbol* sym, ValaCCodeFragment* cfrag, ValaTryStatement* current_try); | |
| void vala_ccode_base_module_create_local_free (ValaCCodeBaseModule* self, V
alaCodeNode* stmt, gboolean stop_at_loop); | | void vala_ccode_base_module_create_local_free (ValaCCodeBaseModule* self, V
alaCodeNode* stmt, gboolean stop_at_loop); | |
| char* vala_ccode_base_module_get_delegate_target_cname (ValaCCodeBaseModule
* self, const char* delegate_cname); | | char* vala_ccode_base_module_get_delegate_target_cname (ValaCCodeBaseModule
* self, const char* delegate_cname); | |
| ValaCCodeExpression* vala_ccode_base_module_get_delegate_target_cexpression
(ValaCCodeBaseModule* self, ValaExpression* delegate_expr); | | ValaCCodeExpression* vala_ccode_base_module_get_delegate_target_cexpression
(ValaCCodeBaseModule* self, ValaExpression* delegate_expr); | |
| char* vala_ccode_base_module_get_delegate_target_destroy_notify_cname (Vala
CCodeBaseModule* self, const char* delegate_cname); | | char* vala_ccode_base_module_get_delegate_target_destroy_notify_cname (Vala
CCodeBaseModule* self, const char* delegate_cname); | |
| gboolean vala_ccode_base_module_requires_copy (ValaCCodeBaseModule* self, V
alaDataType* type); | | gboolean vala_ccode_base_module_requires_copy (ValaCCodeBaseModule* self, V
alaDataType* type); | |
| gboolean vala_ccode_base_module_requires_destroy (ValaCCodeBaseModule* self
, ValaDataType* type); | | gboolean vala_ccode_base_module_requires_destroy (ValaCCodeBaseModule* self
, ValaDataType* type); | |
| ValaCCodeExpression* vala_ccode_base_module_get_ref_cexpression (ValaCCodeB
aseModule* self, ValaDataType* expression_type, ValaCCodeExpression* cexpr,
ValaExpression* expr, ValaCodeNode* node); | | ValaCCodeExpression* vala_ccode_base_module_get_ref_cexpression (ValaCCodeB
aseModule* self, ValaDataType* expression_type, ValaCCodeExpression* cexpr,
ValaExpression* expr, ValaCodeNode* node); | |
| void vala_ccode_base_module_check_type (ValaCCodeBaseModule* self, ValaData
Type* type); | | void vala_ccode_base_module_check_type (ValaCCodeBaseModule* self, ValaData
Type* type); | |
| ValaCCodeExpression* vala_ccode_base_module_handle_struct_argument (ValaCCo
deBaseModule* self, ValaFormalParameter* param, ValaExpression* arg, ValaCC
odeExpression* cexpr); | | ValaCCodeExpression* vala_ccode_base_module_handle_struct_argument (ValaCCo
deBaseModule* self, ValaFormalParameter* param, ValaExpression* arg, ValaCC
odeExpression* cexpr); | |
| char* vala_ccode_base_module_get_type_check_function (ValaCCodeBaseModule*
self, ValaTypeSymbol* type); | | char* vala_ccode_base_module_get_type_check_function (ValaCCodeBaseModule*
self, ValaTypeSymbol* type); | |
| | | | |
End of changes. 13 change blocks. |
| 5 lines changed or deleted | | 11 lines changed or added | |
|
| valaccodemodule.h | | valaccodemodule.h | |
| /* valaccodemodule.vala | | /* valaccodemodule.vala | |
| * | | * | |
|
| * Copyright (C) 2008 Jürg Billeter | | * Copyright (C) 2008-2009 Jürg Billeter | |
| * | | * | |
| * 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 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 231 | | skipping to change at line 231 | |
| ValaCCodeFragment* (*register_dbus_info) (ValaCCodeModule* self, Val
aObjectTypeSymbol* bindable); | | ValaCCodeFragment* (*register_dbus_info) (ValaCCodeModule* self, Val
aObjectTypeSymbol* bindable); | |
| char* (*get_dynamic_property_getter_cname) (ValaCCodeModule* self, V
alaDynamicProperty* node); | | char* (*get_dynamic_property_getter_cname) (ValaCCodeModule* self, V
alaDynamicProperty* node); | |
| char* (*get_dynamic_property_setter_cname) (ValaCCodeModule* self, V
alaDynamicProperty* node); | | char* (*get_dynamic_property_setter_cname) (ValaCCodeModule* self, V
alaDynamicProperty* node); | |
| char* (*get_dynamic_signal_cname) (ValaCCodeModule* self, ValaDynami
cSignal* node); | | char* (*get_dynamic_signal_cname) (ValaCCodeModule* self, ValaDynami
cSignal* node); | |
| char* (*get_dynamic_signal_connect_wrapper_name) (ValaCCodeModule* s
elf, ValaDynamicSignal* node); | | char* (*get_dynamic_signal_connect_wrapper_name) (ValaCCodeModule* s
elf, ValaDynamicSignal* node); | |
| char* (*get_dynamic_signal_disconnect_wrapper_name) (ValaCCodeModule
* self, ValaDynamicSignal* node); | | char* (*get_dynamic_signal_disconnect_wrapper_name) (ValaCCodeModule
* self, ValaDynamicSignal* node); | |
| void (*generate_marshaller) (ValaCCodeModule* self, GeeList* params,
ValaDataType* return_type, gboolean dbus); | | void (*generate_marshaller) (ValaCCodeModule* self, GeeList* params,
ValaDataType* return_type, gboolean dbus); | |
| char* (*get_marshaller_function) (ValaCCodeModule* self, GeeList* pa
rams, ValaDataType* return_type, const char* prefix, gboolean dbus); | | char* (*get_marshaller_function) (ValaCCodeModule* self, GeeList* pa
rams, ValaDataType* return_type, const char* prefix, gboolean dbus); | |
| char* (*get_array_length_cname) (ValaCCodeModule* self, const char*
array_cname, gint dim); | | char* (*get_array_length_cname) (ValaCCodeModule* self, const char*
array_cname, gint dim); | |
| ValaCCodeExpression* (*get_array_length_cexpression) (ValaCCodeModul
e* self, ValaExpression* array_expr, gint dim); | | ValaCCodeExpression* (*get_array_length_cexpression) (ValaCCodeModul
e* self, ValaExpression* array_expr, gint dim); | |
|
| | | char* (*get_array_size_cname) (ValaCCodeModule* self, const char* ar | |
| | | ray_cname); | |
| | | ValaCCodeExpression* (*get_array_size_cexpression) (ValaCCodeModule* | |
| | | self, ValaExpression* array_expr); | |
| void (*add_simple_check) (ValaCCodeModule* self, ValaCodeNode* node,
ValaCCodeFragment* cfrag); | | void (*add_simple_check) (ValaCCodeModule* self, ValaCodeNode* node,
ValaCCodeFragment* cfrag); | |
| }; | | }; | |
| | | | |
| struct _ValaParamSpecCCodeModule { | | struct _ValaParamSpecCCodeModule { | |
| GParamSpec parent_instance; | | GParamSpec parent_instance; | |
| }; | | }; | |
| | | | |
| ValaCCodeModule* vala_ccode_module_construct (GType object_type, ValaCCodeG
enerator* codegen, ValaCCodeModule* next); | | ValaCCodeModule* vala_ccode_module_construct (GType object_type, ValaCCodeG
enerator* codegen, ValaCCodeModule* next); | |
| ValaCCodeModule* vala_ccode_module_new (ValaCCodeGenerator* codegen, ValaCC
odeModule* next); | | ValaCCodeModule* vala_ccode_module_new (ValaCCodeGenerator* codegen, ValaCC
odeModule* next); | |
| void vala_ccode_module_emit (ValaCCodeModule* self, ValaCodeContext* contex
t); | | void vala_ccode_module_emit (ValaCCodeModule* self, ValaCodeContext* contex
t); | |
| | | | |
| skipping to change at line 329 | | skipping to change at line 331 | |
| ValaCCodeFragment* vala_ccode_module_register_dbus_info (ValaCCodeModule* s
elf, ValaObjectTypeSymbol* bindable); | | ValaCCodeFragment* vala_ccode_module_register_dbus_info (ValaCCodeModule* s
elf, ValaObjectTypeSymbol* bindable); | |
| char* vala_ccode_module_get_dynamic_property_getter_cname (ValaCCodeModule*
self, ValaDynamicProperty* node); | | char* vala_ccode_module_get_dynamic_property_getter_cname (ValaCCodeModule*
self, ValaDynamicProperty* node); | |
| char* vala_ccode_module_get_dynamic_property_setter_cname (ValaCCodeModule*
self, ValaDynamicProperty* node); | | char* vala_ccode_module_get_dynamic_property_setter_cname (ValaCCodeModule*
self, ValaDynamicProperty* node); | |
| char* vala_ccode_module_get_dynamic_signal_cname (ValaCCodeModule* self, Va
laDynamicSignal* node); | | char* vala_ccode_module_get_dynamic_signal_cname (ValaCCodeModule* self, Va
laDynamicSignal* node); | |
| char* vala_ccode_module_get_dynamic_signal_connect_wrapper_name (ValaCCodeM
odule* self, ValaDynamicSignal* node); | | char* vala_ccode_module_get_dynamic_signal_connect_wrapper_name (ValaCCodeM
odule* self, ValaDynamicSignal* node); | |
| char* vala_ccode_module_get_dynamic_signal_disconnect_wrapper_name (ValaCCo
deModule* self, ValaDynamicSignal* node); | | char* vala_ccode_module_get_dynamic_signal_disconnect_wrapper_name (ValaCCo
deModule* self, ValaDynamicSignal* node); | |
| void vala_ccode_module_generate_marshaller (ValaCCodeModule* self, GeeList*
params, ValaDataType* return_type, gboolean dbus); | | void vala_ccode_module_generate_marshaller (ValaCCodeModule* self, GeeList*
params, ValaDataType* return_type, gboolean dbus); | |
| char* vala_ccode_module_get_marshaller_function (ValaCCodeModule* self, Gee
List* params, ValaDataType* return_type, const char* prefix, gboolean dbus)
; | | char* vala_ccode_module_get_marshaller_function (ValaCCodeModule* self, Gee
List* params, ValaDataType* return_type, const char* prefix, gboolean dbus)
; | |
| char* vala_ccode_module_get_array_length_cname (ValaCCodeModule* self, cons
t char* array_cname, gint dim); | | char* vala_ccode_module_get_array_length_cname (ValaCCodeModule* self, cons
t char* array_cname, gint dim); | |
| ValaCCodeExpression* vala_ccode_module_get_array_length_cexpression (ValaCC
odeModule* self, ValaExpression* array_expr, gint dim); | | ValaCCodeExpression* vala_ccode_module_get_array_length_cexpression (ValaCC
odeModule* self, ValaExpression* array_expr, gint dim); | |
|
| | | char* vala_ccode_module_get_array_size_cname (ValaCCodeModule* self, const | |
| | | char* array_cname); | |
| | | ValaCCodeExpression* vala_ccode_module_get_array_size_cexpression (ValaCCod | |
| | | eModule* self, ValaExpression* array_expr); | |
| void vala_ccode_module_add_simple_check (ValaCCodeModule* self, ValaCodeNod
e* node, ValaCCodeFragment* cfrag); | | void vala_ccode_module_add_simple_check (ValaCCodeModule* self, ValaCodeNod
e* node, ValaCCodeFragment* cfrag); | |
| ValaCCodeGenerator* vala_ccode_module_get_codegen (ValaCCodeModule* self); | | ValaCCodeGenerator* vala_ccode_module_get_codegen (ValaCCodeModule* self); | |
| ValaCCodeModule* vala_ccode_module_get_head (ValaCCodeModule* self); | | ValaCCodeModule* vala_ccode_module_get_head (ValaCCodeModule* self); | |
| GParamSpec* vala_param_spec_ccode_module (const gchar* name, const gchar* n
ick, const gchar* blurb, GType object_type, GParamFlags flags); | | GParamSpec* vala_param_spec_ccode_module (const gchar* name, const gchar* n
ick, const gchar* blurb, GType object_type, GParamFlags flags); | |
| gpointer vala_value_get_ccode_module (const GValue* value); | | gpointer vala_value_get_ccode_module (const GValue* value); | |
| void vala_value_set_ccode_module (GValue* value, gpointer v_object); | | void vala_value_set_ccode_module (GValue* value, gpointer v_object); | |
| GType vala_ccode_module_get_type (void); | | GType vala_ccode_module_get_type (void); | |
| gpointer vala_ccode_module_ref (gpointer instance); | | gpointer vala_ccode_module_ref (gpointer instance); | |
| void vala_ccode_module_unref (gpointer instance); | | void vala_ccode_module_unref (gpointer instance); | |
| | | | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 9 lines changed or added | |
|
| valaclass.h | | valaclass.h | |
| | | | |
| skipping to change at line 95 | | skipping to change at line 95 | |
| 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_compact (ValaClass* self); | | gboolean vala_class_get_is_compact (ValaClass* self); | |
| void vala_class_set_is_compact (ValaClass* self, gboolean value); | | void vala_class_set_is_compact (ValaClass* self, gboolean value); | |
| gboolean vala_class_get_is_immutable (ValaClass* self); | | gboolean vala_class_get_is_immutable (ValaClass* self); | |
| void vala_class_set_is_immutable (ValaClass* self, gboolean value); | | void vala_class_set_is_immutable (ValaClass* self, gboolean value); | |
|
| | | gboolean vala_class_get_ref_function_void (ValaClass* self); | |
| | | void vala_class_set_ref_function_void (ValaClass* self, gboolean value); | |
| const char* vala_class_get_type_check_function (ValaClass* self); | | const char* vala_class_get_type_check_function (ValaClass* self); | |
| void vala_class_set_type_check_function (ValaClass* self, const char* value
); | | void vala_class_set_type_check_function (ValaClass* self, const char* value
); | |
| gboolean vala_class_get_has_private_fields (ValaClass* self); | | gboolean vala_class_get_has_private_fields (ValaClass* self); | |
| gboolean vala_class_get_has_class_private_fields (ValaClass* self); | | gboolean vala_class_get_has_class_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); | |
| void vala_class_set_destructor (ValaClass* self, ValaDestructor* value); | | void vala_class_set_destructor (ValaClass* self, ValaDestructor* value); | |
|
| | | ValaDestructor* vala_class_get_static_destructor (ValaClass* self); | |
| | | void vala_class_set_static_destructor (ValaClass* self, ValaDestructor* val | |
| | | ue); | |
| ValaDestructor* vala_class_get_class_destructor (ValaClass* self); | | ValaDestructor* vala_class_get_class_destructor (ValaClass* self); | |
| void vala_class_set_class_destructor (ValaClass* self, ValaDestructor* valu
e); | | void vala_class_set_class_destructor (ValaClass* self, ValaDestructor* valu
e); | |
| gboolean vala_class_get_is_error_base (ValaClass* self); | | gboolean vala_class_get_is_error_base (ValaClass* self); | |
| GType vala_class_get_type (void); | | GType vala_class_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 5 lines changed or added | |
|
| valacodecontext.h | | valacodecontext.h | |
| /* valacodecontext.vala | | /* valacodecontext.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2008 Jürg Billeter | | * Copyright (C) 2006-2009 Jürg Billeter | |
| * | | * | |
| * 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 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 75 | | skipping to change at line 75 | |
| ValaCodeContext* vala_code_context_new (void); | | ValaCodeContext* vala_code_context_new (void); | |
| GeeList* vala_code_context_get_source_files (ValaCodeContext* self); | | GeeList* vala_code_context_get_source_files (ValaCodeContext* self); | |
| GeeList* 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); | |
| GeeList* 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); | |
|
| 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, char** vapi_directories, int vapi_directories_length1); | |
| const char* vala_code_context_get_library (ValaCodeContext* self); | | const 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)
; | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| valacodenode.h | | valacodenode.h | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| typedef struct _ValaDataType ValaDataType; | | typedef struct _ValaDataType ValaDataType; | |
| typedef struct _ValaDataTypeClass ValaDataTypeClass; | | typedef struct _ValaDataTypeClass ValaDataTypeClass; | |
| typedef struct _ValaCodeNode ValaCodeNode; | | typedef struct _ValaCodeNode ValaCodeNode; | |
| typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | | typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | |
| typedef struct _ValaSourceReference ValaSourceReference; | | typedef struct _ValaSourceReference ValaSourceReference; | |
| typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | | typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | |
| 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 _ValaMethod ValaMethod; | | typedef struct _ValaNamespace ValaNamespace; | |
| typedef struct _ValaMethodClass ValaMethodClass; | | typedef struct _ValaNamespaceClass ValaNamespaceClass; | |
| typedef struct _ValaBlock ValaBlock; | | | |
| typedef struct _ValaBlockClass ValaBlockClass; | | | |
| typedef struct _ValaSymbol ValaSymbol; | | typedef struct _ValaSymbol ValaSymbol; | |
| typedef struct _ValaSymbolClass ValaSymbolClass; | | typedef struct _ValaSymbolClass ValaSymbolClass; | |
| typedef struct _ValaScope ValaScope; | | typedef struct _ValaScope ValaScope; | |
| typedef struct _ValaScopeClass ValaScopeClass; | | typedef struct _ValaScopeClass ValaScopeClass; | |
|
| typedef struct _ValaStatement ValaStatement; | | | |
| typedef struct _ValaStatementIface ValaStatementIface; | | | |
| typedef struct _ValaCodeVisitor ValaCodeVisitor; | | | |
| typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | | | |
| typedef struct _ValaNamespace ValaNamespace; | | | |
| typedef struct _ValaNamespaceClass ValaNamespaceClass; | | | |
| typedef struct _ValaSemanticAnalyzer ValaSemanticAnalyzer; | | typedef struct _ValaSemanticAnalyzer ValaSemanticAnalyzer; | |
| typedef struct _ValaSemanticAnalyzerClass ValaSemanticAnalyzerClass; | | typedef struct _ValaSemanticAnalyzerClass ValaSemanticAnalyzerClass; | |
|
| | | typedef struct _ValaCodeVisitor ValaCodeVisitor; | |
| | | typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | |
| typedef struct _ValaClass ValaClass; | | typedef struct _ValaClass ValaClass; | |
| typedef struct _ValaClassClass ValaClassClass; | | typedef struct _ValaClassClass ValaClassClass; | |
|
| typedef struct _ValaConstructor ValaConstructor; | | typedef struct _ValaMethod ValaMethod; | |
| typedef struct _ValaConstructorClass ValaConstructorClass; | | typedef struct _ValaMethodClass ValaMethodClass; | |
| typedef struct _ValaFormalParameter ValaFormalParameter; | | typedef struct _ValaBlock ValaBlock; | |
| typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | | typedef struct _ValaBlockClass ValaBlockClass; | |
| | | typedef struct _ValaStatement ValaStatement; | |
| | | typedef struct _ValaStatementIface ValaStatementIface; | |
| | | typedef struct _ValaLocalVariable ValaLocalVariable; | |
| | | typedef struct _ValaLocalVariableClass ValaLocalVariableClass; | |
| typedef struct _ValaMember ValaMember; | | typedef struct _ValaMember ValaMember; | |
| typedef struct _ValaMemberClass ValaMemberClass; | | typedef struct _ValaMemberClass ValaMemberClass; | |
|
| | | typedef struct _ValaFormalParameter ValaFormalParameter; | |
| | | typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | |
| | | typedef struct _ValaBasicBlock ValaBasicBlock; | |
| | | typedef struct _ValaBasicBlockClass ValaBasicBlockClass; | |
| | | typedef struct _ValaConstructor ValaConstructor; | |
| | | typedef struct _ValaConstructorClass ValaConstructorClass; | |
| typedef struct _ValaDestructor ValaDestructor; | | typedef struct _ValaDestructor ValaDestructor; | |
| typedef struct _ValaDestructorClass ValaDestructorClass; | | typedef struct _ValaDestructorClass ValaDestructorClass; | |
| typedef struct _ValaTypeSymbol ValaTypeSymbol; | | typedef struct _ValaTypeSymbol ValaTypeSymbol; | |
| typedef struct _ValaTypeSymbolClass ValaTypeSymbolClass; | | typedef struct _ValaTypeSymbolClass ValaTypeSymbolClass; | |
| typedef struct _ValaObjectTypeSymbol ValaObjectTypeSymbol; | | typedef struct _ValaObjectTypeSymbol ValaObjectTypeSymbol; | |
| typedef struct _ValaObjectTypeSymbolClass ValaObjectTypeSymbolClass; | | typedef struct _ValaObjectTypeSymbolClass ValaObjectTypeSymbolClass; | |
| typedef struct _ValaTypeParameter ValaTypeParameter; | | typedef struct _ValaTypeParameter ValaTypeParameter; | |
| typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | | 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 _ValaBasicBlock ValaBasicBlock; | | | |
| typedef struct _ValaBasicBlockClass ValaBasicBlockClass; | | | |
| typedef struct _ValaPhiFunction ValaPhiFunction; | | | |
| typedef struct _ValaPhiFunctionClass ValaPhiFunctionClass; | | | |
| typedef struct _ValaLocalVariable ValaLocalVariable; | | | |
| typedef struct _ValaLocalVariableClass ValaLocalVariableClass; | | | |
| typedef struct _ValaSignal ValaSignal; | | typedef struct _ValaSignal ValaSignal; | |
| typedef struct _ValaSignalClass ValaSignalClass; | | typedef struct _ValaSignalClass ValaSignalClass; | |
| typedef struct _ValaDelegate ValaDelegate; | | typedef struct _ValaDelegate ValaDelegate; | |
| typedef struct _ValaDelegateClass ValaDelegateClass; | | typedef struct _ValaDelegateClass ValaDelegateClass; | |
| typedef struct _ValaStruct ValaStruct; | | typedef struct _ValaStruct ValaStruct; | |
| typedef struct _ValaStructClass ValaStructClass; | | typedef struct _ValaStructClass ValaStructClass; | |
| typedef struct _ValaEnum ValaEnum; | | typedef struct _ValaEnum ValaEnum; | |
| typedef struct _ValaEnumClass ValaEnumClass; | | typedef struct _ValaEnumClass ValaEnumClass; | |
| typedef struct _ValaEnumValue ValaEnumValue; | | typedef struct _ValaEnumValue ValaEnumValue; | |
| typedef struct _ValaEnumValueClass ValaEnumValueClass; | | typedef struct _ValaEnumValueClass ValaEnumValueClass; | |
|
| typedef struct _ValaGenericType ValaGenericType; | | | |
| typedef struct _ValaGenericTypeClass ValaGenericTypeClass; | | | |
| typedef struct _ValaInterface ValaInterface; | | | |
| typedef struct _ValaInterfaceClass ValaInterfaceClass; | | | |
| typedef struct _ValaMemberInitializer ValaMemberInitializer; | | | |
| typedef struct _ValaMemberInitializerClass ValaMemberInitializerClass; | | | |
| typedef struct _ValaErrorDomain ValaErrorDomain; | | | |
| typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | | | |
| typedef struct _ValaErrorCode ValaErrorCode; | | | |
| typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | | | |
| typedef struct _ValaStringLiteral ValaStringLiteral; | | typedef struct _ValaStringLiteral ValaStringLiteral; | |
| typedef struct _ValaStringLiteralClass ValaStringLiteralClass; | | typedef struct _ValaStringLiteralClass ValaStringLiteralClass; | |
| typedef struct _ValaLiteral ValaLiteral; | | typedef struct _ValaLiteral ValaLiteral; | |
| typedef struct _ValaLiteralClass ValaLiteralClass; | | typedef struct _ValaLiteralClass ValaLiteralClass; | |
| typedef struct _ValaMemberAccess ValaMemberAccess; | | typedef struct _ValaMemberAccess ValaMemberAccess; | |
| typedef struct _ValaMemberAccessClass ValaMemberAccessClass; | | typedef struct _ValaMemberAccessClass ValaMemberAccessClass; | |
|
| | | typedef struct _ValaBooleanLiteral ValaBooleanLiteral; | |
| | | typedef struct _ValaBooleanLiteralClass ValaBooleanLiteralClass; | |
| typedef struct _ValaRealLiteral ValaRealLiteral; | | typedef struct _ValaRealLiteral ValaRealLiteral; | |
| typedef struct _ValaRealLiteralClass ValaRealLiteralClass; | | typedef struct _ValaRealLiteralClass ValaRealLiteralClass; | |
| typedef struct _ValaIntegerLiteral ValaIntegerLiteral; | | typedef struct _ValaIntegerLiteral ValaIntegerLiteral; | |
| typedef struct _ValaIntegerLiteralClass ValaIntegerLiteralClass; | | typedef struct _ValaIntegerLiteralClass ValaIntegerLiteralClass; | |
| typedef struct _ValaCreationMethod ValaCreationMethod; | | typedef struct _ValaCreationMethod ValaCreationMethod; | |
| typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | | typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | |
|
| typedef struct _ValaBooleanLiteral ValaBooleanLiteral; | | | |
| typedef struct _ValaBooleanLiteralClass ValaBooleanLiteralClass; | | | |
| typedef struct _ValaNullLiteral ValaNullLiteral; | | typedef struct _ValaNullLiteral ValaNullLiteral; | |
| typedef struct _ValaNullLiteralClass ValaNullLiteralClass; | | typedef struct _ValaNullLiteralClass ValaNullLiteralClass; | |
|
| | | typedef struct _ValaInterface ValaInterface; | |
| | | typedef struct _ValaInterfaceClass ValaInterfaceClass; | |
| | | typedef struct _ValaErrorCode ValaErrorCode; | |
| | | typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | |
| | | typedef struct _ValaErrorDomain ValaErrorDomain; | |
| | | typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | |
| typedef struct _ValaReturnStatement ValaReturnStatement; | | typedef struct _ValaReturnStatement ValaReturnStatement; | |
| typedef struct _ValaReturnStatementClass ValaReturnStatementClass; | | typedef struct _ValaReturnStatementClass ValaReturnStatementClass; | |
| typedef struct _ValaAssignment ValaAssignment; | | typedef struct _ValaAssignment ValaAssignment; | |
| typedef struct _ValaAssignmentClass ValaAssignmentClass; | | typedef struct _ValaAssignmentClass ValaAssignmentClass; | |
| typedef struct _ValaElementAccess ValaElementAccess; | | typedef struct _ValaElementAccess ValaElementAccess; | |
| typedef struct _ValaElementAccessClass ValaElementAccessClass; | | typedef struct _ValaElementAccessClass ValaElementAccessClass; | |
| typedef struct _ValaPointerIndirection ValaPointerIndirection; | | typedef struct _ValaPointerIndirection ValaPointerIndirection; | |
| typedef struct _ValaPointerIndirectionClass ValaPointerIndirectionClass; | | typedef struct _ValaPointerIndirectionClass ValaPointerIndirectionClass; | |
| typedef struct _ValaBinaryExpression ValaBinaryExpression; | | typedef struct _ValaBinaryExpression ValaBinaryExpression; | |
| typedef struct _ValaBinaryExpressionClass ValaBinaryExpressionClass; | | typedef struct _ValaBinaryExpressionClass ValaBinaryExpressionClass; | |
| | | | |
| skipping to change at line 168 | | skipping to change at line 162 | |
| typedef struct _ValaForStatement ValaForStatement; | | typedef struct _ValaForStatement ValaForStatement; | |
| typedef struct _ValaForStatementClass ValaForStatementClass; | | typedef struct _ValaForStatementClass ValaForStatementClass; | |
| typedef struct _ValaUsingDirective ValaUsingDirective; | | typedef struct _ValaUsingDirective ValaUsingDirective; | |
| typedef struct _ValaUsingDirectiveClass ValaUsingDirectiveClass; | | typedef struct _ValaUsingDirectiveClass ValaUsingDirectiveClass; | |
| typedef struct _ValaBaseAccess ValaBaseAccess; | | typedef struct _ValaBaseAccess ValaBaseAccess; | |
| typedef struct _ValaBaseAccessClass ValaBaseAccessClass; | | typedef struct _ValaBaseAccessClass ValaBaseAccessClass; | |
| typedef struct _ValaMethodCall ValaMethodCall; | | typedef struct _ValaMethodCall ValaMethodCall; | |
| typedef struct _ValaMethodCallClass ValaMethodCallClass; | | typedef struct _ValaMethodCallClass ValaMethodCallClass; | |
| typedef struct _ValaObjectCreationExpression ValaObjectCreationExpression; | | typedef struct _ValaObjectCreationExpression ValaObjectCreationExpression; | |
| typedef struct _ValaObjectCreationExpressionClass ValaObjectCreationExpress
ionClass; | | typedef struct _ValaObjectCreationExpressionClass ValaObjectCreationExpress
ionClass; | |
|
| | | typedef struct _ValaMemberInitializer ValaMemberInitializer; | |
| | | typedef struct _ValaMemberInitializerClass ValaMemberInitializerClass; | |
| typedef struct _ValaYieldStatement ValaYieldStatement; | | typedef struct _ValaYieldStatement ValaYieldStatement; | |
| typedef struct _ValaYieldStatementClass ValaYieldStatementClass; | | typedef struct _ValaYieldStatementClass ValaYieldStatementClass; | |
| typedef struct _ValaLambdaExpression ValaLambdaExpression; | | typedef struct _ValaLambdaExpression ValaLambdaExpression; | |
| typedef struct _ValaLambdaExpressionClass ValaLambdaExpressionClass; | | typedef struct _ValaLambdaExpressionClass ValaLambdaExpressionClass; | |
| typedef struct _ValaEmptyStatement ValaEmptyStatement; | | typedef struct _ValaEmptyStatement ValaEmptyStatement; | |
| typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | | typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | |
|
| | | typedef struct _ValaArrayCreationExpression ValaArrayCreationExpression; | |
| | | typedef struct _ValaArrayCreationExpressionClass ValaArrayCreationExpressio | |
| | | nClass; | |
| typedef struct _ValaInitializerList ValaInitializerList; | | typedef struct _ValaInitializerList ValaInitializerList; | |
| typedef struct _ValaInitializerListClass ValaInitializerListClass; | | typedef struct _ValaInitializerListClass ValaInitializerListClass; | |
| typedef struct _ValaSwitchLabel ValaSwitchLabel; | | typedef struct _ValaSwitchLabel ValaSwitchLabel; | |
| typedef struct _ValaSwitchLabelClass ValaSwitchLabelClass; | | typedef struct _ValaSwitchLabelClass ValaSwitchLabelClass; | |
| typedef struct _ValaSwitchSection ValaSwitchSection; | | typedef struct _ValaSwitchSection ValaSwitchSection; | |
| typedef struct _ValaSwitchSectionClass ValaSwitchSectionClass; | | typedef struct _ValaSwitchSectionClass ValaSwitchSectionClass; | |
| typedef struct _ValaSwitchStatement ValaSwitchStatement; | | typedef struct _ValaSwitchStatement ValaSwitchStatement; | |
| typedef struct _ValaSwitchStatementClass ValaSwitchStatementClass; | | typedef struct _ValaSwitchStatementClass ValaSwitchStatementClass; | |
| typedef struct _ValaForeachStatement ValaForeachStatement; | | typedef struct _ValaForeachStatement ValaForeachStatement; | |
| typedef struct _ValaForeachStatementClass ValaForeachStatementClass; | | typedef struct _ValaForeachStatementClass ValaForeachStatementClass; | |
| | | | |
| skipping to change at line 196 | | skipping to change at line 194 | |
| typedef struct _ValaThrowStatement ValaThrowStatement; | | typedef struct _ValaThrowStatement ValaThrowStatement; | |
| typedef struct _ValaThrowStatementClass ValaThrowStatementClass; | | typedef struct _ValaThrowStatementClass ValaThrowStatementClass; | |
| typedef struct _ValaCatchClause ValaCatchClause; | | typedef struct _ValaCatchClause ValaCatchClause; | |
| typedef struct _ValaCatchClauseClass ValaCatchClauseClass; | | typedef struct _ValaCatchClauseClass ValaCatchClauseClass; | |
| typedef struct _ValaTryStatement ValaTryStatement; | | typedef struct _ValaTryStatement ValaTryStatement; | |
| typedef struct _ValaTryStatementClass ValaTryStatementClass; | | typedef struct _ValaTryStatementClass ValaTryStatementClass; | |
| typedef struct _ValaLockStatement ValaLockStatement; | | typedef struct _ValaLockStatement ValaLockStatement; | |
| typedef struct _ValaLockStatementClass ValaLockStatementClass; | | typedef struct _ValaLockStatementClass ValaLockStatementClass; | |
| typedef struct _ValaDeleteStatement ValaDeleteStatement; | | typedef struct _ValaDeleteStatement ValaDeleteStatement; | |
| typedef struct _ValaDeleteStatementClass ValaDeleteStatementClass; | | typedef struct _ValaDeleteStatementClass ValaDeleteStatementClass; | |
|
| typedef struct _ValaArrayCreationExpression ValaArrayCreationExpression; | | | |
| typedef struct _ValaArrayCreationExpressionClass ValaArrayCreationExpressio | | | |
| nClass; | | | |
| typedef struct _ValaCharacterLiteral ValaCharacterLiteral; | | typedef struct _ValaCharacterLiteral ValaCharacterLiteral; | |
| typedef struct _ValaCharacterLiteralClass ValaCharacterLiteralClass; | | typedef struct _ValaCharacterLiteralClass ValaCharacterLiteralClass; | |
| typedef struct _ValaPostfixExpression ValaPostfixExpression; | | typedef struct _ValaPostfixExpression ValaPostfixExpression; | |
| typedef struct _ValaPostfixExpressionClass ValaPostfixExpressionClass; | | typedef struct _ValaPostfixExpressionClass ValaPostfixExpressionClass; | |
| typedef struct _ValaSizeofExpression ValaSizeofExpression; | | typedef struct _ValaSizeofExpression ValaSizeofExpression; | |
| typedef struct _ValaSizeofExpressionClass ValaSizeofExpressionClass; | | typedef struct _ValaSizeofExpressionClass ValaSizeofExpressionClass; | |
| typedef struct _ValaTypeofExpression ValaTypeofExpression; | | typedef struct _ValaTypeofExpression ValaTypeofExpression; | |
| typedef struct _ValaTypeofExpressionClass ValaTypeofExpressionClass; | | typedef struct _ValaTypeofExpressionClass ValaTypeofExpressionClass; | |
| typedef struct _ValaCastExpression ValaCastExpression; | | typedef struct _ValaCastExpression ValaCastExpression; | |
| typedef struct _ValaCastExpressionClass ValaCastExpressionClass; | | typedef struct _ValaCastExpressionClass ValaCastExpressionClass; | |
| typedef struct _ValaReferenceTransferExpression ValaReferenceTransferExpres
sion; | | typedef struct _ValaReferenceTransferExpression ValaReferenceTransferExpres
sion; | |
| typedef struct _ValaReferenceTransferExpressionClass ValaReferenceTransferE
xpressionClass; | | typedef struct _ValaReferenceTransferExpressionClass ValaReferenceTransferE
xpressionClass; | |
| typedef struct _ValaTypeCheck ValaTypeCheck; | | typedef struct _ValaTypeCheck ValaTypeCheck; | |
| typedef struct _ValaTypeCheckClass ValaTypeCheckClass; | | typedef struct _ValaTypeCheckClass ValaTypeCheckClass; | |
| typedef struct _ValaConditionalExpression ValaConditionalExpression; | | typedef struct _ValaConditionalExpression ValaConditionalExpression; | |
| typedef struct _ValaConditionalExpressionClass ValaConditionalExpressionCla
ss; | | typedef struct _ValaConditionalExpressionClass ValaConditionalExpressionCla
ss; | |
|
| | | typedef struct _ValaGenericType ValaGenericType; | |
| | | typedef struct _ValaGenericTypeClass ValaGenericTypeClass; | |
| typedef struct _ValaCodeGenerator ValaCodeGenerator; | | typedef struct _ValaCodeGenerator ValaCodeGenerator; | |
| typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | | typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | |
| typedef struct _ValaSourceFileCycle ValaSourceFileCycle; | | typedef struct _ValaSourceFileCycle ValaSourceFileCycle; | |
| typedef struct _ValaSourceFileCycleClass ValaSourceFileCycleClass; | | typedef struct _ValaSourceFileCycleClass ValaSourceFileCycleClass; | |
| typedef struct _ValaAttribute ValaAttribute; | | typedef struct _ValaAttribute ValaAttribute; | |
| typedef struct _ValaAttributeClass ValaAttributeClass; | | typedef struct _ValaAttributeClass ValaAttributeClass; | |
| | | | |
| #define VALA_TYPE_CODE_NODE (vala_code_node_get_type ()) | | #define VALA_TYPE_CODE_NODE (vala_code_node_get_type ()) | |
| #define VALA_CODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_C
ODE_NODE, ValaCodeNode)) | | #define VALA_CODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_C
ODE_NODE, ValaCodeNode)) | |
| #define VALA_CODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_CODE_NODE, ValaCodeNodeClass)) | | #define VALA_CODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_CODE_NODE, ValaCodeNodeClass)) | |
| | | | |
End of changes. 14 change blocks. |
| 35 lines changed or deleted | | 33 lines changed or added | |
|
| valafield.h | | valafield.h | |
| /* valafield.vala | | /* valafield.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2008 Jürg Billeter | | * Copyright (C) 2006-2009 Jürg Billeter | |
| * | | * | |
| * 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 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 62 | | skipping to change at line 62 | |
| | | | |
| struct _ValaFieldClass { | | struct _ValaFieldClass { | |
| ValaMemberClass parent_class; | | ValaMemberClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaField* vala_field_construct (GType object_type, const char* name, ValaD
ataType* field_type, ValaExpression* initializer, ValaSourceReference* sour
ce_reference); | | ValaField* vala_field_construct (GType object_type, const char* name, ValaD
ataType* field_type, ValaExpression* initializer, ValaSourceReference* sour
ce_reference); | |
| ValaField* vala_field_new (const char* name, ValaDataType* field_type, Vala
Expression* initializer, ValaSourceReference* source_reference); | | ValaField* vala_field_new (const char* name, ValaDataType* field_type, Vala
Expression* initializer, ValaSourceReference* source_reference); | |
| char* vala_field_get_cname (ValaField* self); | | char* vala_field_get_cname (ValaField* self); | |
| void vala_field_set_cname (ValaField* self, const char* cname); | | void vala_field_set_cname (ValaField* self, const char* cname); | |
| char* vala_field_get_default_cname (ValaField* self); | | char* vala_field_get_default_cname (ValaField* self); | |
|
| | | char* vala_field_get_array_length_cname (ValaField* self); | |
| | | void vala_field_set_array_length_cname (ValaField* self, const char* array_ | |
| | | length_cname); | |
| void vala_field_process_attributes (ValaField* self); | | void vala_field_process_attributes (ValaField* self); | |
| char* vala_field_get_ctype (ValaField* self); | | char* vala_field_get_ctype (ValaField* self); | |
| void vala_field_set_ctype (ValaField* self, const char* ctype); | | void vala_field_set_ctype (ValaField* self, const char* ctype); | |
| ValaDataType* vala_field_get_field_type (ValaField* self); | | ValaDataType* vala_field_get_field_type (ValaField* self); | |
| void vala_field_set_field_type (ValaField* self, ValaDataType* value); | | void vala_field_set_field_type (ValaField* self, ValaDataType* value); | |
| ValaExpression* vala_field_get_initializer (ValaField* self); | | ValaExpression* vala_field_get_initializer (ValaField* self); | |
| void vala_field_set_initializer (ValaField* self, ValaExpression* value); | | void vala_field_set_initializer (ValaField* self, ValaExpression* value); | |
| MemberBinding vala_field_get_binding (ValaField* self); | | MemberBinding vala_field_get_binding (ValaField* self); | |
| void vala_field_set_binding (ValaField* self, MemberBinding value); | | void vala_field_set_binding (ValaField* self, MemberBinding value); | |
| gboolean vala_field_get_is_volatile (ValaField* self); | | gboolean vala_field_get_is_volatile (ValaField* self); | |
| void vala_field_set_is_volatile (ValaField* self, gboolean value); | | void vala_field_set_is_volatile (ValaField* self, gboolean value); | |
| gboolean vala_field_get_no_array_length (ValaField* self); | | gboolean vala_field_get_no_array_length (ValaField* self); | |
| void vala_field_set_no_array_length (ValaField* self, gboolean value); | | void vala_field_set_no_array_length (ValaField* self, gboolean value); | |
|
| | | gboolean vala_field_get_array_null_terminated (ValaField* self); | |
| | | void vala_field_set_array_null_terminated (ValaField* self, gboolean value) | |
| | | ; | |
| | | gboolean vala_field_get_has_array_length_cname (ValaField* self); | |
| GType vala_field_get_type (void); | | GType vala_field_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 8 lines changed or added | |
|
| valaformalparameter.h | | valaformalparameter.h | |
| /* valaformalparameter.vala | | /* valaformalparameter.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | | * Copyright (C) 2006-2009 Jürg Billeter | |
| | | * Copyright (C) 2006-2008 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 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 85 | | skipping to change at line 86 | |
| ValaParameterDirection vala_formal_parameter_get_direction (ValaFormalParam
eter* self); | | ValaParameterDirection vala_formal_parameter_get_direction (ValaFormalParam
eter* self); | |
| void vala_formal_parameter_set_direction (ValaFormalParameter* self, ValaPa
rameterDirection value); | | void vala_formal_parameter_set_direction (ValaFormalParameter* self, ValaPa
rameterDirection value); | |
| gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | | gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | |
| void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea
n value); | | void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea
n value); | |
| gboolean vala_formal_parameter_get_params_array (ValaFormalParameter* self)
; | | gboolean vala_formal_parameter_get_params_array (ValaFormalParameter* self)
; | |
| void vala_formal_parameter_set_params_array (ValaFormalParameter* self, gbo
olean value); | | void vala_formal_parameter_set_params_array (ValaFormalParameter* self, gbo
olean value); | |
| ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar
ameter* self); | | ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar
ameter* self); | |
| void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel
f, ValaExpression* value); | | void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel
f, ValaExpression* value); | |
| gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se
lf); | | gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se
lf); | |
| void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self,
gboolean value); | | void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self,
gboolean value); | |
|
| gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter | | gboolean vala_formal_parameter_get_array_null_terminated (ValaFormalParamet | |
| * self); | | er* self); | |
| void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se | | void vala_formal_parameter_set_array_null_terminated (ValaFormalParameter* | |
| lf, gboolean value); | | self, gboolean value); | |
| double vala_formal_parameter_get_cparameter_position (ValaFormalParameter*
self); | | double vala_formal_parameter_get_cparameter_position (ValaFormalParameter*
self); | |
| void vala_formal_parameter_set_cparameter_position (ValaFormalParameter* se
lf, double value); | | void vala_formal_parameter_set_cparameter_position (ValaFormalParameter* se
lf, double value); | |
| double vala_formal_parameter_get_carray_length_parameter_position (ValaForm
alParameter* self); | | double vala_formal_parameter_get_carray_length_parameter_position (ValaForm
alParameter* self); | |
| void vala_formal_parameter_set_carray_length_parameter_position (ValaFormal
Parameter* self, double value); | | void vala_formal_parameter_set_carray_length_parameter_position (ValaFormal
Parameter* self, double value); | |
| double vala_formal_parameter_get_cdelegate_target_parameter_position (ValaF
ormalParameter* self); | | double vala_formal_parameter_get_cdelegate_target_parameter_position (ValaF
ormalParameter* self); | |
| void vala_formal_parameter_set_cdelegate_target_parameter_position (ValaFor
malParameter* self, double value); | | void vala_formal_parameter_set_cdelegate_target_parameter_position (ValaFor
malParameter* self, double value); | |
| const char* vala_formal_parameter_get_ctype (ValaFormalParameter* self); | | const char* vala_formal_parameter_get_ctype (ValaFormalParameter* self); | |
| void vala_formal_parameter_set_ctype (ValaFormalParameter* self, const char
* value); | | void vala_formal_parameter_set_ctype (ValaFormalParameter* self, const char
* value); | |
| GType vala_formal_parameter_get_type (void); | | GType vala_formal_parameter_get_type (void); | |
| GType vala_parameter_direction_get_type (void); | | GType vala_parameter_direction_get_type (void); | |
| | | | |
End of changes. 2 change blocks. |
| 5 lines changed or deleted | | 6 lines changed or added | |
|
| valaintegertype.h | | valaintegertype.h | |
| /* valaintegertype.vala | | /* valaintegertype.vala | |
| * | | * | |
|
| * Copyright (C) 2008 Jürg Billeter | | * Copyright (C) 2008-2009 Jürg Billeter | |
| * | | * | |
| * 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 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAINTEGERTYPE_H__ | | #ifndef __VALA_VALAINTEGERTYPE_H__ | |
| #define __VALA_VALAINTEGERTYPE_H__ | | #define __VALA_VALAINTEGERTYPE_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 <vala/valavaluetype.h> | | #include <vala/valavaluetype.h> | |
|
| #include <vala/valatypesymbol.h> | | #include <vala/valastruct.h> | |
| #include <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_INTEGER_TYPE (vala_integer_type_get_type ()) | | #define VALA_TYPE_INTEGER_TYPE (vala_integer_type_get_type ()) | |
| #define VALA_INTEGER_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_INTEGER_TYPE, ValaIntegerType)) | | #define VALA_INTEGER_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_INTEGER_TYPE, ValaIntegerType)) | |
| #define VALA_INTEGER_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_INTEGER_TYPE, ValaIntegerTypeClass)) | | #define VALA_INTEGER_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_INTEGER_TYPE, ValaIntegerTypeClass)) | |
| #define VALA_IS_INTEGER_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_INTEGER_TYPE)) | | #define VALA_IS_INTEGER_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_INTEGER_TYPE)) | |
| #define VALA_IS_INTEGER_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass)
, VALA_TYPE_INTEGER_TYPE)) | | #define VALA_IS_INTEGER_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass)
, VALA_TYPE_INTEGER_TYPE)) | |
| #define VALA_INTEGER_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_INTEGER_TYPE, ValaIntegerTypeClass)) | | #define VALA_INTEGER_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_INTEGER_TYPE, ValaIntegerTypeClass)) | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 59 | |
| */ | | */ | |
| struct _ValaIntegerType { | | struct _ValaIntegerType { | |
| ValaValueType parent_instance; | | ValaValueType parent_instance; | |
| ValaIntegerTypePrivate * priv; | | ValaIntegerTypePrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaIntegerTypeClass { | | struct _ValaIntegerTypeClass { | |
| ValaValueTypeClass parent_class; | | ValaValueTypeClass parent_class; | |
| }; | | }; | |
| | | | |
|
| ValaIntegerType* vala_integer_type_construct (GType object_type, ValaTypeSy | | ValaIntegerType* vala_integer_type_construct (GType object_type, ValaStruct | |
| mbol* type_symbol, const char* literal_value, const char* literal_type_name | | * type_symbol, const char* literal_value, const char* literal_type_name); | |
| ); | | ValaIntegerType* vala_integer_type_new (ValaStruct* type_symbol, const char | |
| ValaIntegerType* vala_integer_type_new (ValaTypeSymbol* type_symbol, const | | * literal_value, const char* literal_type_name); | |
| char* literal_value, const char* literal_type_name); | | | |
| GType vala_integer_type_get_type (void); | | GType vala_integer_type_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 7 lines changed or deleted | | 6 lines changed or added | |
|
| valastruct.h | | valastruct.h | |
| /* valastruct.vala | | /* valastruct.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2008 Jürg Billeter | | * Copyright (C) 2006-2009 Jürg Billeter | |
| * | | * | |
| * 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 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 68 | | skipping to change at line 68 | |
| 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
); | |
| GeeList* 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); | |
| GeeList* vala_struct_get_fields (ValaStruct* self); | | GeeList* vala_struct_get_fields (ValaStruct* self); | |
| GeeList* vala_struct_get_constants (ValaStruct* self); | | GeeList* vala_struct_get_constants (ValaStruct* self); | |
| void vala_struct_add_method (ValaStruct* self, ValaMethod* m); | | void vala_struct_add_method (ValaStruct* self, ValaMethod* m); | |
| GeeList* 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_boolean_type (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); | |
| GeeList* 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); | |
| char* vala_struct_get_default_copy_function (ValaStruct* self); | | char* vala_struct_get_default_copy_function (ValaStruct* self); | |
| void vala_struct_set_copy_function (ValaStruct* self, const char* name); | | void vala_struct_set_copy_function (ValaStruct* self, const char* name); | |
| char* vala_struct_get_default_destroy_function (ValaStruct* self); | | char* vala_struct_get_default_destroy_function (ValaStruct* self); | |
| void vala_struct_set_destroy_function (ValaStruct* self, const char* name); | | void vala_struct_set_destroy_function (ValaStruct* self, const char* name); | |
| gboolean vala_struct_is_disposable (ValaStruct* self); | | gboolean vala_struct_is_disposable (ValaStruct* self); | |
| 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); | |
|
| | | gboolean vala_struct_get_has_type_id (ValaStruct* self); | |
| | | void vala_struct_set_has_type_id (ValaStruct* self, gboolean value); | |
| GType vala_struct_get_type (void); | | GType vala_struct_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 4 lines changed or added | |
|
| valatyperegisterfunction.h | | valatyperegisterfunction.h | |
| | | | |
| skipping to change at line 64 | | skipping to change at line 64 | |
| volatile int ref_count; | | volatile int ref_count; | |
| ValaTypeRegisterFunctionPrivate * priv; | | ValaTypeRegisterFunctionPrivate * priv; | |
| }; | | }; | |
| | | | |
| struct _ValaTypeRegisterFunctionClass { | | struct _ValaTypeRegisterFunctionClass { | |
| GTypeClass parent_class; | | GTypeClass parent_class; | |
| void (*finalize) (ValaTypeRegisterFunction *self); | | void (*finalize) (ValaTypeRegisterFunction *self); | |
| 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_finalize_func_name) (ValaTypeRegisterFunction* sel
f); | |
| char* (*get_base_finalize_func_name) (ValaTypeRegisterFunction* self
); | | char* (*get_base_finalize_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_gtype_value_table_init_function_name) (ValaTypeRegisterF
unction* self); | | char* (*get_gtype_value_table_init_function_name) (ValaTypeRegisterF
unction* self); | |
| char* (*get_gtype_value_table_peek_pointer_function_name) (ValaTypeR
egisterFunction* self); | | char* (*get_gtype_value_table_peek_pointer_function_name) (ValaTypeR
egisterFunction* self); | |
| char* (*get_gtype_value_table_free_function_name) (ValaTypeRegisterF
unction* self); | | char* (*get_gtype_value_table_free_function_name) (ValaTypeRegisterF
unction* self); | |
| char* (*get_gtype_value_table_copy_function_name) (ValaTypeRegisterF
unction* self); | | char* (*get_gtype_value_table_copy_function_name) (ValaTypeRegisterF
unction* self); | |
| char* (*get_gtype_value_table_lcopy_value_function_name) (ValaTypeRe
gisterFunction* self); | | char* (*get_gtype_value_table_lcopy_value_function_name) (ValaTypeRe
gisterFunction* self); | |
| | | | |
| skipping to change at line 89 | | skipping to change at line 90 | |
| }; | | }; | |
| | | | |
| struct _ValaParamSpecTypeRegisterFunction { | | struct _ValaParamSpecTypeRegisterFunction { | |
| GParamSpec parent_instance; | | GParamSpec parent_instance; | |
| }; | | }; | |
| | | | |
| 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_finalize_func_name (ValaTypeRegi
sterFunction* self); | |
| char* vala_typeregister_function_get_base_finalize_func_name (ValaTypeRegis
terFunction* self); | | char* vala_typeregister_function_get_base_finalize_func_name (ValaTypeRegis
terFunction* 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_gtype_value_table_init_function_name (
ValaTypeRegisterFunction* self); | | char* vala_typeregister_function_get_gtype_value_table_init_function_name (
ValaTypeRegisterFunction* self); | |
| char* vala_typeregister_function_get_gtype_value_table_peek_pointer_functio
n_name (ValaTypeRegisterFunction* self); | | char* vala_typeregister_function_get_gtype_value_table_peek_pointer_functio
n_name (ValaTypeRegisterFunction* self); | |
| char* vala_typeregister_function_get_gtype_value_table_free_function_name (
ValaTypeRegisterFunction* self); | | char* vala_typeregister_function_get_gtype_value_table_free_function_name (
ValaTypeRegisterFunction* self); | |
| char* vala_typeregister_function_get_gtype_value_table_copy_function_name (
ValaTypeRegisterFunction* self); | | char* vala_typeregister_function_get_gtype_value_table_copy_function_name (
ValaTypeRegisterFunction* self); | |
| char* vala_typeregister_function_get_gtype_value_table_lcopy_value_function
_name (ValaTypeRegisterFunction* self); | | char* vala_typeregister_function_get_gtype_value_table_lcopy_value_function
_name (ValaTypeRegisterFunction* self); | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|