arraylist.h   arraylist.h 
skipping to change at line 59 skipping to change at line 59
* Arrays of arbitrary elements which grow automatically as elements are ad ded. * Arrays of arbitrary elements which grow automatically as elements are ad ded.
*/ */
struct _GeeArrayList { struct _GeeArrayList {
GObject parent; GObject parent;
GeeArrayListPrivate * priv; GeeArrayListPrivate * priv;
}; };
struct _GeeArrayListClass { struct _GeeArrayListClass {
GObjectClass parent; GObjectClass parent;
}; };
GeeArrayList* gee_array_list_new (GBoxedCopyFunc g_dup_func, GDestroyNotify g_destroy_func, GEqualFunc equal_func); GeeArrayList* gee_array_list_new (GType g_type, GBoxedCopyFunc g_dup_func, GDestroyNotify g_destroy_func, GEqualFunc equal_func);
void gee_array_list_set_equal_func (GeeArrayList* self, GEqualFunc value); void gee_array_list_set_equal_func (GeeArrayList* self, GEqualFunc value);
GType gee_array_list_get_type (void); GType gee_array_list_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 collection.h   collection.h 
skipping to change at line 46 skipping to change at line 46
typedef struct _GeeCollection GeeCollection; typedef struct _GeeCollection GeeCollection;
typedef struct _GeeCollectionIface GeeCollectionIface; typedef struct _GeeCollectionIface GeeCollectionIface;
/** /**
* Serves as the base interface for implementing collection classes. Define s * Serves as the base interface for implementing collection classes. Define s
* size, iteration, and modification methods. * size, iteration, and modification methods.
*/ */
struct _GeeCollectionIface { struct _GeeCollectionIface {
GTypeInterface parent; GTypeInterface parent;
gboolean (*contains) (GeeCollection* self, gpointer item); gboolean (*contains) (GeeCollection* self, gconstpointer item);
gboolean (*add) (GeeCollection* self, gpointer item); gboolean (*add) (GeeCollection* self, gconstpointer item);
gboolean (*remove) (GeeCollection* self, gpointer item); gboolean (*remove) (GeeCollection* self, gconstpointer item);
void (*clear) (GeeCollection* self); void (*clear) (GeeCollection* self);
}; };
gboolean gee_collection_contains (GeeCollection* self, gpointer item); gboolean gee_collection_contains (GeeCollection* self, gconstpointer item);
gboolean gee_collection_add (GeeCollection* self, gpointer item); gboolean gee_collection_add (GeeCollection* self, gconstpointer item);
gboolean gee_collection_remove (GeeCollection* self, gpointer item); gboolean gee_collection_remove (GeeCollection* self, gconstpointer item);
void gee_collection_clear (GeeCollection* self); void gee_collection_clear (GeeCollection* self);
gint gee_collection_get_size (GeeCollection* self); gint gee_collection_get_size (GeeCollection* self);
GType gee_collection_get_type (void); GType gee_collection_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
6 lines changed or deleted 6 lines changed or added


 hashmap.h   hashmap.h 
skipping to change at line 60 skipping to change at line 60
* Hashtable implementation of the Map interface. * Hashtable implementation of the Map interface.
*/ */
struct _GeeHashMap { struct _GeeHashMap {
GObject parent; GObject parent;
GeeHashMapPrivate * priv; GeeHashMapPrivate * priv;
}; };
struct _GeeHashMapClass { struct _GeeHashMapClass {
GObjectClass parent; GObjectClass parent;
}; };
GeeHashMap* gee_hash_map_new (GBoxedCopyFunc k_dup_func, GDestroyNotify k_d estroy_func, GBoxedCopyFunc v_dup_func, GDestroyNotify v_destroy_func, GHas hFunc key_hash_func, GEqualFunc key_equal_func, GEqualFunc value_equal_func ); GeeHashMap* gee_hash_map_new (GType k_type, GBoxedCopyFunc k_dup_func, GDes troyNotify k_destroy_func, GType v_type, GBoxedCopyFunc v_dup_func, GDestro yNotify v_destroy_func, GHashFunc key_hash_func, GEqualFunc key_equal_func, GEqualFunc value_equal_func);
void gee_hash_map_set_key_hash_func (GeeHashMap* self, GHashFunc value); void gee_hash_map_set_key_hash_func (GeeHashMap* self, GHashFunc value);
void gee_hash_map_set_key_equal_func (GeeHashMap* self, GEqualFunc value); void gee_hash_map_set_key_equal_func (GeeHashMap* self, GEqualFunc value);
void gee_hash_map_set_value_equal_func (GeeHashMap* self, GEqualFunc value) ; void gee_hash_map_set_value_equal_func (GeeHashMap* self, GEqualFunc value) ;
GType gee_hash_map_get_type (void); GType gee_hash_map_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 hashset.h   hashset.h 
skipping to change at line 59 skipping to change at line 59
* Hashtable implementation of the Set interface. * Hashtable implementation of the Set interface.
*/ */
struct _GeeHashSet { struct _GeeHashSet {
GObject parent; GObject parent;
GeeHashSetPrivate * priv; GeeHashSetPrivate * priv;
}; };
struct _GeeHashSetClass { struct _GeeHashSetClass {
GObjectClass parent; GObjectClass parent;
}; };
GeeHashSet* gee_hash_set_new (GBoxedCopyFunc g_dup_func, GDestroyNotify g_d estroy_func, GHashFunc hash_func, GEqualFunc equal_func); GeeHashSet* gee_hash_set_new (GType g_type, GBoxedCopyFunc g_dup_func, GDes troyNotify g_destroy_func, GHashFunc hash_func, GEqualFunc equal_func);
void gee_hash_set_set_hash_func (GeeHashSet* self, GHashFunc value); void gee_hash_set_set_hash_func (GeeHashSet* self, GHashFunc value);
void gee_hash_set_set_equal_func (GeeHashSet* self, GEqualFunc value); void gee_hash_set_set_equal_func (GeeHashSet* self, GEqualFunc value);
GType gee_hash_set_get_type (void); GType gee_hash_set_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 list.h   list.h 
skipping to change at line 46 skipping to change at line 46
typedef struct _GeeList GeeList; typedef struct _GeeList GeeList;
typedef struct _GeeListIface GeeListIface; typedef struct _GeeListIface GeeListIface;
/** /**
* Represents a collection of items in a well-defined order. * Represents a collection of items in a well-defined order.
*/ */
struct _GeeListIface { struct _GeeListIface {
GTypeInterface parent; GTypeInterface parent;
gpointer (*get) (GeeList* self, gint index); gpointer (*get) (GeeList* self, gint index);
void (*set) (GeeList* self, gint index, gpointer item); void (*set) (GeeList* self, gint index, gconstpointer item);
gint (*index_of) (GeeList* self, gpointer item); gint (*index_of) (GeeList* self, gconstpointer item);
void (*insert) (GeeList* self, gint index, gpointer item); void (*insert) (GeeList* self, gint index, gconstpointer item);
void (*remove_at) (GeeList* self, gint index); void (*remove_at) (GeeList* self, gint index);
}; };
gpointer gee_list_get (GeeList* self, gint index); gpointer gee_list_get (GeeList* self, gint index);
void gee_list_set (GeeList* self, gint index, gpointer item); void gee_list_set (GeeList* self, gint index, gconstpointer item);
gint gee_list_index_of (GeeList* self, gpointer item); gint gee_list_index_of (GeeList* self, gconstpointer item);
void gee_list_insert (GeeList* self, gint index, gpointer item); void gee_list_insert (GeeList* self, gint index, gconstpointer item);
void gee_list_remove_at (GeeList* self, gint index); void gee_list_remove_at (GeeList* self, gint index);
GType gee_list_get_type (void); GType gee_list_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
6 lines changed or deleted 6 lines changed or added


 map.h   map.h 
skipping to change at line 48 skipping to change at line 48
typedef struct _GeeMap GeeMap; typedef struct _GeeMap GeeMap;
typedef struct _GeeMapIface GeeMapIface; typedef struct _GeeMapIface GeeMapIface;
/** /**
* A map is a generic collection of key/value pairs. * A map is a generic collection of key/value pairs.
*/ */
struct _GeeMapIface { struct _GeeMapIface {
GTypeInterface parent; GTypeInterface parent;
GeeSet* (*get_keys) (GeeMap* self); GeeSet* (*get_keys) (GeeMap* self);
GeeCollection* (*get_values) (GeeMap* self); GeeCollection* (*get_values) (GeeMap* self);
gboolean (*contains) (GeeMap* self, gpointer key); gboolean (*contains) (GeeMap* self, gconstpointer key);
gpointer (*get) (GeeMap* self, gpointer key); gpointer (*get) (GeeMap* self, gconstpointer key);
void (*set) (GeeMap* self, gpointer key, gpointer value); void (*set) (GeeMap* self, gconstpointer key, gconstpointer value);
gboolean (*remove) (GeeMap* self, gpointer key); gboolean (*remove) (GeeMap* self, gconstpointer key);
void (*clear) (GeeMap* self); void (*clear) (GeeMap* self);
}; };
GeeSet* gee_map_get_keys (GeeMap* self); GeeSet* gee_map_get_keys (GeeMap* self);
GeeCollection* gee_map_get_values (GeeMap* self); GeeCollection* gee_map_get_values (GeeMap* self);
gboolean gee_map_contains (GeeMap* self, gpointer key); gboolean gee_map_contains (GeeMap* self, gconstpointer key);
gpointer gee_map_get (GeeMap* self, gpointer key); gpointer gee_map_get (GeeMap* self, gconstpointer key);
void gee_map_set (GeeMap* self, gpointer key, gpointer value); void gee_map_set (GeeMap* self, gconstpointer key, gconstpointer value);
gboolean gee_map_remove (GeeMap* self, gpointer key); gboolean gee_map_remove (GeeMap* self, gconstpointer key);
void gee_map_clear (GeeMap* self); void gee_map_clear (GeeMap* self);
gint gee_map_get_size (GeeMap* self); gint gee_map_get_size (GeeMap* self);
GType gee_map_get_type (void); GType gee_map_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
8 lines changed or deleted 8 lines changed or added


 readonlycollection.h   readonlycollection.h 
skipping to change at line 56 skipping to change at line 56
* Represents a read-only collection of items. * Represents a read-only collection of items.
*/ */
struct _GeeReadOnlyCollection { struct _GeeReadOnlyCollection {
GObject parent; GObject parent;
GeeReadOnlyCollectionPrivate * priv; GeeReadOnlyCollectionPrivate * priv;
}; };
struct _GeeReadOnlyCollectionClass { struct _GeeReadOnlyCollectionClass {
GObjectClass parent; GObjectClass parent;
}; };
GeeReadOnlyCollection* gee_read_only_collection_new (GBoxedCopyFunc g_dup_f unc, GDestroyNotify g_destroy_func, GeeCollection* collection); GeeReadOnlyCollection* gee_read_only_collection_new (GType g_type, GBoxedCo pyFunc g_dup_func, GDestroyNotify g_destroy_func, GeeCollection* collection );
void gee_read_only_collection_set_collection (GeeReadOnlyCollection* self, GeeCollection* value); void gee_read_only_collection_set_collection (GeeReadOnlyCollection* self, GeeCollection* value);
GType gee_read_only_collection_get_type (void); GType gee_read_only_collection_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 readonlylist.h   readonlylist.h 
skipping to change at line 57 skipping to change at line 57
* Represents a read-only collection of items in a well-defined order. * Represents a read-only collection of items in a well-defined order.
*/ */
struct _GeeReadOnlyList { struct _GeeReadOnlyList {
GObject parent; GObject parent;
GeeReadOnlyListPrivate * priv; GeeReadOnlyListPrivate * priv;
}; };
struct _GeeReadOnlyListClass { struct _GeeReadOnlyListClass {
GObjectClass parent; GObjectClass parent;
}; };
GeeReadOnlyList* gee_read_only_list_new (GBoxedCopyFunc g_dup_func, GDestro yNotify g_destroy_func, GeeList* list); GeeReadOnlyList* gee_read_only_list_new (GType g_type, GBoxedCopyFunc g_dup _func, GDestroyNotify g_destroy_func, GeeList* list);
void gee_read_only_list_set_list (GeeReadOnlyList* self, GeeList* value); void gee_read_only_list_set_list (GeeReadOnlyList* self, GeeList* value);
GType gee_read_only_list_get_type (void); GType gee_read_only_list_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 readonlymap.h   readonlymap.h 
skipping to change at line 56 skipping to change at line 56
* Represents a read-only collection of key/value pairs. * Represents a read-only collection of key/value pairs.
*/ */
struct _GeeReadOnlyMap { struct _GeeReadOnlyMap {
GObject parent; GObject parent;
GeeReadOnlyMapPrivate * priv; GeeReadOnlyMapPrivate * priv;
}; };
struct _GeeReadOnlyMapClass { struct _GeeReadOnlyMapClass {
GObjectClass parent; GObjectClass parent;
}; };
GeeReadOnlyMap* gee_read_only_map_new (GBoxedCopyFunc k_dup_func, GDestroyN otify k_destroy_func, GBoxedCopyFunc v_dup_func, GDestroyNotify v_destroy_f unc, GeeMap* map); GeeReadOnlyMap* gee_read_only_map_new (GType k_type, GBoxedCopyFunc k_dup_f unc, GDestroyNotify k_destroy_func, GType v_type, GBoxedCopyFunc v_dup_func , GDestroyNotify v_destroy_func, GeeMap* map);
void gee_read_only_map_set_map (GeeReadOnlyMap* self, GeeMap* value); void gee_read_only_map_set_map (GeeReadOnlyMap* self, GeeMap* value);
GType gee_read_only_map_get_type (void); GType gee_read_only_map_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 readonlyset.h   readonlyset.h 
skipping to change at line 57 skipping to change at line 57
* Represents a read-only collection of items without duplicates. * Represents a read-only collection of items without duplicates.
*/ */
struct _GeeReadOnlySet { struct _GeeReadOnlySet {
GObject parent; GObject parent;
GeeReadOnlySetPrivate * priv; GeeReadOnlySetPrivate * priv;
}; };
struct _GeeReadOnlySetClass { struct _GeeReadOnlySetClass {
GObjectClass parent; GObjectClass parent;
}; };
GeeReadOnlySet* gee_read_only_set_new (GBoxedCopyFunc g_dup_func, GDestroyN otify g_destroy_func, GeeSet* set); GeeReadOnlySet* gee_read_only_set_new (GType g_type, GBoxedCopyFunc g_dup_f unc, GDestroyNotify g_destroy_func, GeeSet* set);
void gee_read_only_set_set_set (GeeReadOnlySet* self, GeeSet* value); void gee_read_only_set_set_set (GeeReadOnlySet* self, GeeSet* value);
GType gee_read_only_set_get_type (void); GType gee_read_only_set_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 valabinaryexpression.h   valabinaryexpression.h 
/* valabinaryexpression.vala /* valabinaryexpression.vala
* *
* Copyright (C) 2006 Jürg Billeter * Copyright (C) 2006-2007 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 72 skipping to change at line 72
VALA_BINARY_OPERATOR_LESS_THAN, VALA_BINARY_OPERATOR_LESS_THAN,
VALA_BINARY_OPERATOR_GREATER_THAN, VALA_BINARY_OPERATOR_GREATER_THAN,
VALA_BINARY_OPERATOR_LESS_THAN_OR_EQUAL, VALA_BINARY_OPERATOR_LESS_THAN_OR_EQUAL,
VALA_BINARY_OPERATOR_GREATER_THAN_OR_EQUAL, VALA_BINARY_OPERATOR_GREATER_THAN_OR_EQUAL,
VALA_BINARY_OPERATOR_EQUALITY, VALA_BINARY_OPERATOR_EQUALITY,
VALA_BINARY_OPERATOR_INEQUALITY, VALA_BINARY_OPERATOR_INEQUALITY,
VALA_BINARY_OPERATOR_BITWISE_AND, VALA_BINARY_OPERATOR_BITWISE_AND,
VALA_BINARY_OPERATOR_BITWISE_OR, VALA_BINARY_OPERATOR_BITWISE_OR,
VALA_BINARY_OPERATOR_BITWISE_XOR, VALA_BINARY_OPERATOR_BITWISE_XOR,
VALA_BINARY_OPERATOR_AND, VALA_BINARY_OPERATOR_AND,
VALA_BINARY_OPERATOR_OR VALA_BINARY_OPERATOR_OR,
VALA_BINARY_OPERATOR_IN
} ValaBinaryOperator; } ValaBinaryOperator;
ValaBinaryExpression* vala_binary_expression_new (ValaBinaryOperator op, Va laExpression* _left, ValaExpression* _right, ValaSourceReference* source); ValaBinaryExpression* vala_binary_expression_new (ValaBinaryOperator op, Va laExpression* _left, ValaExpression* _right, ValaSourceReference* source);
ValaBinaryOperator vala_binary_expression_get_operator (ValaBinaryExpressio n* self); ValaBinaryOperator vala_binary_expression_get_operator (ValaBinaryExpressio n* self);
void vala_binary_expression_set_operator (ValaBinaryExpression* self, ValaB inaryOperator value); void vala_binary_expression_set_operator (ValaBinaryExpression* self, ValaB inaryOperator value);
ValaExpression* vala_binary_expression_get_left (ValaBinaryExpression* self ); ValaExpression* vala_binary_expression_get_left (ValaBinaryExpression* self );
void vala_binary_expression_set_left (ValaBinaryExpression* self, ValaExpre ssion* value); void vala_binary_expression_set_left (ValaBinaryExpression* self, ValaExpre ssion* value);
ValaExpression* vala_binary_expression_get_right (ValaBinaryExpression* sel f); ValaExpression* vala_binary_expression_get_right (ValaBinaryExpression* sel f);
void vala_binary_expression_set_right (ValaBinaryExpression* self, ValaExpr ession* value); void vala_binary_expression_set_right (ValaBinaryExpression* self, ValaExpr ession* value);
GType vala_binary_expression_get_type (void); GType vala_binary_expression_get_type (void);
 End of changes. 2 change blocks. 
2 lines changed or deleted 3 lines changed or added


 valaccodeenum.h   valaccodeenum.h 
skipping to change at line 31 skipping to change at line 31
*/ */
#ifndef __CCODE_VALACCODEENUM_H__ #ifndef __CCODE_VALACCODEENUM_H__
#define __CCODE_VALACCODEENUM_H__ #define __CCODE_VALACCODEENUM_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 <ccode/valaccodenode.h> #include <ccode/valaccodenode.h>
#include <ccode/valaccodeenumvalue.h>
#include <ccode/valaccodewriter.h> #include <ccode/valaccodewriter.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define VALA_TYPE_CCODE_ENUM (vala_ccode_enum_get_type ()) #define VALA_TYPE_CCODE_ENUM (vala_ccode_enum_get_type ())
#define VALA_CCODE_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ CCODE_ENUM, ValaCCodeEnum)) #define VALA_CCODE_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ CCODE_ENUM, ValaCCodeEnum))
#define VALA_CCODE_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_CCODE_ENUM, ValaCCodeEnumClass)) #define VALA_CCODE_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_CCODE_ENUM, ValaCCodeEnumClass))
#define VALA_IS_CCODE_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_CCODE_ENUM)) #define VALA_IS_CCODE_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_CCODE_ENUM))
#define VALA_IS_CCODE_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ENUM)) #define VALA_IS_CCODE_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ENUM))
#define VALA_CCODE_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_CCODE_ENUM, ValaCCodeEnumClass)) #define VALA_CCODE_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_CCODE_ENUM, ValaCCodeEnumClass))
skipping to change at line 58 skipping to change at line 59
*/ */
struct _ValaCCodeEnum { struct _ValaCCodeEnum {
ValaCCodeNode parent; ValaCCodeNode parent;
ValaCCodeEnumPrivate * priv; ValaCCodeEnumPrivate * priv;
}; };
struct _ValaCCodeEnumClass { struct _ValaCCodeEnumClass {
ValaCCodeNodeClass parent; ValaCCodeNodeClass parent;
}; };
ValaCCodeEnum* vala_ccode_enum_new (const char* name); ValaCCodeEnum* vala_ccode_enum_new (const char* name);
void vala_ccode_enum_add_value (ValaCCodeEnum* self, const char* name, cons t char* value); void vala_ccode_enum_add_value (ValaCCodeEnum* self, ValaCCodeEnumValue* va lue);
char* vala_ccode_enum_get_name (ValaCCodeEnum* self); char* vala_ccode_enum_get_name (ValaCCodeEnum* self);
void vala_ccode_enum_set_name (ValaCCodeEnum* self, const char* value); void vala_ccode_enum_set_name (ValaCCodeEnum* self, const char* value);
GType vala_ccode_enum_get_type (void); GType vala_ccode_enum_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added


 valaccodemacroreplacement.h   valaccodemacroreplacement.h 
/* valaccodemacroreplacement.vala /* valaccodemacroreplacement.vala
* *
* Copyright (C) 2006 Jürg Billeter * Copyright (C) 2006-2007 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 __CCODE_VALACCODEMACROREPLACEMENT_H__ #ifndef __CCODE_VALACCODEMACROREPLACEMENT_H__
#define __CCODE_VALACCODEMACROREPLACEMENT_H__ #define __CCODE_VALACCODEMACROREPLACEMENT_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 <ccode/valaccodenode.h> #include <ccode/valaccodenode.h>
#include <ccode/valaccodeexpression.h>
#include <ccode/valaccodewriter.h> #include <ccode/valaccodewriter.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define VALA_TYPE_CCODE_MACRO_REPLACEMENT (vala_ccode_macro_replacement_get _type ()) #define VALA_TYPE_CCODE_MACRO_REPLACEMENT (vala_ccode_macro_replacement_get _type ())
#define VALA_CCODE_MACRO_REPLACEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CCODE_MACRO_REPLACEMENT, ValaCCodeMacroReplacement)) #define VALA_CCODE_MACRO_REPLACEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CCODE_MACRO_REPLACEMENT, ValaCCodeMacroReplacement))
#define VALA_CCODE_MACRO_REPLACEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_MACRO_REPLACEMENT, ValaCCodeMacroReplacementClass )) #define VALA_CCODE_MACRO_REPLACEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_MACRO_REPLACEMENT, ValaCCodeMacroReplacementClass ))
#define VALA_IS_CCODE_MACRO_REPLACEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE (( obj), VALA_TYPE_CCODE_MACRO_REPLACEMENT)) #define VALA_IS_CCODE_MACRO_REPLACEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE (( obj), VALA_TYPE_CCODE_MACRO_REPLACEMENT))
#define VALA_IS_CCODE_MACRO_REPLACEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TY PE ((klass), VALA_TYPE_CCODE_MACRO_REPLACEMENT)) #define VALA_IS_CCODE_MACRO_REPLACEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TY PE ((klass), VALA_TYPE_CCODE_MACRO_REPLACEMENT))
#define VALA_CCODE_MACRO_REPLACEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_MACRO_REPLACEMENT, ValaCCodeMacroReplacementCla ss)) #define VALA_CCODE_MACRO_REPLACEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_MACRO_REPLACEMENT, ValaCCodeMacroReplacementCla ss))
skipping to change at line 57 skipping to change at line 58
* Represents a preprocessor macro replacement definition in the C code. * Represents a preprocessor macro replacement definition in the C code.
*/ */
struct _ValaCCodeMacroReplacement { struct _ValaCCodeMacroReplacement {
ValaCCodeNode parent; ValaCCodeNode parent;
ValaCCodeMacroReplacementPrivate * priv; ValaCCodeMacroReplacementPrivate * priv;
}; };
struct _ValaCCodeMacroReplacementClass { struct _ValaCCodeMacroReplacementClass {
ValaCCodeNodeClass parent; ValaCCodeNodeClass parent;
}; };
ValaCCodeMacroReplacement* vala_ccode_macro_replacement_new (const char* n, ValaCCodeMacroReplacement* vala_ccode_macro_replacement_new (const char* na
const char* replace); me, const char* replacement);
ValaCCodeMacroReplacement* vala_ccode_macro_replacement_new_with_expression
(const char* name, ValaCCodeExpression* replacement_expression);
char* vala_ccode_macro_replacement_get_name (ValaCCodeMacroReplacement* sel f); char* vala_ccode_macro_replacement_get_name (ValaCCodeMacroReplacement* sel f);
void vala_ccode_macro_replacement_set_name (ValaCCodeMacroReplacement* self , const char* value); void vala_ccode_macro_replacement_set_name (ValaCCodeMacroReplacement* self , const char* value);
char* vala_ccode_macro_replacement_get_replacement (ValaCCodeMacroReplaceme nt* self); char* vala_ccode_macro_replacement_get_replacement (ValaCCodeMacroReplaceme nt* self);
void vala_ccode_macro_replacement_set_replacement (ValaCCodeMacroReplacemen t* self, const char* value); void vala_ccode_macro_replacement_set_replacement (ValaCCodeMacroReplacemen t* self, const char* value);
ValaCCodeExpression* vala_ccode_macro_replacement_get_replacement_expressio
n (ValaCCodeMacroReplacement* self);
void vala_ccode_macro_replacement_set_replacement_expression (ValaCCodeMacr
oReplacement* self, ValaCCodeExpression* value);
GType vala_ccode_macro_replacement_get_type (void); GType vala_ccode_macro_replacement_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 4 change blocks. 
3 lines changed or deleted 10 lines changed or added


 valacodecontext.h   valacodecontext.h 
skipping to change at line 79 skipping to change at line 79
ValaClass* vala_code_context_create_class (ValaCodeContext* self, const cha r* name, ValaSourceReference* source_reference); ValaClass* vala_code_context_create_class (ValaCodeContext* self, const cha r* name, ValaSourceReference* source_reference);
ValaStruct* vala_code_context_create_struct (ValaCodeContext* self, const c har* name, ValaSourceReference* source_reference); ValaStruct* vala_code_context_create_struct (ValaCodeContext* self, const c har* name, ValaSourceReference* source_reference);
ValaInterface* vala_code_context_create_interface (ValaCodeContext* self, c onst char* name, ValaSourceReference* source_reference); ValaInterface* vala_code_context_create_interface (ValaCodeContext* self, c onst char* name, ValaSourceReference* source_reference);
ValaEnum* vala_code_context_create_enum (ValaCodeContext* self, const char* name, ValaSourceReference* source_reference); ValaEnum* vala_code_context_create_enum (ValaCodeContext* self, const char* name, ValaSourceReference* source_reference);
ValaEnumValue* vala_code_context_create_enum_value (ValaCodeContext* self, const char* name); ValaEnumValue* vala_code_context_create_enum_value (ValaCodeContext* self, const char* name);
ValaEnumValue* vala_code_context_create_enum_value_with_value (ValaCodeCont ext* self, const char* name, ValaExpression* value); ValaEnumValue* vala_code_context_create_enum_value_with_value (ValaCodeCont ext* self, const char* name, ValaExpression* value);
ValaCallback* vala_code_context_create_callback (ValaCodeContext* self, con st char* name, ValaTypeReference* return_type, ValaSourceReference* source_ reference); ValaCallback* vala_code_context_create_callback (ValaCodeContext* self, con st char* name, ValaTypeReference* return_type, ValaSourceReference* source_ reference);
ValaConstant* vala_code_context_create_constant (ValaCodeContext* self, con st char* name, ValaTypeReference* type_reference, ValaExpression* initializ er, ValaSourceReference* source_reference); ValaConstant* vala_code_context_create_constant (ValaCodeContext* self, con st char* name, ValaTypeReference* type_reference, ValaExpression* initializ er, ValaSourceReference* source_reference);
ValaField* vala_code_context_create_field (ValaCodeContext* self, const cha r* name, ValaTypeReference* type_reference, ValaExpression* initializer, Va laSourceReference* source_reference); ValaField* vala_code_context_create_field (ValaCodeContext* self, const cha r* name, ValaTypeReference* type_reference, ValaExpression* initializer, Va laSourceReference* source_reference);
ValaMethod* vala_code_context_create_method (ValaCodeContext* self, const c har* name, ValaTypeReference* return_type, ValaSourceReference* source_refe rence); ValaMethod* vala_code_context_create_method (ValaCodeContext* self, const c har* name, ValaTypeReference* return_type, ValaSourceReference* source_refe rence);
ValaCreationMethod* vala_code_context_create_creation_method (ValaCodeConte xt* self, const char* name, ValaSourceReference* source_reference); ValaCreationMethod* vala_code_context_create_creation_method (ValaCodeConte xt* self, const char* type_name, const char* name, ValaSourceReference* sou rce_reference);
ValaFormalParameter* vala_code_context_create_formal_parameter (ValaCodeCon text* self, const char* name, ValaTypeReference* type_reference, ValaSource Reference* source_reference); ValaFormalParameter* vala_code_context_create_formal_parameter (ValaCodeCon text* self, const char* name, ValaTypeReference* type_reference, ValaSource Reference* source_reference);
ValaFormalParameter* vala_code_context_create_formal_parameter_with_ellipsi s (ValaCodeContext* self, ValaSourceReference* source_reference); ValaFormalParameter* vala_code_context_create_formal_parameter_with_ellipsi s (ValaCodeContext* self, ValaSourceReference* source_reference);
ValaProperty* vala_code_context_create_property (ValaCodeContext* self, con st char* name, ValaTypeReference* type_reference, ValaPropertyAccessor* get _accessor, ValaPropertyAccessor* set_accessor, ValaSourceReference* source_ reference); ValaProperty* vala_code_context_create_property (ValaCodeContext* self, con st char* name, ValaTypeReference* type_reference, ValaPropertyAccessor* get _accessor, ValaPropertyAccessor* set_accessor, ValaSourceReference* source_ reference);
ValaPropertyAccessor* vala_code_context_create_property_accessor (ValaCodeC ontext* self, gboolean readable, gboolean writable, gboolean construction, ValaBlock* body, ValaSourceReference* source_reference); ValaPropertyAccessor* vala_code_context_create_property_accessor (ValaCodeC ontext* self, gboolean readable, gboolean writable, gboolean construction, ValaBlock* body, ValaSourceReference* source_reference);
ValaSignal* vala_code_context_create_signal (ValaCodeContext* self, const c har* name, ValaTypeReference* return_type, ValaSourceReference* source_refe rence); ValaSignal* vala_code_context_create_signal (ValaCodeContext* self, const c har* name, ValaTypeReference* return_type, ValaSourceReference* source_refe rence);
ValaConstructor* vala_code_context_create_constructor (ValaCodeContext* sel f, ValaSourceReference* source_reference); ValaConstructor* vala_code_context_create_constructor (ValaCodeContext* sel f, ValaSourceReference* source_reference);
ValaDestructor* vala_code_context_create_destructor (ValaCodeContext* self, ValaSourceReference* source_reference); ValaDestructor* vala_code_context_create_destructor (ValaCodeContext* self, ValaSourceReference* source_reference);
ValaTypeParameter* vala_code_context_create_type_parameter (ValaCodeContext * self, const char* name, ValaSourceReference* source_reference); ValaTypeParameter* vala_code_context_create_type_parameter (ValaCodeContext * self, const char* name, ValaSourceReference* source_reference);
ValaBlock* vala_code_context_create_block (ValaCodeContext* self, ValaSourc eReference* source_reference); ValaBlock* vala_code_context_create_block (ValaCodeContext* self, ValaSourc eReference* source_reference);
ValaEmptyStatement* vala_code_context_create_empty_statement (ValaCodeConte xt* self, ValaSourceReference* source_reference); ValaEmptyStatement* vala_code_context_create_empty_statement (ValaCodeConte xt* self, ValaSourceReference* source_reference);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 valacreationmethod.h   valacreationmethod.h 
skipping to change at line 56 skipping to change at line 56
* Represents a type creation method. * Represents a type creation method.
*/ */
struct _ValaCreationMethod { struct _ValaCreationMethod {
ValaMethod parent; ValaMethod parent;
ValaCreationMethodPrivate * priv; ValaCreationMethodPrivate * priv;
}; };
struct _ValaCreationMethodClass { struct _ValaCreationMethodClass {
ValaMethodClass parent; ValaMethodClass parent;
}; };
ValaCreationMethod* vala_creation_method_new (const char* name, ValaSourceR ValaCreationMethod* vala_creation_method_new (const char* type_name, const
eference* source_reference); char* name, ValaSourceReference* source_reference);
char* vala_creation_method_get_type_name (ValaCreationMethod* self);
void vala_creation_method_set_type_name (ValaCreationMethod* self, const ch
ar* value);
gint vala_creation_method_get_n_construction_params (ValaCreationMethod* se lf); gint vala_creation_method_get_n_construction_params (ValaCreationMethod* se lf);
void vala_creation_method_set_n_construction_params (ValaCreationMethod* se lf, gint value); void vala_creation_method_set_n_construction_params (ValaCreationMethod* se lf, gint value);
GType vala_creation_method_get_type (void); GType vala_creation_method_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
2 lines changed or deleted 5 lines changed or added


 valaenum.h   valaenum.h 
skipping to change at line 59 skipping to change at line 59
ValaDataType parent; ValaDataType parent;
ValaEnumPrivate * priv; ValaEnumPrivate * priv;
}; };
struct _ValaEnumClass { struct _ValaEnumClass {
ValaDataTypeClass parent; ValaDataTypeClass parent;
}; };
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);
GeeCollection* vala_enum_get_methods (ValaEnum* self); GeeCollection* 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);
gboolean vala_enum_get_is_flags (ValaEnum* self);
void vala_enum_set_is_flags (ValaEnum* self, gboolean value);
gboolean vala_enum_get_error_domain (ValaEnum* self); gboolean vala_enum_get_error_domain (ValaEnum* self);
void vala_enum_set_error_domain (ValaEnum* self, gboolean value); void vala_enum_set_error_domain (ValaEnum* self, gboolean value);
GType vala_enum_get_type (void); GType vala_enum_get_type (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added


 valamethod.h   valamethod.h 
skipping to change at line 59 skipping to change at line 59
*/ */
struct _ValaMethod { struct _ValaMethod {
ValaMember parent; ValaMember parent;
ValaMethodPrivate * priv; ValaMethodPrivate * priv;
}; };
struct _ValaMethodClass { struct _ValaMethodClass {
ValaMemberClass parent; ValaMemberClass parent;
char* (*get_default_cname) (ValaMethod* self); char* (*get_default_cname) (ValaMethod* self);
}; };
static const char* VALA_METHOD_DEFAULT_SENTINEL = "NULL"; #define VALA_METHOD_DEFAULT_SENTINEL "NULL"
ValaMethod* vala_method_new (const char* name, ValaTypeReference* return_ty pe, ValaSourceReference* source_reference); ValaMethod* vala_method_new (const char* name, ValaTypeReference* return_ty pe, ValaSourceReference* source_reference);
void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para m); void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para m);
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_equals (ValaMethod* self, ValaMethod* m2); gboolean vala_method_equals (ValaMethod* self, ValaMethod* m2);
void vala_method_add_error_domain (ValaMethod* self, ValaTypeReference* err or_domain); void vala_method_add_error_domain (ValaMethod* self, ValaTypeReference* err or_domain);
GeeCollection* vala_method_get_error_domains (ValaMethod* self); GeeCollection* vala_method_get_error_domains (ValaMethod* self);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 valareport.h   valareport.h 
/* valareport.vala /* valareport.vala
* *
* Copyright (C) 2006 Jürg Billeter * Copyright (C) 2006-2007 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 34 skipping to change at line 34
#define __VALA_VALAREPORT_H__ #define __VALA_VALAREPORT_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/valasourcereference.h> #include <vala/valasourcereference.h>
G_BEGIN_DECLS G_BEGIN_DECLS
typedef struct _ValaReport ValaReport;
/**
* Static class to centralize reporting warnings and errors.
*/
struct _ValaReport {
};
gint vala_report_get_warnings (void); gint vala_report_get_warnings (void);
gint vala_report_get_errors (void); gint vala_report_get_errors (void);
void vala_report_warning (ValaSourceReference* source, const char* message) ; void vala_report_warning (ValaSourceReference* source, const char* message) ;
void vala_report_error (ValaSourceReference* source, const char* message); void vala_report_error (ValaSourceReference* source, const char* message);
ValaReport* vala_report_new (void);
void vala_report_free (ValaReport* self);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
11 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/