vala.h | vala.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
#include <vala/valadostatement.h> | #include <vala/valadostatement.h> | |||
#include <vala/valaelementaccess.h> | #include <vala/valaelementaccess.h> | |||
#include <vala/valaemptystatement.h> | #include <vala/valaemptystatement.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaenumvalue.h> | #include <vala/valaenumvalue.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valaexpressionstatement.h> | #include <vala/valaexpressionstatement.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valaflags.h> | #include <vala/valaflags.h> | |||
#include <vala/valaflagsvalue.h> | ||||
#include <vala/valaforeachstatement.h> | #include <vala/valaforeachstatement.h> | |||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaforstatement.h> | #include <vala/valaforstatement.h> | |||
#include <vala/valaifstatement.h> | #include <vala/valaifstatement.h> | |||
#include <vala/valainitializerlist.h> | #include <vala/valainitializerlist.h> | |||
#include <vala/valaintegerliteral.h> | #include <vala/valaintegerliteral.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valainvocationexpression.h> | #include <vala/valainvocationexpression.h> | |||
#include <vala/valalambdaexpression.h> | #include <vala/valalambdaexpression.h> | |||
#include <vala/valaliteral.h> | #include <vala/valaliteral.h> | |||
skipping to change at line 63 | skipping to change at line 64 | |||
#include <vala/valaparser.h> | #include <vala/valaparser.h> | |||
#include <vala/valapointerindirection.h> | #include <vala/valapointerindirection.h> | |||
#include <vala/valapostfixexpression.h> | #include <vala/valapostfixexpression.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valarealliteral.h> | #include <vala/valarealliteral.h> | |||
#include <vala/valareferencetransferexpression.h> | #include <vala/valareferencetransferexpression.h> | |||
#include <vala/valareport.h> | #include <vala/valareport.h> | |||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
#include <vala/valasizeofexpression.h> | ||||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valasourcereference.h> | #include <vala/valasourcereference.h> | |||
#include <vala/valastringliteral.h> | #include <vala/valastringliteral.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valaswitchlabel.h> | #include <vala/valaswitchlabel.h> | |||
#include <vala/valaswitchsection.h> | #include <vala/valaswitchsection.h> | |||
#include <vala/valaswitchstatement.h> | #include <vala/valaswitchstatement.h> | |||
#include <vala/valathrowstatement.h> | #include <vala/valathrowstatement.h> | |||
#include <vala/valatrystatement.h> | #include <vala/valatrystatement.h> | |||
#include <vala/valatypecheck.h> | #include <vala/valatypecheck.h> | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
valaaddressofexpression.h | valaaddressofexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAADDRESSOFEXPRESSION_H__ | #ifndef __VALAADDRESSOFEXPRESSION_H__ | |||
#define __VALAADDRESSOFEXPRESSION_H__ | #define __VALAADDRESSOFEXPRESSION_H__ | |||
typedef struct _ValaAddressofExpressionPrivate ValaAddressofExpressionPriva te; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ADDRESSOF_EXPRESSION (vala_addressof_expression_get_type ()) | #define VALA_TYPE_ADDRESSOF_EXPRESSION (vala_addressof_expression_get_type ()) | |||
#define VALA_ADDRESSOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpression)) | #define VALA_ADDRESSOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpression)) | |||
#define VALA_ADDRESSOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpressionClass)) | #define VALA_ADDRESSOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpressionClass)) | |||
#define VALA_IS_ADDRESSOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_ADDRESSOF_EXPRESSION)) | #define VALA_IS_ADDRESSOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_ADDRESSOF_EXPRESSION)) | |||
#define VALA_IS_ADDRESSOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ADDRESSOF_EXPRESSION)) | #define VALA_IS_ADDRESSOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ADDRESSOF_EXPRESSION)) | |||
#define VALA_ADDRESSOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpressionClass)) | #define VALA_ADDRESSOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpressionClass)) | |||
typedef struct _ValaAddressofExpressionPrivate ValaAddressofExpressionPriva | ||||
te; | ||||
/** | /** | |||
* Represents an address-of expression in the source code, e.g. `&foo'. | * Represents an address-of expression in the source code, e.g. `&foo'. | |||
*/ | */ | |||
struct _ValaAddressofExpression { | struct _ValaAddressofExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaAddressofExpressionPrivate * priv; | ValaAddressofExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaAddressofExpressionClass { | struct _ValaAddressofExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valaarray.h | valaarray.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAARRAY_H__ | #ifndef __VALAARRAY_H__ | |||
#define __VALAARRAY_H__ | #define __VALAARRAY_H__ | |||
typedef struct _ValaArrayPrivate ValaArrayPrivate; | ||||
#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/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ARRAY (vala_array_get_type ()) | #define VALA_TYPE_ARRAY (vala_array_get_type ()) | |||
#define VALA_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ARRAY , ValaArray)) | #define VALA_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ARRAY , ValaArray)) | |||
#define VALA_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_ARRAY, ValaArrayClass)) | #define VALA_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_ARRAY, ValaArrayClass)) | |||
#define VALA_IS_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_AR RAY)) | #define VALA_IS_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_AR RAY)) | |||
#define VALA_IS_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_ARRAY)) | #define VALA_IS_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_ARRAY)) | |||
#define VALA_ARRAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_ARRAY, ValaArrayClass)) | #define VALA_ARRAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_ARRAY, ValaArrayClass)) | |||
typedef struct _ValaArrayPrivate ValaArrayPrivate; | ||||
/** | /** | |||
* Represents an array type i.e. everything with direct accessable elements . | * Represents an array type i.e. everything with direct accessable elements . | |||
*/ | */ | |||
struct _ValaArray { | struct _ValaArray { | |||
ValaDataType parent; | ValaDataType parent; | |||
ValaArrayPrivate * priv; | ValaArrayPrivate * priv; | |||
}; | }; | |||
struct _ValaArrayClass { | struct _ValaArrayClass { | |||
ValaDataTypeClass parent; | ValaDataTypeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaarraycreationexpression.h | valaarraycreationexpression.h | |||
---|---|---|---|---|
/* valaarraycreationexpression.vala | /* valaarraycreationexpression.vala | |||
* | * | |||
* Copyright (C) 2006 Raffaele Sandrini | * Copyright (C) 2006-2007 Raffaele Sandrini, 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 of the License, or (at your option) any later version. | * version 2 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. | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
* Jürg Billeter <j@bitron.ch> | ||||
*/ | */ | |||
#ifndef __VALAARRAYCREATIONEXPRESSION_H__ | #ifndef __VALAARRAYCREATIONEXPRESSION_H__ | |||
#define __VALAARRAYCREATIONEXPRESSION_H__ | #define __VALAARRAYCREATIONEXPRESSION_H__ | |||
typedef struct _ValaArrayCreationExpressionPrivate ValaArrayCreationExpress ionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ARRAY_CREATION_EXPRESSION (vala_array_creation_expression _get_type ()) | #define VALA_TYPE_ARRAY_CREATION_EXPRESSION (vala_array_creation_expression _get_type ()) | |||
#define VALA_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o bj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpression)) | #define VALA_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o bj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpression)) | |||
#define VALA_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS T ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpressio nClass)) | #define VALA_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS T ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpressio nClass)) | |||
#define VALA_IS_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | #define VALA_IS_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | |||
#define VALA_IS_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_ TYPE ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | #define VALA_IS_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_ TYPE ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | |||
#define VALA_ARRAY_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpress ionClass)) | #define VALA_ARRAY_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpress ionClass)) | |||
typedef struct _ValaArrayCreationExpressionPrivate ValaArrayCreationExpress | ||||
ionPrivate; | ||||
/** | /** | |||
* Represents an array creation expression e.g. "new int[] {1,2,3}". | * Represents an array creation expression e.g. "new int[] {1,2,3}". | |||
*/ | */ | |||
struct _ValaArrayCreationExpression { | struct _ValaArrayCreationExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaArrayCreationExpressionPrivate * priv; | ValaArrayCreationExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaArrayCreationExpressionClass { | struct _ValaArrayCreationExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaassignment.h | valaassignment.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAASSIGNMENT_H__ | #ifndef __VALAASSIGNMENT_H__ | |||
#define __VALAASSIGNMENT_H__ | #define __VALAASSIGNMENT_H__ | |||
typedef struct _ValaAssignmentPrivate ValaAssignmentPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valaassignment.h> | #include <vala/valaassignment.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ASSIGNMENT (vala_assignment_get_type ()) | #define VALA_TYPE_ASSIGNMENT (vala_assignment_get_type ()) | |||
#define VALA_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ ASSIGNMENT, ValaAssignment)) | #define VALA_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ ASSIGNMENT, ValaAssignment)) | |||
#define VALA_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_ASSIGNMENT, ValaAssignmentClass)) | #define VALA_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_ASSIGNMENT, ValaAssignmentClass)) | |||
#define VALA_IS_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_ASSIGNMENT)) | #define VALA_IS_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_ASSIGNMENT)) | |||
#define VALA_IS_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ASSIGNMENT)) | #define VALA_IS_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ASSIGNMENT)) | |||
#define VALA_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ASSIGNMENT, ValaAssignmentClass)) | #define VALA_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ASSIGNMENT, ValaAssignmentClass)) | |||
typedef struct _ValaAssignmentPrivate ValaAssignmentPrivate; | ||||
/** | /** | |||
* Represents an assignment expression in the source code. | * Represents an assignment expression in the source code. | |||
* | * | |||
* Supports =, |=, &=, ^=, +=, -=, *=, /=, %=, <<=, >>=. | * Supports =, |=, &=, ^=, +=, -=, *=, /=, %=, <<=, >>=. | |||
*/ | */ | |||
struct _ValaAssignment { | struct _ValaAssignment { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaAssignmentPrivate * priv; | ValaAssignmentPrivate * priv; | |||
}; | }; | |||
struct _ValaAssignmentClass { | struct _ValaAssignmentClass { | |||
skipping to change at line 66 | skipping to change at line 65 | |||
VALA_ASSIGNMENT_OPERATOR_SIMPLE, | VALA_ASSIGNMENT_OPERATOR_SIMPLE, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_OR, | VALA_ASSIGNMENT_OPERATOR_BITWISE_OR, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_AND, | VALA_ASSIGNMENT_OPERATOR_BITWISE_AND, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_XOR, | VALA_ASSIGNMENT_OPERATOR_BITWISE_XOR, | |||
VALA_ASSIGNMENT_OPERATOR_ADD, | VALA_ASSIGNMENT_OPERATOR_ADD, | |||
VALA_ASSIGNMENT_OPERATOR_SUB, | VALA_ASSIGNMENT_OPERATOR_SUB, | |||
VALA_ASSIGNMENT_OPERATOR_MUL, | VALA_ASSIGNMENT_OPERATOR_MUL, | |||
VALA_ASSIGNMENT_OPERATOR_DIV, | VALA_ASSIGNMENT_OPERATOR_DIV, | |||
VALA_ASSIGNMENT_OPERATOR_PERCENT, | VALA_ASSIGNMENT_OPERATOR_PERCENT, | |||
VALA_ASSIGNMENT_OPERATOR_SHIFT_LEFT, | VALA_ASSIGNMENT_OPERATOR_SHIFT_LEFT, | |||
VALA_ASSIGNMENT_OPERATOR_SHIFT_RIGHT, | VALA_ASSIGNMENT_OPERATOR_SHIFT_RIGHT | |||
} ValaAssignmentOperator; | } ValaAssignmentOperator; | |||
ValaAssignment* vala_assignment_new (ValaExpression* _left, ValaExpression* _right, ValaAssignmentOperator _op, ValaSourceReference* _source); | ValaAssignment* vala_assignment_new (ValaExpression* _left, ValaExpression* _right, ValaAssignmentOperator _op, ValaSourceReference* _source); | |||
ValaExpression* vala_assignment_get_left (ValaAssignment* self); | ValaExpression* vala_assignment_get_left (ValaAssignment* self); | |||
void vala_assignment_set_left (ValaAssignment* self, ValaExpression* value) ; | void vala_assignment_set_left (ValaAssignment* self, ValaExpression* value) ; | |||
ValaAssignmentOperator vala_assignment_get_operator (ValaAssignment* self); | ValaAssignmentOperator vala_assignment_get_operator (ValaAssignment* self); | |||
void vala_assignment_set_operator (ValaAssignment* self, ValaAssignmentOper ator value); | void vala_assignment_set_operator (ValaAssignment* self, ValaAssignmentOper ator value); | |||
ValaExpression* vala_assignment_get_right (ValaAssignment* self); | ValaExpression* vala_assignment_get_right (ValaAssignment* self); | |||
void vala_assignment_set_right (ValaAssignment* self, ValaExpression* value ); | void vala_assignment_set_right (ValaAssignment* self, ValaExpression* value ); | |||
GType vala_assignment_get_type (); | GType vala_assignment_get_type (); | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valaattribute.h | valaattribute.h | |||
---|---|---|---|---|
/* valaattribute.vala | /* valaattribute.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAATTRIBUTE_H__ | #ifndef __VALAATTRIBUTE_H__ | |||
#define __VALAATTRIBUTE_H__ | #define __VALAATTRIBUTE_H__ | |||
typedef struct _ValaAttributePrivate ValaAttributePrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ATTRIBUTE (vala_attribute_get_type ()) | #define VALA_TYPE_ATTRIBUTE (vala_attribute_get_type ()) | |||
#define VALA_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_A TTRIBUTE, ValaAttribute)) | #define VALA_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_A TTRIBUTE, ValaAttribute)) | |||
#define VALA_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_ATTRIBUTE, ValaAttributeClass)) | #define VALA_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_ATTRIBUTE, ValaAttributeClass)) | |||
#define VALA_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_ATTRIBUTE)) | #define VALA_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_ATTRIBUTE)) | |||
#define VALA_IS_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_ATTRIBUTE)) | #define VALA_IS_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_ATTRIBUTE)) | |||
#define VALA_ATTRIBUTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_ATTRIBUTE, ValaAttributeClass)) | #define VALA_ATTRIBUTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_ATTRIBUTE, ValaAttributeClass)) | |||
typedef struct _ValaAttributePrivate ValaAttributePrivate; | ||||
/** | /** | |||
* Represents an attribute specified in the source code. | * Represents an attribute specified in the source code. | |||
*/ | */ | |||
struct _ValaAttribute { | struct _ValaAttribute { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaAttributePrivate * priv; | ValaAttributePrivate * priv; | |||
GList* args; | GList* args; | |||
}; | }; | |||
struct _ValaAttributeClass { | struct _ValaAttributeClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valaattributeprocessor.h | valaattributeprocessor.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALAATTRIBUTEPROCESSOR_H__ | #ifndef __VALAATTRIBUTEPROCESSOR_H__ | |||
#define __VALAATTRIBUTEPROCESSOR_H__ | #define __VALAATTRIBUTEPROCESSOR_H__ | |||
typedef struct _ValaAttributeProcessor ValaAttributeProcessor; | ||||
typedef struct _ValaAttributeProcessorClass ValaAttributeProcessorClass; | ||||
typedef struct _ValaAttributeProcessorPrivate ValaAttributeProcessorPrivate | ||||
; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | ||||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaflags.h> | #include <vala/valaflags.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valacallback.h> | #include <vala/valacallback.h> | |||
skipping to change at line 53 | skipping to change at line 57 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ATTRIBUTE_PROCESSOR (vala_attribute_processor_get_type () ) | #define VALA_TYPE_ATTRIBUTE_PROCESSOR (vala_attribute_processor_get_type () ) | |||
#define VALA_ATTRIBUTE_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessor)) | #define VALA_ATTRIBUTE_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessor)) | |||
#define VALA_ATTRIBUTE_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessorClass)) | #define VALA_ATTRIBUTE_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessorClass)) | |||
#define VALA_IS_ATTRIBUTE_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_ATTRIBUTE_PROCESSOR)) | #define VALA_IS_ATTRIBUTE_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_ATTRIBUTE_PROCESSOR)) | |||
#define VALA_IS_ATTRIBUTE_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_ATTRIBUTE_PROCESSOR)) | #define VALA_IS_ATTRIBUTE_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_ATTRIBUTE_PROCESSOR)) | |||
#define VALA_ATTRIBUTE_PROCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessorClass)) | #define VALA_ATTRIBUTE_PROCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessorClass)) | |||
typedef struct _ValaAttributeProcessor ValaAttributeProcessor; | ||||
typedef struct _ValaAttributeProcessorClass ValaAttributeProcessorClass; | ||||
typedef struct _ValaAttributeProcessorPrivate ValaAttributeProcessorPrivate | ||||
; | ||||
/** | /** | |||
* Code visitor processing attributes associated with code nodes. | * Code visitor processing attributes associated with code nodes. | |||
*/ | */ | |||
struct _ValaAttributeProcessor { | struct _ValaAttributeProcessor { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent; | |||
ValaAttributeProcessorPrivate * priv; | ValaAttributeProcessorPrivate * priv; | |||
}; | }; | |||
struct _ValaAttributeProcessorClass { | struct _ValaAttributeProcessorClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
valabaseaccess.h | valabaseaccess.h | |||
---|---|---|---|---|
/* valabaseaccess.vala | /* valabaseaccess.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALABASEACCESS_H__ | #ifndef __VALABASEACCESS_H__ | |||
#define __VALABASEACCESS_H__ | #define __VALABASEACCESS_H__ | |||
typedef struct _ValaBaseAccessPrivate ValaBaseAccessPrivate; | ||||
#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/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_BASE_ACCESS (vala_base_access_get_type ()) | #define VALA_TYPE_BASE_ACCESS (vala_base_access_get_type ()) | |||
#define VALA_BASE_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _BASE_ACCESS, ValaBaseAccess)) | #define VALA_BASE_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _BASE_ACCESS, ValaBaseAccess)) | |||
#define VALA_BASE_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_BASE_ACCESS, ValaBaseAccessClass)) | #define VALA_BASE_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_BASE_ACCESS, ValaBaseAccessClass)) | |||
#define VALA_IS_BASE_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_BASE_ACCESS)) | #define VALA_IS_BASE_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_BASE_ACCESS)) | |||
#define VALA_IS_BASE_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_BASE_ACCESS)) | #define VALA_IS_BASE_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_BASE_ACCESS)) | |||
#define VALA_BASE_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_BASE_ACCESS, ValaBaseAccessClass)) | #define VALA_BASE_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_BASE_ACCESS, ValaBaseAccessClass)) | |||
typedef struct _ValaBaseAccessPrivate ValaBaseAccessPrivate; | ||||
/** | /** | |||
* Represents an access to base class members in the source code. | * Represents an access to base class members in the source code. | |||
*/ | */ | |||
struct _ValaBaseAccess { | struct _ValaBaseAccess { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaBaseAccessPrivate * priv; | ValaBaseAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaBaseAccessClass { | struct _ValaBaseAccessClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valabinaryexpression.h | valabinaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALABINARYEXPRESSION_H__ | #ifndef __VALABINARYEXPRESSION_H__ | |||
#define __VALABINARYEXPRESSION_H__ | #define __VALABINARYEXPRESSION_H__ | |||
typedef struct _ValaBinaryExpressionPrivate ValaBinaryExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valabinaryexpression.h> | #include <vala/valabinaryexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_BINARY_EXPRESSION (vala_binary_expression_get_type ()) | #define VALA_TYPE_BINARY_EXPRESSION (vala_binary_expression_get_type ()) | |||
#define VALA_BINARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_BINARY_EXPRESSION, ValaBinaryExpression)) | #define VALA_BINARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_BINARY_EXPRESSION, ValaBinaryExpression)) | |||
#define VALA_BINARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_BINARY_EXPRESSION, ValaBinaryExpressionClass)) | #define VALA_BINARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_BINARY_EXPRESSION, ValaBinaryExpressionClass)) | |||
#define VALA_IS_BINARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BINARY_EXPRESSION)) | #define VALA_IS_BINARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BINARY_EXPRESSION)) | |||
#define VALA_IS_BINARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_BINARY_EXPRESSION)) | #define VALA_IS_BINARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_BINARY_EXPRESSION)) | |||
#define VALA_BINARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_BINARY_EXPRESSION, ValaBinaryExpressionClass)) | #define VALA_BINARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_BINARY_EXPRESSION, ValaBinaryExpressionClass)) | |||
typedef struct _ValaBinaryExpressionPrivate ValaBinaryExpressionPrivate; | ||||
/** | /** | |||
* Represents an expression with two operands in the source code. | * Represents an expression with two operands in the source code. | |||
* | * | |||
* Supports +, -, *, /, %, <<, >>, <, >, <=, >=, ==, !=, &, |, ^, &&, ||. | * Supports +, -, *, /, %, <<, >>, <, >, <=, >=, ==, !=, &, |, ^, &&, ||. | |||
*/ | */ | |||
struct _ValaBinaryExpression { | struct _ValaBinaryExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaBinaryExpressionPrivate * priv; | ValaBinaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaBinaryExpressionClass { | struct _ValaBinaryExpressionClass { | |||
skipping to change at line 73 | 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 | |||
} 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 (); | GType vala_binary_expression_get_type (); | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valablock.h | valablock.h | |||
---|---|---|---|---|
/* valablock.vala | /* valablock.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALABLOCK_H__ | #ifndef __VALABLOCK_H__ | |||
#define __VALABLOCK_H__ | #define __VALABLOCK_H__ | |||
typedef struct _ValaBlockPrivate ValaBlockPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_BLOCK (vala_block_get_type ()) | #define VALA_TYPE_BLOCK (vala_block_get_type ()) | |||
#define VALA_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_BLOCK , ValaBlock)) | #define VALA_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_BLOCK , ValaBlock)) | |||
#define VALA_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_BLOCK, ValaBlockClass)) | #define VALA_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_BLOCK, ValaBlockClass)) | |||
#define VALA_IS_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BL OCK)) | #define VALA_IS_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BL OCK)) | |||
#define VALA_IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_BLOCK)) | #define VALA_IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_BLOCK)) | |||
#define VALA_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_BLOCK, ValaBlockClass)) | #define VALA_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_BLOCK, ValaBlockClass)) | |||
typedef struct _ValaBlockPrivate ValaBlockPrivate; | ||||
/** | /** | |||
* Represents a source code block. | * Represents a source code block. | |||
*/ | */ | |||
struct _ValaBlock { | struct _ValaBlock { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaBlockPrivate * priv; | ValaBlockPrivate * priv; | |||
}; | }; | |||
struct _ValaBlockClass { | struct _ValaBlockClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valabooleanliteral.h | valabooleanliteral.h | |||
---|---|---|---|---|
/* valabooleanliteral.vala | /* valabooleanliteral.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALABOOLEANLITERAL_H__ | #ifndef __VALABOOLEANLITERAL_H__ | |||
#define __VALABOOLEANLITERAL_H__ | #define __VALABOOLEANLITERAL_H__ | |||
typedef struct _ValaBooleanLiteralPrivate ValaBooleanLiteralPrivate; | ||||
#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/valaliteral.h> | #include <vala/valaliteral.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_BOOLEAN_LITERAL (vala_boolean_literal_get_type ()) | #define VALA_TYPE_BOOLEAN_LITERAL (vala_boolean_literal_get_type ()) | |||
#define VALA_BOOLEAN_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_BOOLEAN_LITERAL, ValaBooleanLiteral)) | #define VALA_BOOLEAN_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_BOOLEAN_LITERAL, ValaBooleanLiteral)) | |||
#define VALA_BOOLEAN_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_BOOLEAN_LITERAL, ValaBooleanLiteralClass)) | #define VALA_BOOLEAN_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_BOOLEAN_LITERAL, ValaBooleanLiteralClass)) | |||
#define VALA_IS_BOOLEAN_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_BOOLEAN_LITERAL)) | #define VALA_IS_BOOLEAN_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_BOOLEAN_LITERAL)) | |||
#define VALA_IS_BOOLEAN_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_BOOLEAN_LITERAL)) | #define VALA_IS_BOOLEAN_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_BOOLEAN_LITERAL)) | |||
#define VALA_BOOLEAN_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_BOOLEAN_LITERAL, ValaBooleanLiteralClass)) | #define VALA_BOOLEAN_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_BOOLEAN_LITERAL, ValaBooleanLiteralClass)) | |||
typedef struct _ValaBooleanLiteralPrivate ValaBooleanLiteralPrivate; | ||||
/** | /** | |||
* Represents a literal boolean, i.e. true or false. | * Represents a literal boolean, i.e. true or false. | |||
*/ | */ | |||
struct _ValaBooleanLiteral { | struct _ValaBooleanLiteral { | |||
ValaLiteral parent; | ValaLiteral parent; | |||
ValaBooleanLiteralPrivate * priv; | ValaBooleanLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaBooleanLiteralClass { | struct _ValaBooleanLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valabreakstatement.h | valabreakstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALABREAKSTATEMENT_H__ | #ifndef __VALABREAKSTATEMENT_H__ | |||
#define __VALABREAKSTATEMENT_H__ | #define __VALABREAKSTATEMENT_H__ | |||
typedef struct _ValaBreakStatementPrivate ValaBreakStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_BREAK_STATEMENT (vala_break_statement_get_type ()) | #define VALA_TYPE_BREAK_STATEMENT (vala_break_statement_get_type ()) | |||
#define VALA_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_BREAK_STATEMENT, ValaBreakStatement)) | #define VALA_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_BREAK_STATEMENT, ValaBreakStatement)) | |||
#define VALA_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | #define VALA_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | |||
#define VALA_IS_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_BREAK_STATEMENT)) | #define VALA_IS_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_BREAK_STATEMENT)) | |||
#define VALA_IS_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_BREAK_STATEMENT)) | #define VALA_IS_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_BREAK_STATEMENT)) | |||
#define VALA_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | #define VALA_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | |||
typedef struct _ValaBreakStatementPrivate ValaBreakStatementPrivate; | ||||
/** | /** | |||
* Represents a break statement in the source code. | * Represents a break statement in the source code. | |||
*/ | */ | |||
struct _ValaBreakStatement { | struct _ValaBreakStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaBreakStatementPrivate * priv; | ValaBreakStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaBreakStatementClass { | struct _ValaBreakStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valacallback.h | valacallback.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACALLBACK_H__ | #ifndef __VALACALLBACK_H__ | |||
#define __VALACALLBACK_H__ | #define __VALACALLBACK_H__ | |||
typedef struct _ValaCallbackPrivate ValaCallbackPrivate; | ||||
#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/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CALLBACK (vala_callback_get_type ()) | #define VALA_TYPE_CALLBACK (vala_callback_get_type ()) | |||
#define VALA_CALLBACK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CA LLBACK, ValaCallback)) | #define VALA_CALLBACK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CA LLBACK, ValaCallback)) | |||
#define VALA_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_ TYPE_CALLBACK, ValaCallbackClass)) | #define VALA_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_ TYPE_CALLBACK, ValaCallbackClass)) | |||
#define VALA_IS_CALLBACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _CALLBACK)) | #define VALA_IS_CALLBACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _CALLBACK)) | |||
#define VALA_IS_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_CALLBACK)) | #define VALA_IS_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_CALLBACK)) | |||
#define VALA_CALLBACK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_CALLBACK, ValaCallbackClass)) | #define VALA_CALLBACK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_CALLBACK, ValaCallbackClass)) | |||
typedef struct _ValaCallbackPrivate ValaCallbackPrivate; | ||||
/** | /** | |||
* Represents a function callback type. | * Represents a function callback type. | |||
*/ | */ | |||
struct _ValaCallback { | struct _ValaCallback { | |||
ValaDataType parent; | ValaDataType parent; | |||
ValaCallbackPrivate * priv; | ValaCallbackPrivate * priv; | |||
}; | }; | |||
struct _ValaCallbackClass { | struct _ValaCallbackClass { | |||
ValaDataTypeClass parent; | ValaDataTypeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valacastexpression.h | valacastexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACASTEXPRESSION_H__ | #ifndef __VALACASTEXPRESSION_H__ | |||
#define __VALACASTEXPRESSION_H__ | #define __VALACASTEXPRESSION_H__ | |||
typedef struct _ValaCastExpressionPrivate ValaCastExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CAST_EXPRESSION (vala_cast_expression_get_type ()) | #define VALA_TYPE_CAST_EXPRESSION (vala_cast_expression_get_type ()) | |||
#define VALA_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CAST_EXPRESSION, ValaCastExpression)) | #define VALA_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CAST_EXPRESSION, ValaCastExpression)) | |||
#define VALA_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CAST_EXPRESSION, ValaCastExpressionClass)) | #define VALA_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CAST_EXPRESSION, ValaCastExpressionClass)) | |||
#define VALA_IS_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CAST_EXPRESSION)) | #define VALA_IS_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CAST_EXPRESSION)) | |||
#define VALA_IS_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CAST_EXPRESSION)) | #define VALA_IS_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CAST_EXPRESSION)) | |||
#define VALA_CAST_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CAST_EXPRESSION, ValaCastExpressionClass)) | #define VALA_CAST_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CAST_EXPRESSION, ValaCastExpressionClass)) | |||
typedef struct _ValaCastExpressionPrivate ValaCastExpressionPrivate; | ||||
/** | /** | |||
* Represents a type cast in the source code. | * Represents a type cast in the source code. | |||
*/ | */ | |||
struct _ValaCastExpression { | struct _ValaCastExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaCastExpressionPrivate * priv; | ValaCastExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCastExpressionClass { | struct _ValaCastExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valacatchclause.h | valacatchclause.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACATCHCLAUSE_H__ | #ifndef __VALACATCHCLAUSE_H__ | |||
#define __VALACATCHCLAUSE_H__ | #define __VALACATCHCLAUSE_H__ | |||
typedef struct _ValaCatchClausePrivate ValaCatchClausePrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CATCH_CLAUSE (vala_catch_clause_get_type ()) | #define VALA_TYPE_CATCH_CLAUSE (vala_catch_clause_get_type ()) | |||
#define VALA_CATCH_CLAUSE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CATCH_CLAUSE, ValaCatchClause)) | #define VALA_CATCH_CLAUSE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CATCH_CLAUSE, ValaCatchClause)) | |||
#define VALA_CATCH_CLAUSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CATCH_CLAUSE, ValaCatchClauseClass)) | #define VALA_CATCH_CLAUSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CATCH_CLAUSE, ValaCatchClauseClass)) | |||
#define VALA_IS_CATCH_CLAUSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CATCH_CLAUSE)) | #define VALA_IS_CATCH_CLAUSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CATCH_CLAUSE)) | |||
#define VALA_IS_CATCH_CLAUSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CATCH_CLAUSE)) | #define VALA_IS_CATCH_CLAUSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CATCH_CLAUSE)) | |||
#define VALA_CATCH_CLAUSE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CATCH_CLAUSE, ValaCatchClauseClass)) | #define VALA_CATCH_CLAUSE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CATCH_CLAUSE, ValaCatchClauseClass)) | |||
typedef struct _ValaCatchClausePrivate ValaCatchClausePrivate; | ||||
/** | /** | |||
* Represents a catch clause in a try statement in the source code. | * Represents a catch clause in a try statement in the source code. | |||
*/ | */ | |||
struct _ValaCatchClause { | struct _ValaCatchClause { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaCatchClausePrivate * priv; | ValaCatchClausePrivate * priv; | |||
}; | }; | |||
struct _ValaCatchClauseClass { | struct _ValaCatchClauseClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaccodeassignment.h | valaccodeassignment.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEASSIGNMENT_H__ | #ifndef __VALACCODEASSIGNMENT_H__ | |||
#define __VALACCODEASSIGNMENT_H__ | #define __VALACCODEASSIGNMENT_H__ | |||
typedef struct _ValaCCodeAssignment ValaCCodeAssignment; | ||||
typedef struct _ValaCCodeAssignmentClass ValaCCodeAssignmentClass; | ||||
typedef struct _ValaCCodeAssignmentPrivate ValaCCodeAssignmentPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodeassignment.h> | #include <ccode/valaccodeassignment.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_ASSIGNMENT (vala_ccode_assignment_get_type ()) | #define VALA_TYPE_CCODE_ASSIGNMENT (vala_ccode_assignment_get_type ()) | |||
#define VALA_CCODE_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_CCODE_ASSIGNMENT, ValaCCodeAssignment)) | #define VALA_CCODE_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_CCODE_ASSIGNMENT, ValaCCodeAssignment)) | |||
#define VALA_CCODE_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_CCODE_ASSIGNMENT, ValaCCodeAssignmentClass)) | #define VALA_CCODE_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_CCODE_ASSIGNMENT, ValaCCodeAssignmentClass)) | |||
#define VALA_IS_CCODE_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_CCODE_ASSIGNMENT)) | #define VALA_IS_CCODE_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_CCODE_ASSIGNMENT)) | |||
#define VALA_IS_CCODE_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_CCODE_ASSIGNMENT)) | #define VALA_IS_CCODE_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_CCODE_ASSIGNMENT)) | |||
#define VALA_CCODE_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_ASSIGNMENT, ValaCCodeAssignmentClass)) | #define VALA_CCODE_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_ASSIGNMENT, ValaCCodeAssignmentClass)) | |||
typedef struct _ValaCCodeAssignment ValaCCodeAssignment; | ||||
typedef struct _ValaCCodeAssignmentClass ValaCCodeAssignmentClass; | ||||
typedef struct _ValaCCodeAssignmentPrivate ValaCCodeAssignmentPrivate; | ||||
/** | /** | |||
* Represents an assignment expression in the C code. | * Represents an assignment expression in the C code. | |||
*/ | */ | |||
struct _ValaCCodeAssignment { | struct _ValaCCodeAssignment { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeAssignmentPrivate * priv; | ValaCCodeAssignmentPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeAssignmentClass { | struct _ValaCCodeAssignmentClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
skipping to change at line 66 | skipping to change at line 65 | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE, | VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_OR, | VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_OR, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_AND, | VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_AND, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_XOR, | VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_XOR, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_ADD, | VALA_CCODE_ASSIGNMENT_OPERATOR_ADD, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_SUB, | VALA_CCODE_ASSIGNMENT_OPERATOR_SUB, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_MUL, | VALA_CCODE_ASSIGNMENT_OPERATOR_MUL, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_DIV, | VALA_CCODE_ASSIGNMENT_OPERATOR_DIV, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_PERCENT, | VALA_CCODE_ASSIGNMENT_OPERATOR_PERCENT, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_SHIFT_LEFT, | VALA_CCODE_ASSIGNMENT_OPERATOR_SHIFT_LEFT, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_SHIFT_RIGHT, | VALA_CCODE_ASSIGNMENT_OPERATOR_SHIFT_RIGHT | |||
} ValaCCodeAssignmentOperator; | } ValaCCodeAssignmentOperator; | |||
ValaCCodeAssignment* vala_ccode_assignment_new (ValaCCodeExpression* l, Val aCCodeExpression* r, ValaCCodeAssignmentOperator op); | ValaCCodeAssignment* vala_ccode_assignment_new (ValaCCodeExpression* l, Val aCCodeExpression* r, ValaCCodeAssignmentOperator op); | |||
ValaCCodeExpression* vala_ccode_assignment_get_left (ValaCCodeAssignment* s elf); | ValaCCodeExpression* vala_ccode_assignment_get_left (ValaCCodeAssignment* s elf); | |||
void vala_ccode_assignment_set_left (ValaCCodeAssignment* self, ValaCCodeEx pression* value); | void vala_ccode_assignment_set_left (ValaCCodeAssignment* self, ValaCCodeEx pression* value); | |||
ValaCCodeAssignmentOperator vala_ccode_assignment_get_operator (ValaCCodeAs signment* self); | ValaCCodeAssignmentOperator vala_ccode_assignment_get_operator (ValaCCodeAs signment* self); | |||
void vala_ccode_assignment_set_operator (ValaCCodeAssignment* self, ValaCCo deAssignmentOperator value); | void vala_ccode_assignment_set_operator (ValaCCodeAssignment* self, ValaCCo deAssignmentOperator value); | |||
ValaCCodeExpression* vala_ccode_assignment_get_right (ValaCCodeAssignment* self); | ValaCCodeExpression* vala_ccode_assignment_get_right (ValaCCodeAssignment* self); | |||
void vala_ccode_assignment_set_right (ValaCCodeAssignment* self, ValaCCodeE xpression* value); | void vala_ccode_assignment_set_right (ValaCCodeAssignment* self, ValaCCodeE xpression* value); | |||
GType vala_ccode_assignment_get_type (); | GType vala_ccode_assignment_get_type (); | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodebinaryexpression.h | valaccodebinaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEBINARYEXPRESSION_H__ | #ifndef __VALACCODEBINARYEXPRESSION_H__ | |||
#define __VALACCODEBINARYEXPRESSION_H__ | #define __VALACCODEBINARYEXPRESSION_H__ | |||
typedef struct _ValaCCodeBinaryExpression ValaCCodeBinaryExpression; | ||||
typedef struct _ValaCCodeBinaryExpressionClass ValaCCodeBinaryExpressionCla | ||||
ss; | ||||
typedef struct _ValaCCodeBinaryExpressionPrivate ValaCCodeBinaryExpressionP | ||||
rivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodebinaryexpression.h> | #include <ccode/valaccodebinaryexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_BINARY_EXPRESSION (vala_ccode_binary_expression_get _type ()) | #define VALA_TYPE_CCODE_BINARY_EXPRESSION (vala_ccode_binary_expression_get _type ()) | |||
#define VALA_CCODE_BINARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CCODE_BINARY_EXPRESSION, ValaCCodeBinaryExpression)) | #define VALA_CCODE_BINARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CCODE_BINARY_EXPRESSION, ValaCCodeBinaryExpression)) | |||
#define VALA_CCODE_BINARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_BINARY_EXPRESSION, ValaCCodeBinaryExpressionClass )) | #define VALA_CCODE_BINARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_BINARY_EXPRESSION, ValaCCodeBinaryExpressionClass )) | |||
#define VALA_IS_CCODE_BINARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE (( obj), VALA_TYPE_CCODE_BINARY_EXPRESSION)) | #define VALA_IS_CCODE_BINARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE (( obj), VALA_TYPE_CCODE_BINARY_EXPRESSION)) | |||
#define VALA_IS_CCODE_BINARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TY PE ((klass), VALA_TYPE_CCODE_BINARY_EXPRESSION)) | #define VALA_IS_CCODE_BINARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TY PE ((klass), VALA_TYPE_CCODE_BINARY_EXPRESSION)) | |||
#define VALA_CCODE_BINARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_BINARY_EXPRESSION, ValaCCodeBinaryExpressionCla ss)) | #define VALA_CCODE_BINARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_BINARY_EXPRESSION, ValaCCodeBinaryExpressionCla ss)) | |||
typedef struct _ValaCCodeBinaryExpression ValaCCodeBinaryExpression; | ||||
typedef struct _ValaCCodeBinaryExpressionClass ValaCCodeBinaryExpressionCla | ||||
ss; | ||||
typedef struct _ValaCCodeBinaryExpressionPrivate ValaCCodeBinaryExpressionP | ||||
rivate; | ||||
/** | /** | |||
* Represents an expression with two operands in C code. | * Represents an expression with two operands in C code. | |||
*/ | */ | |||
struct _ValaCCodeBinaryExpression { | struct _ValaCCodeBinaryExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeBinaryExpressionPrivate * priv; | ValaCCodeBinaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeBinaryExpressionClass { | struct _ValaCCodeBinaryExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
skipping to change at line 73 | skipping to change at line 72 | |||
VALA_CCODE_BINARY_OPERATOR_LESS_THAN, | VALA_CCODE_BINARY_OPERATOR_LESS_THAN, | |||
VALA_CCODE_BINARY_OPERATOR_GREATER_THAN, | VALA_CCODE_BINARY_OPERATOR_GREATER_THAN, | |||
VALA_CCODE_BINARY_OPERATOR_LESS_THAN_OR_EQUAL, | VALA_CCODE_BINARY_OPERATOR_LESS_THAN_OR_EQUAL, | |||
VALA_CCODE_BINARY_OPERATOR_GREATER_THAN_OR_EQUAL, | VALA_CCODE_BINARY_OPERATOR_GREATER_THAN_OR_EQUAL, | |||
VALA_CCODE_BINARY_OPERATOR_EQUALITY, | VALA_CCODE_BINARY_OPERATOR_EQUALITY, | |||
VALA_CCODE_BINARY_OPERATOR_INEQUALITY, | VALA_CCODE_BINARY_OPERATOR_INEQUALITY, | |||
VALA_CCODE_BINARY_OPERATOR_BITWISE_AND, | VALA_CCODE_BINARY_OPERATOR_BITWISE_AND, | |||
VALA_CCODE_BINARY_OPERATOR_BITWISE_OR, | VALA_CCODE_BINARY_OPERATOR_BITWISE_OR, | |||
VALA_CCODE_BINARY_OPERATOR_BITWISE_XOR, | VALA_CCODE_BINARY_OPERATOR_BITWISE_XOR, | |||
VALA_CCODE_BINARY_OPERATOR_AND, | VALA_CCODE_BINARY_OPERATOR_AND, | |||
VALA_CCODE_BINARY_OPERATOR_OR, | VALA_CCODE_BINARY_OPERATOR_OR | |||
} ValaCCodeBinaryOperator; | } ValaCCodeBinaryOperator; | |||
ValaCCodeBinaryExpression* vala_ccode_binary_expression_new (ValaCCodeBinar yOperator op, ValaCCodeExpression* l, ValaCCodeExpression* r); | ValaCCodeBinaryExpression* vala_ccode_binary_expression_new (ValaCCodeBinar yOperator op, ValaCCodeExpression* l, ValaCCodeExpression* r); | |||
ValaCCodeBinaryOperator vala_ccode_binary_expression_get_operator (ValaCCod eBinaryExpression* self); | ValaCCodeBinaryOperator vala_ccode_binary_expression_get_operator (ValaCCod eBinaryExpression* self); | |||
void vala_ccode_binary_expression_set_operator (ValaCCodeBinaryExpression* self, ValaCCodeBinaryOperator value); | void vala_ccode_binary_expression_set_operator (ValaCCodeBinaryExpression* self, ValaCCodeBinaryOperator value); | |||
ValaCCodeExpression* vala_ccode_binary_expression_get_left (ValaCCodeBinary Expression* self); | ValaCCodeExpression* vala_ccode_binary_expression_get_left (ValaCCodeBinary Expression* self); | |||
void vala_ccode_binary_expression_set_left (ValaCCodeBinaryExpression* self , ValaCCodeExpression* value); | void vala_ccode_binary_expression_set_left (ValaCCodeBinaryExpression* self , ValaCCodeExpression* value); | |||
ValaCCodeExpression* vala_ccode_binary_expression_get_right (ValaCCodeBinar yExpression* self); | ValaCCodeExpression* vala_ccode_binary_expression_get_right (ValaCCodeBinar yExpression* self); | |||
void vala_ccode_binary_expression_set_right (ValaCCodeBinaryExpression* sel f, ValaCCodeExpression* value); | void vala_ccode_binary_expression_set_right (ValaCCodeBinaryExpression* sel f, ValaCCodeExpression* value); | |||
GType vala_ccode_binary_expression_get_type (); | GType vala_ccode_binary_expression_get_type (); | |||
End of changes. 3 change blocks. | ||||
7 lines changed or deleted | 6 lines changed or added | |||
valaccodeblock.h | valaccodeblock.h | |||
---|---|---|---|---|
/* valaccodeblock.vala | /* valaccodeblock.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEBLOCK_H__ | #ifndef __VALACCODEBLOCK_H__ | |||
#define __VALACCODEBLOCK_H__ | #define __VALACCODEBLOCK_H__ | |||
typedef struct _ValaCCodeBlock ValaCCodeBlock; | ||||
typedef struct _ValaCCodeBlockClass ValaCCodeBlockClass; | ||||
typedef struct _ValaCCodeBlockPrivate ValaCCodeBlockPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodenode.h> | #include <ccode/valaccodenode.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_BLOCK (vala_ccode_block_get_type ()) | #define VALA_TYPE_CCODE_BLOCK (vala_ccode_block_get_type ()) | |||
#define VALA_CCODE_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _CCODE_BLOCK, ValaCCodeBlock)) | #define VALA_CCODE_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _CCODE_BLOCK, ValaCCodeBlock)) | |||
#define VALA_CCODE_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_CCODE_BLOCK, ValaCCodeBlockClass)) | #define VALA_CCODE_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_CCODE_BLOCK, ValaCCodeBlockClass)) | |||
#define VALA_IS_CCODE_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_CCODE_BLOCK)) | #define VALA_IS_CCODE_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_CCODE_BLOCK)) | |||
#define VALA_IS_CCODE_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_BLOCK)) | #define VALA_IS_CCODE_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_BLOCK)) | |||
#define VALA_CCODE_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_BLOCK, ValaCCodeBlockClass)) | #define VALA_CCODE_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_BLOCK, ValaCCodeBlockClass)) | |||
typedef struct _ValaCCodeBlock ValaCCodeBlock; | ||||
typedef struct _ValaCCodeBlockClass ValaCCodeBlockClass; | ||||
typedef struct _ValaCCodeBlockPrivate ValaCCodeBlockPrivate; | ||||
/** | /** | |||
* Represents a C code block. | * Represents a C code block. | |||
*/ | */ | |||
struct _ValaCCodeBlock { | struct _ValaCCodeBlock { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeBlockPrivate * priv; | ValaCCodeBlockPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeBlockClass { | struct _ValaCCodeBlockClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodebreakstatement.h | valaccodebreakstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEBREAKSTATEMENT_H__ | #ifndef __VALACCODEBREAKSTATEMENT_H__ | |||
#define __VALACCODEBREAKSTATEMENT_H__ | #define __VALACCODEBREAKSTATEMENT_H__ | |||
typedef struct _ValaCCodeBreakStatement ValaCCodeBreakStatement; | ||||
typedef struct _ValaCCodeBreakStatementClass ValaCCodeBreakStatementClass; | ||||
typedef struct _ValaCCodeBreakStatementPrivate ValaCCodeBreakStatementPriva | ||||
te; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_BREAK_STATEMENT (vala_ccode_break_statement_get_typ e ()) | #define VALA_TYPE_CCODE_BREAK_STATEMENT (vala_ccode_break_statement_get_typ e ()) | |||
#define VALA_CCODE_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_BREAK_STATEMENT, ValaCCodeBreakStatement)) | #define VALA_CCODE_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_BREAK_STATEMENT, ValaCCodeBreakStatement)) | |||
#define VALA_CCODE_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_BREAK_STATEMENT, ValaCCodeBreakStatementClass)) | #define VALA_CCODE_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_BREAK_STATEMENT, ValaCCodeBreakStatementClass)) | |||
#define VALA_IS_CCODE_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_BREAK_STATEMENT)) | #define VALA_IS_CCODE_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_BREAK_STATEMENT)) | |||
#define VALA_IS_CCODE_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_BREAK_STATEMENT)) | #define VALA_IS_CCODE_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_BREAK_STATEMENT)) | |||
#define VALA_CCODE_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_BREAK_STATEMENT, ValaCCodeBreakStatementClass)) | #define VALA_CCODE_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_BREAK_STATEMENT, ValaCCodeBreakStatementClass)) | |||
typedef struct _ValaCCodeBreakStatement ValaCCodeBreakStatement; | ||||
typedef struct _ValaCCodeBreakStatementClass ValaCCodeBreakStatementClass; | ||||
typedef struct _ValaCCodeBreakStatementPrivate ValaCCodeBreakStatementPriva | ||||
te; | ||||
/** | /** | |||
* Represents a break statement in the C code. | * Represents a break statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeBreakStatement { | struct _ValaCCodeBreakStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeBreakStatementPrivate * priv; | ValaCCodeBreakStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeBreakStatementClass { | struct _ValaCCodeBreakStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodecasestatement.h | valaccodecasestatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODECASESTATEMENT_H__ | #ifndef __VALACCODECASESTATEMENT_H__ | |||
#define __VALACCODECASESTATEMENT_H__ | #define __VALACCODECASESTATEMENT_H__ | |||
typedef struct _ValaCCodeCaseStatement ValaCCodeCaseStatement; | ||||
typedef struct _ValaCCodeCaseStatementClass ValaCCodeCaseStatementClass; | ||||
typedef struct _ValaCCodeCaseStatementPrivate ValaCCodeCaseStatementPrivate | ||||
; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_CASE_STATEMENT (vala_ccode_case_statement_get_type ()) | #define VALA_TYPE_CCODE_CASE_STATEMENT (vala_ccode_case_statement_get_type ()) | |||
#define VALA_CCODE_CASE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_CASE_STATEMENT, ValaCCodeCaseStatement)) | #define VALA_CCODE_CASE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_CASE_STATEMENT, ValaCCodeCaseStatement)) | |||
#define VALA_CCODE_CASE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_CCODE_CASE_STATEMENT, ValaCCodeCaseStatementClass)) | #define VALA_CCODE_CASE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_CCODE_CASE_STATEMENT, ValaCCodeCaseStatementClass)) | |||
#define VALA_IS_CCODE_CASE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_CASE_STATEMENT)) | #define VALA_IS_CCODE_CASE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_CASE_STATEMENT)) | |||
#define VALA_IS_CCODE_CASE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_CASE_STATEMENT)) | #define VALA_IS_CCODE_CASE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_CASE_STATEMENT)) | |||
#define VALA_CCODE_CASE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_CASE_STATEMENT, ValaCCodeCaseStatementClass)) | #define VALA_CCODE_CASE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_CASE_STATEMENT, ValaCCodeCaseStatementClass)) | |||
typedef struct _ValaCCodeCaseStatement ValaCCodeCaseStatement; | ||||
typedef struct _ValaCCodeCaseStatementClass ValaCCodeCaseStatementClass; | ||||
typedef struct _ValaCCodeCaseStatementPrivate ValaCCodeCaseStatementPrivate | ||||
; | ||||
/** | /** | |||
* Represents a case block in a switch statement in C code. | * Represents a case block in a switch statement in C code. | |||
*/ | */ | |||
struct _ValaCCodeCaseStatement { | struct _ValaCCodeCaseStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeCaseStatementPrivate * priv; | ValaCCodeCaseStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCaseStatementClass { | struct _ValaCCodeCaseStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodecastexpression.h | valaccodecastexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODECASTEXPRESSION_H__ | #ifndef __VALACCODECASTEXPRESSION_H__ | |||
#define __VALACCODECASTEXPRESSION_H__ | #define __VALACCODECASTEXPRESSION_H__ | |||
typedef struct _ValaCCodeCastExpression ValaCCodeCastExpression; | ||||
typedef struct _ValaCCodeCastExpressionClass ValaCCodeCastExpressionClass; | ||||
typedef struct _ValaCCodeCastExpressionPrivate ValaCCodeCastExpressionPriva | ||||
te; | ||||
#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/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_CAST_EXPRESSION (vala_ccode_cast_expression_get_typ e ()) | #define VALA_TYPE_CCODE_CAST_EXPRESSION (vala_ccode_cast_expression_get_typ e ()) | |||
#define VALA_CCODE_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_CAST_EXPRESSION, ValaCCodeCastExpression)) | #define VALA_CCODE_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_CAST_EXPRESSION, ValaCCodeCastExpression)) | |||
#define VALA_CCODE_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_CAST_EXPRESSION, ValaCCodeCastExpressionClass)) | #define VALA_CCODE_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_CAST_EXPRESSION, ValaCCodeCastExpressionClass)) | |||
#define VALA_IS_CCODE_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_CAST_EXPRESSION)) | #define VALA_IS_CCODE_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_CAST_EXPRESSION)) | |||
#define VALA_IS_CCODE_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_CAST_EXPRESSION)) | #define VALA_IS_CCODE_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_CAST_EXPRESSION)) | |||
#define VALA_CCODE_CAST_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_CAST_EXPRESSION, ValaCCodeCastExpressionClass)) | #define VALA_CCODE_CAST_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_CAST_EXPRESSION, ValaCCodeCastExpressionClass)) | |||
typedef struct _ValaCCodeCastExpression ValaCCodeCastExpression; | ||||
typedef struct _ValaCCodeCastExpressionClass ValaCCodeCastExpressionClass; | ||||
typedef struct _ValaCCodeCastExpressionPrivate ValaCCodeCastExpressionPriva | ||||
te; | ||||
/** | /** | |||
* Represents a type cast in the generated C code. | * Represents a type cast in the generated C code. | |||
*/ | */ | |||
struct _ValaCCodeCastExpression { | struct _ValaCCodeCastExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeCastExpressionPrivate * priv; | ValaCCodeCastExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCastExpressionClass { | struct _ValaCCodeCastExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodecommaexpression.h | valaccodecommaexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODECOMMAEXPRESSION_H__ | #ifndef __VALACCODECOMMAEXPRESSION_H__ | |||
#define __VALACCODECOMMAEXPRESSION_H__ | #define __VALACCODECOMMAEXPRESSION_H__ | |||
typedef struct _ValaCCodeCommaExpression ValaCCodeCommaExpression; | ||||
typedef struct _ValaCCodeCommaExpressionClass ValaCCodeCommaExpressionClass | ||||
; | ||||
typedef struct _ValaCCodeCommaExpressionPrivate ValaCCodeCommaExpressionPri | ||||
vate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_COMMA_EXPRESSION (vala_ccode_comma_expression_get_t ype ()) | #define VALA_TYPE_CCODE_COMMA_EXPRESSION (vala_ccode_comma_expression_get_t ype ()) | |||
#define VALA_CCODE_COMMA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpression)) | #define VALA_CCODE_COMMA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpression)) | |||
#define VALA_CCODE_COMMA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpressionClass)) | #define VALA_CCODE_COMMA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpressionClass)) | |||
#define VALA_IS_CCODE_COMMA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_COMMA_EXPRESSION)) | #define VALA_IS_CCODE_COMMA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_COMMA_EXPRESSION)) | |||
#define VALA_IS_CCODE_COMMA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_COMMA_EXPRESSION)) | #define VALA_IS_CCODE_COMMA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_COMMA_EXPRESSION)) | |||
#define VALA_CCODE_COMMA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpressionClass) ) | #define VALA_CCODE_COMMA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpressionClass) ) | |||
typedef struct _ValaCCodeCommaExpression ValaCCodeCommaExpression; | ||||
typedef struct _ValaCCodeCommaExpressionClass ValaCCodeCommaExpressionClass | ||||
; | ||||
typedef struct _ValaCCodeCommaExpressionPrivate ValaCCodeCommaExpressionPri | ||||
vate; | ||||
/** | /** | |||
* Represents a comma separated expression list in the C code. | * Represents a comma separated expression list in the C code. | |||
*/ | */ | |||
struct _ValaCCodeCommaExpression { | struct _ValaCCodeCommaExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeCommaExpressionPrivate * priv; | ValaCCodeCommaExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCommaExpressionClass { | struct _ValaCCodeCommaExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodecomment.h | valaccodecomment.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODECOMMENT_H__ | #ifndef __VALACCODECOMMENT_H__ | |||
#define __VALACCODECOMMENT_H__ | #define __VALACCODECOMMENT_H__ | |||
typedef struct _ValaCCodeComment ValaCCodeComment; | ||||
typedef struct _ValaCCodeCommentClass ValaCCodeCommentClass; | ||||
typedef struct _ValaCCodeCommentPrivate ValaCCodeCommentPrivate; | ||||
#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/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_COMMENT (vala_ccode_comment_get_type ()) | #define VALA_TYPE_CCODE_COMMENT (vala_ccode_comment_get_type ()) | |||
#define VALA_CCODE_COMMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_CCODE_COMMENT, ValaCCodeComment)) | #define VALA_CCODE_COMMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_CCODE_COMMENT, ValaCCodeComment)) | |||
#define VALA_CCODE_COMMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_COMMENT, ValaCCodeCommentClass)) | #define VALA_CCODE_COMMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_COMMENT, ValaCCodeCommentClass)) | |||
#define VALA_IS_CCODE_COMMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_CCODE_COMMENT)) | #define VALA_IS_CCODE_COMMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_CCODE_COMMENT)) | |||
#define VALA_IS_CCODE_COMMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_CCODE_COMMENT)) | #define VALA_IS_CCODE_COMMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_CCODE_COMMENT)) | |||
#define VALA_CCODE_COMMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_COMMENT, ValaCCodeCommentClass)) | #define VALA_CCODE_COMMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_COMMENT, ValaCCodeCommentClass)) | |||
typedef struct _ValaCCodeComment ValaCCodeComment; | ||||
typedef struct _ValaCCodeCommentClass ValaCCodeCommentClass; | ||||
typedef struct _ValaCCodeCommentPrivate ValaCCodeCommentPrivate; | ||||
/** | /** | |||
* Represents a comment in the C code. | * Represents a comment in the C code. | |||
*/ | */ | |||
struct _ValaCCodeComment { | struct _ValaCCodeComment { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeCommentPrivate * priv; | ValaCCodeCommentPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCommentClass { | struct _ValaCCodeCommentClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodeconditionalexpression.h | valaccodeconditionalexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODECONDITIONALEXPRESSION_H__ | #ifndef __VALACCODECONDITIONALEXPRESSION_H__ | |||
#define __VALACCODECONDITIONALEXPRESSION_H__ | #define __VALACCODECONDITIONALEXPRESSION_H__ | |||
typedef struct _ValaCCodeConditionalExpression ValaCCodeConditionalExpressi | ||||
on; | ||||
typedef struct _ValaCCodeConditionalExpressionClass ValaCCodeConditionalExp | ||||
ressionClass; | ||||
typedef struct _ValaCCodeConditionalExpressionPrivate ValaCCodeConditionalE | ||||
xpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION (vala_ccode_conditional_expr ession_get_type ()) | #define VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION (vala_ccode_conditional_expr ession_get_type ()) | |||
#define VALA_CCODE_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION, ValaCCodeConditionalExpress ion)) | #define VALA_CCODE_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION, ValaCCodeConditionalExpress ion)) | |||
#define VALA_CCODE_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_ CAST ((klass), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION, ValaCCodeConditional ExpressionClass)) | #define VALA_CCODE_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_ CAST ((klass), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION, ValaCCodeConditional ExpressionClass)) | |||
#define VALA_IS_CCODE_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TY PE ((obj), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION)) | #define VALA_IS_CCODE_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TY PE ((obj), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION)) | |||
#define VALA_IS_CCODE_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLA SS_TYPE ((klass), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION)) | #define VALA_IS_CCODE_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLA SS_TYPE ((klass), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION)) | |||
#define VALA_CCODE_CONDITIONAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_G ET_CLASS ((obj), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION, ValaCCodeCondition alExpressionClass)) | #define VALA_CCODE_CONDITIONAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_G ET_CLASS ((obj), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION, ValaCCodeCondition alExpressionClass)) | |||
typedef struct _ValaCCodeConditionalExpression ValaCCodeConditionalExpressi | ||||
on; | ||||
typedef struct _ValaCCodeConditionalExpressionClass ValaCCodeConditionalExp | ||||
ressionClass; | ||||
typedef struct _ValaCCodeConditionalExpressionPrivate ValaCCodeConditionalE | ||||
xpressionPrivate; | ||||
/** | /** | |||
* Represents a conditional expression in C code. | * Represents a conditional expression in C code. | |||
*/ | */ | |||
struct _ValaCCodeConditionalExpression { | struct _ValaCCodeConditionalExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeConditionalExpressionPrivate * priv; | ValaCCodeConditionalExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeConditionalExpressionClass { | struct _ValaCCodeConditionalExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
7 lines changed or deleted | 6 lines changed or added | |||
valaccodeconstant.h | valaccodeconstant.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODECONSTANT_H__ | #ifndef __VALACCODECONSTANT_H__ | |||
#define __VALACCODECONSTANT_H__ | #define __VALACCODECONSTANT_H__ | |||
typedef struct _ValaCCodeConstant ValaCCodeConstant; | ||||
typedef struct _ValaCCodeConstantClass ValaCCodeConstantClass; | ||||
typedef struct _ValaCCodeConstantPrivate ValaCCodeConstantPrivate; | ||||
#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/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_CONSTANT (vala_ccode_constant_get_type ()) | #define VALA_TYPE_CCODE_CONSTANT (vala_ccode_constant_get_type ()) | |||
#define VALA_CCODE_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_CCODE_CONSTANT, ValaCCodeConstant)) | #define VALA_CCODE_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_CCODE_CONSTANT, ValaCCodeConstant)) | |||
#define VALA_CCODE_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_CONSTANT, ValaCCodeConstantClass)) | #define VALA_CCODE_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_CONSTANT, ValaCCodeConstantClass)) | |||
#define VALA_IS_CCODE_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CCODE_CONSTANT)) | #define VALA_IS_CCODE_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CCODE_CONSTANT)) | |||
#define VALA_IS_CCODE_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CCODE_CONSTANT)) | #define VALA_IS_CCODE_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CCODE_CONSTANT)) | |||
#define VALA_CCODE_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_CONSTANT, ValaCCodeConstantClass)) | #define VALA_CCODE_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_CONSTANT, ValaCCodeConstantClass)) | |||
typedef struct _ValaCCodeConstant ValaCCodeConstant; | ||||
typedef struct _ValaCCodeConstantClass ValaCCodeConstantClass; | ||||
typedef struct _ValaCCodeConstantPrivate ValaCCodeConstantPrivate; | ||||
/** | /** | |||
* A constant C expression. | * A constant C expression. | |||
*/ | */ | |||
struct _ValaCCodeConstant { | struct _ValaCCodeConstant { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeConstantPrivate * priv; | ValaCCodeConstantPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeConstantClass { | struct _ValaCCodeConstantClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodecontinuestatement.h | valaccodecontinuestatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODECONTINUESTATEMENT_H__ | #ifndef __VALACCODECONTINUESTATEMENT_H__ | |||
#define __VALACCODECONTINUESTATEMENT_H__ | #define __VALACCODECONTINUESTATEMENT_H__ | |||
typedef struct _ValaCCodeContinueStatement ValaCCodeContinueStatement; | ||||
typedef struct _ValaCCodeContinueStatementClass ValaCCodeContinueStatementC | ||||
lass; | ||||
typedef struct _ValaCCodeContinueStatementPrivate ValaCCodeContinueStatemen | ||||
tPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_CONTINUE_STATEMENT (vala_ccode_continue_statement_g et_type ()) | #define VALA_TYPE_CCODE_CONTINUE_STATEMENT (vala_ccode_continue_statement_g et_type ()) | |||
#define VALA_CCODE_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob j), VALA_TYPE_CCODE_CONTINUE_STATEMENT, ValaCCodeContinueStatement)) | #define VALA_CCODE_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob j), VALA_TYPE_CCODE_CONTINUE_STATEMENT, ValaCCodeContinueStatement)) | |||
#define VALA_CCODE_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_CONTINUE_STATEMENT, ValaCCodeContinueStatementCl ass)) | #define VALA_CCODE_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_CONTINUE_STATEMENT, ValaCCodeContinueStatementCl ass)) | |||
#define VALA_IS_CCODE_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_CCODE_CONTINUE_STATEMENT)) | #define VALA_IS_CCODE_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_CCODE_CONTINUE_STATEMENT)) | |||
#define VALA_IS_CCODE_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_CCODE_CONTINUE_STATEMENT)) | #define VALA_IS_CCODE_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_CCODE_CONTINUE_STATEMENT)) | |||
#define VALA_CCODE_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_CONTINUE_STATEMENT, ValaCCodeContinueStatement Class)) | #define VALA_CCODE_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_CONTINUE_STATEMENT, ValaCCodeContinueStatement Class)) | |||
typedef struct _ValaCCodeContinueStatement ValaCCodeContinueStatement; | ||||
typedef struct _ValaCCodeContinueStatementClass ValaCCodeContinueStatementC | ||||
lass; | ||||
typedef struct _ValaCCodeContinueStatementPrivate ValaCCodeContinueStatemen | ||||
tPrivate; | ||||
/** | /** | |||
* Represents a continue statement in the C code. | * Represents a continue statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeContinueStatement { | struct _ValaCCodeContinueStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeContinueStatementPrivate * priv; | ValaCCodeContinueStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeContinueStatementClass { | struct _ValaCCodeContinueStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodedeclaration.h | valaccodedeclaration.h | |||
---|---|---|---|---|
/* valaccodedeclaration.vala | /* valaccodedeclaration.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEDECLARATION_H__ | #ifndef __VALACCODEDECLARATION_H__ | |||
#define __VALACCODEDECLARATION_H__ | #define __VALACCODEDECLARATION_H__ | |||
typedef struct _ValaCCodeDeclaration ValaCCodeDeclaration; | ||||
typedef struct _ValaCCodeDeclarationClass ValaCCodeDeclarationClass; | ||||
typedef struct _ValaCCodeDeclarationPrivate ValaCCodeDeclarationPrivate; | ||||
#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/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodemodifiers.h> | #include <ccode/valaccodemodifiers.h> | |||
#include <ccode/valaccodedeclarator.h> | #include <ccode/valaccodedeclarator.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_DECLARATION (vala_ccode_declaration_get_type ()) | #define VALA_TYPE_CCODE_DECLARATION (vala_ccode_declaration_get_type ()) | |||
#define VALA_CCODE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_CCODE_DECLARATION, ValaCCodeDeclaration)) | #define VALA_CCODE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_CCODE_DECLARATION, ValaCCodeDeclaration)) | |||
#define VALA_CCODE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_CCODE_DECLARATION, ValaCCodeDeclarationClass)) | #define VALA_CCODE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_CCODE_DECLARATION, ValaCCodeDeclarationClass)) | |||
#define VALA_IS_CCODE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_DECLARATION)) | #define VALA_IS_CCODE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_DECLARATION)) | |||
#define VALA_IS_CCODE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_CCODE_DECLARATION)) | #define VALA_IS_CCODE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_CCODE_DECLARATION)) | |||
#define VALA_CCODE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_CCODE_DECLARATION, ValaCCodeDeclarationClass)) | #define VALA_CCODE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_CCODE_DECLARATION, ValaCCodeDeclarationClass)) | |||
typedef struct _ValaCCodeDeclaration ValaCCodeDeclaration; | ||||
typedef struct _ValaCCodeDeclarationClass ValaCCodeDeclarationClass; | ||||
typedef struct _ValaCCodeDeclarationPrivate ValaCCodeDeclarationPrivate; | ||||
/** | /** | |||
* Represents a local variable declaration in the C code. | * Represents a local variable declaration in the C code. | |||
*/ | */ | |||
struct _ValaCCodeDeclaration { | struct _ValaCCodeDeclaration { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeDeclarationPrivate * priv; | ValaCCodeDeclarationPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeDeclarationClass { | struct _ValaCCodeDeclarationClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodedeclarator.h | valaccodedeclarator.h | |||
---|---|---|---|---|
/* valaccodedeclarator.vala | /* valaccodedeclarator.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEDECLARATOR_H__ | #ifndef __VALACCODEDECLARATOR_H__ | |||
#define __VALACCODEDECLARATOR_H__ | #define __VALACCODEDECLARATOR_H__ | |||
typedef struct _ValaCCodeDeclarator ValaCCodeDeclarator; | ||||
typedef struct _ValaCCodeDeclaratorClass ValaCCodeDeclaratorClass; | ||||
typedef struct _ValaCCodeDeclaratorPrivate ValaCCodeDeclaratorPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodenode.h> | #include <ccode/valaccodenode.h> | |||
#include <ccode/valaccodewriter.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_DECLARATOR (vala_ccode_declarator_get_type ()) | #define VALA_TYPE_CCODE_DECLARATOR (vala_ccode_declarator_get_type ()) | |||
#define VALA_CCODE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_CCODE_DECLARATOR, ValaCCodeDeclarator)) | #define VALA_CCODE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_CCODE_DECLARATOR, ValaCCodeDeclarator)) | |||
#define VALA_CCODE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_CCODE_DECLARATOR, ValaCCodeDeclaratorClass)) | #define VALA_CCODE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_CCODE_DECLARATOR, ValaCCodeDeclaratorClass)) | |||
#define VALA_IS_CCODE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_CCODE_DECLARATOR)) | #define VALA_IS_CCODE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_CCODE_DECLARATOR)) | |||
#define VALA_IS_CCODE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_CCODE_DECLARATOR)) | #define VALA_IS_CCODE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_CCODE_DECLARATOR)) | |||
#define VALA_CCODE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_DECLARATOR, ValaCCodeDeclaratorClass)) | #define VALA_CCODE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_DECLARATOR, ValaCCodeDeclaratorClass)) | |||
typedef struct _ValaCCodeDeclarator ValaCCodeDeclarator; | ||||
typedef struct _ValaCCodeDeclaratorClass ValaCCodeDeclaratorClass; | ||||
typedef struct _ValaCCodeDeclaratorPrivate ValaCCodeDeclaratorPrivate; | ||||
/** | /** | |||
* Represents a variable or function pointer declarator in the C code. | * Represents a variable or function pointer declarator in the C code. | |||
*/ | */ | |||
struct _ValaCCodeDeclarator { | struct _ValaCCodeDeclarator { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeDeclaratorPrivate * priv; | ValaCCodeDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeDeclaratorClass { | struct _ValaCCodeDeclaratorClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
void (*write_initialization) (ValaCCodeDeclarator* self, ValaCCodeWr iter* writer); | ||||
}; | }; | |||
void vala_ccode_declarator_write_initialization (ValaCCodeDeclarator* self, ValaCCodeWriter* writer); | ||||
GType vala_ccode_declarator_get_type (); | GType vala_ccode_declarator_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 6 change blocks. | ||||
5 lines changed or deleted | 7 lines changed or added | |||
valaccodedostatement.h | valaccodedostatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEDOSTATEMENT_H__ | #ifndef __VALACCODEDOSTATEMENT_H__ | |||
#define __VALACCODEDOSTATEMENT_H__ | #define __VALACCODEDOSTATEMENT_H__ | |||
typedef struct _ValaCCodeDoStatement ValaCCodeDoStatement; | ||||
typedef struct _ValaCCodeDoStatementClass ValaCCodeDoStatementClass; | ||||
typedef struct _ValaCCodeDoStatementPrivate ValaCCodeDoStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_DO_STATEMENT (vala_ccode_do_statement_get_type ()) | #define VALA_TYPE_CCODE_DO_STATEMENT (vala_ccode_do_statement_get_type ()) | |||
#define VALA_CCODE_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_CCODE_DO_STATEMENT, ValaCCodeDoStatement)) | #define VALA_CCODE_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_CCODE_DO_STATEMENT, ValaCCodeDoStatement)) | |||
#define VALA_CCODE_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_CCODE_DO_STATEMENT, ValaCCodeDoStatementClass)) | #define VALA_CCODE_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_CCODE_DO_STATEMENT, ValaCCodeDoStatementClass)) | |||
#define VALA_IS_CCODE_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_DO_STATEMENT)) | #define VALA_IS_CCODE_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_DO_STATEMENT)) | |||
#define VALA_IS_CCODE_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CCODE_DO_STATEMENT)) | #define VALA_IS_CCODE_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CCODE_DO_STATEMENT)) | |||
#define VALA_CCODE_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_DO_STATEMENT, ValaCCodeDoStatementClass)) | #define VALA_CCODE_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_DO_STATEMENT, ValaCCodeDoStatementClass)) | |||
typedef struct _ValaCCodeDoStatement ValaCCodeDoStatement; | ||||
typedef struct _ValaCCodeDoStatementClass ValaCCodeDoStatementClass; | ||||
typedef struct _ValaCCodeDoStatementPrivate ValaCCodeDoStatementPrivate; | ||||
/** | /** | |||
* Represents a do iteration statement in the C code. | * Represents a do iteration statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeDoStatement { | struct _ValaCCodeDoStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeDoStatementPrivate * priv; | ValaCCodeDoStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeDoStatementClass { | struct _ValaCCodeDoStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodeelementaccess.h | valaccodeelementaccess.h | |||
---|---|---|---|---|
skipping to change at line 27 | skipping to change at line 27 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEELEMENTACCESS_H__ | #ifndef __VALACCODEELEMENTACCESS_H__ | |||
#define __VALACCODEELEMENTACCESS_H__ | #define __VALACCODEELEMENTACCESS_H__ | |||
typedef struct _ValaCCodeElementAccess ValaCCodeElementAccess; | ||||
typedef struct _ValaCCodeElementAccessClass ValaCCodeElementAccessClass; | ||||
typedef struct _ValaCCodeElementAccessPrivate ValaCCodeElementAccessPrivate | ||||
; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_ELEMENT_ACCESS (vala_ccode_element_access_get_type ()) | #define VALA_TYPE_CCODE_ELEMENT_ACCESS (vala_ccode_element_access_get_type ()) | |||
#define VALA_CCODE_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS, ValaCCodeElementAccess)) | #define VALA_CCODE_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS, ValaCCodeElementAccess)) | |||
#define VALA_CCODE_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_CCODE_ELEMENT_ACCESS, ValaCCodeElementAccessClass)) | #define VALA_CCODE_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_CCODE_ELEMENT_ACCESS, ValaCCodeElementAccessClass)) | |||
#define VALA_IS_CCODE_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_ELEMENT_ACCESS)) | #define VALA_IS_CCODE_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_ELEMENT_ACCESS)) | |||
#define VALA_IS_CCODE_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ELEMENT_ACCESS)) | #define VALA_IS_CCODE_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ELEMENT_ACCESS)) | |||
#define VALA_CCODE_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS, ValaCCodeElementAccessClass)) | #define VALA_CCODE_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS, ValaCCodeElementAccessClass)) | |||
typedef struct _ValaCCodeElementAccess ValaCCodeElementAccess; | ||||
typedef struct _ValaCCodeElementAccessClass ValaCCodeElementAccessClass; | ||||
typedef struct _ValaCCodeElementAccessPrivate ValaCCodeElementAccessPrivate | ||||
; | ||||
/** | /** | |||
* Represents an access to an array member in the C code. | * Represents an access to an array member in the C code. | |||
*/ | */ | |||
struct _ValaCCodeElementAccess { | struct _ValaCCodeElementAccess { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeElementAccessPrivate * priv; | ValaCCodeElementAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeElementAccessClass { | struct _ValaCCodeElementAccessClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodeemptystatement.h | valaccodeemptystatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEEMPTYSTATEMENT_H__ | #ifndef __VALACCODEEMPTYSTATEMENT_H__ | |||
#define __VALACCODEEMPTYSTATEMENT_H__ | #define __VALACCODEEMPTYSTATEMENT_H__ | |||
typedef struct _ValaCCodeEmptyStatement ValaCCodeEmptyStatement; | ||||
typedef struct _ValaCCodeEmptyStatementClass ValaCCodeEmptyStatementClass; | ||||
typedef struct _ValaCCodeEmptyStatementPrivate ValaCCodeEmptyStatementPriva | ||||
te; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_EMPTY_STATEMENT (vala_ccode_empty_statement_get_typ e ()) | #define VALA_TYPE_CCODE_EMPTY_STATEMENT (vala_ccode_empty_statement_get_typ e ()) | |||
#define VALA_CCODE_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_EMPTY_STATEMENT, ValaCCodeEmptyStatement)) | #define VALA_CCODE_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_EMPTY_STATEMENT, ValaCCodeEmptyStatement)) | |||
#define VALA_CCODE_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_EMPTY_STATEMENT, ValaCCodeEmptyStatementClass)) | #define VALA_CCODE_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_EMPTY_STATEMENT, ValaCCodeEmptyStatementClass)) | |||
#define VALA_IS_CCODE_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_EMPTY_STATEMENT)) | #define VALA_IS_CCODE_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_EMPTY_STATEMENT)) | |||
#define VALA_IS_CCODE_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_EMPTY_STATEMENT)) | #define VALA_IS_CCODE_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_EMPTY_STATEMENT)) | |||
#define VALA_CCODE_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_EMPTY_STATEMENT, ValaCCodeEmptyStatementClass)) | #define VALA_CCODE_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_EMPTY_STATEMENT, ValaCCodeEmptyStatementClass)) | |||
typedef struct _ValaCCodeEmptyStatement ValaCCodeEmptyStatement; | ||||
typedef struct _ValaCCodeEmptyStatementClass ValaCCodeEmptyStatementClass; | ||||
typedef struct _ValaCCodeEmptyStatementPrivate ValaCCodeEmptyStatementPriva | ||||
te; | ||||
/** | /** | |||
* Represents an empty statement in the C code. | * Represents an empty statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeEmptyStatement { | struct _ValaCCodeEmptyStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeEmptyStatementPrivate * priv; | ValaCCodeEmptyStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeEmptyStatementClass { | struct _ValaCCodeEmptyStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodeenum.h | valaccodeenum.h | |||
---|---|---|---|---|
/* valaccodeenum.vala | /* valaccodeenum.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEENUM_H__ | #ifndef __VALACCODEENUM_H__ | |||
#define __VALACCODEENUM_H__ | #define __VALACCODEENUM_H__ | |||
typedef struct _ValaCCodeEnum ValaCCodeEnum; | ||||
typedef struct _ValaCCodeEnumClass ValaCCodeEnumClass; | ||||
typedef struct _ValaCCodeEnumPrivate ValaCCodeEnumPrivate; | ||||
#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/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)) | |||
typedef struct _ValaCCodeEnum ValaCCodeEnum; | ||||
typedef struct _ValaCCodeEnumClass ValaCCodeEnumClass; | ||||
typedef struct _ValaCCodeEnumPrivate ValaCCodeEnumPrivate; | ||||
/** | /** | |||
* Represents an enum in the C code. | * Represents an enum in the C code. | |||
*/ | */ | |||
struct _ValaCCodeEnum { | struct _ValaCCodeEnum { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeEnumPrivate * priv; | ValaCCodeEnumPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeEnumClass { | struct _ValaCCodeEnumClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodeexpression.h | valaccodeexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEEXPRESSION_H__ | #ifndef __VALACCODEEXPRESSION_H__ | |||
#define __VALACCODEEXPRESSION_H__ | #define __VALACCODEEXPRESSION_H__ | |||
typedef struct _ValaCCodeExpression ValaCCodeExpression; | ||||
typedef struct _ValaCCodeExpressionClass ValaCCodeExpressionClass; | ||||
typedef struct _ValaCCodeExpressionPrivate ValaCCodeExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodenode.h> | #include <ccode/valaccodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_EXPRESSION (vala_ccode_expression_get_type ()) | #define VALA_TYPE_CCODE_EXPRESSION (vala_ccode_expression_get_type ()) | |||
#define VALA_CCODE_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_CCODE_EXPRESSION, ValaCCodeExpression)) | #define VALA_CCODE_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_CCODE_EXPRESSION, ValaCCodeExpression)) | |||
#define VALA_CCODE_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_CCODE_EXPRESSION, ValaCCodeExpressionClass)) | #define VALA_CCODE_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_CCODE_EXPRESSION, ValaCCodeExpressionClass)) | |||
#define VALA_IS_CCODE_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_CCODE_EXPRESSION)) | #define VALA_IS_CCODE_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_CCODE_EXPRESSION)) | |||
#define VALA_IS_CCODE_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_CCODE_EXPRESSION)) | #define VALA_IS_CCODE_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_CCODE_EXPRESSION)) | |||
#define VALA_CCODE_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_EXPRESSION, ValaCCodeExpressionClass)) | #define VALA_CCODE_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_EXPRESSION, ValaCCodeExpressionClass)) | |||
typedef struct _ValaCCodeExpression ValaCCodeExpression; | ||||
typedef struct _ValaCCodeExpressionClass ValaCCodeExpressionClass; | ||||
typedef struct _ValaCCodeExpressionPrivate ValaCCodeExpressionPrivate; | ||||
/** | /** | |||
* Represents an expression node in the C code tree. | * Represents an expression node in the C code tree. | |||
*/ | */ | |||
struct _ValaCCodeExpression { | struct _ValaCCodeExpression { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeExpressionPrivate * priv; | ValaCCodeExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeExpressionClass { | struct _ValaCCodeExpressionClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodeexpressionstatement.h | valaccodeexpressionstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEEXPRESSIONSTATEMENT_H__ | #ifndef __VALACCODEEXPRESSIONSTATEMENT_H__ | |||
#define __VALACCODEEXPRESSIONSTATEMENT_H__ | #define __VALACCODEEXPRESSIONSTATEMENT_H__ | |||
typedef struct _ValaCCodeExpressionStatement ValaCCodeExpressionStatement; | ||||
typedef struct _ValaCCodeExpressionStatementClass ValaCCodeExpressionStatem | ||||
entClass; | ||||
typedef struct _ValaCCodeExpressionStatementPrivate ValaCCodeExpressionStat | ||||
ementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_EXPRESSION_STATEMENT (vala_ccode_expression_stateme nt_get_type ()) | #define VALA_TYPE_CCODE_EXPRESSION_STATEMENT (vala_ccode_expression_stateme nt_get_type ()) | |||
#define VALA_CCODE_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST (( obj), VALA_TYPE_CCODE_EXPRESSION_STATEMENT, ValaCCodeExpressionStatement)) | #define VALA_CCODE_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST (( obj), VALA_TYPE_CCODE_EXPRESSION_STATEMENT, ValaCCodeExpressionStatement)) | |||
#define VALA_CCODE_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CA ST ((klass), VALA_TYPE_CCODE_EXPRESSION_STATEMENT, ValaCCodeExpressionState mentClass)) | #define VALA_CCODE_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CA ST ((klass), VALA_TYPE_CCODE_EXPRESSION_STATEMENT, ValaCCodeExpressionState mentClass)) | |||
#define VALA_IS_CCODE_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_EXPRESSION_STATEMENT)) | #define VALA_IS_CCODE_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_EXPRESSION_STATEMENT)) | |||
#define VALA_IS_CCODE_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_CCODE_EXPRESSION_STATEMENT)) | #define VALA_IS_CCODE_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_CCODE_EXPRESSION_STATEMENT)) | |||
#define VALA_CCODE_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_CCODE_EXPRESSION_STATEMENT, ValaCCodeExpressionSta tementClass)) | #define VALA_CCODE_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_CCODE_EXPRESSION_STATEMENT, ValaCCodeExpressionSta tementClass)) | |||
typedef struct _ValaCCodeExpressionStatement ValaCCodeExpressionStatement; | ||||
typedef struct _ValaCCodeExpressionStatementClass ValaCCodeExpressionStatem | ||||
entClass; | ||||
typedef struct _ValaCCodeExpressionStatementPrivate ValaCCodeExpressionStat | ||||
ementPrivate; | ||||
/** | /** | |||
* Represents a C code statement that evaluates a given expression. | * Represents a C code statement that evaluates a given expression. | |||
*/ | */ | |||
struct _ValaCCodeExpressionStatement { | struct _ValaCCodeExpressionStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeExpressionStatementPrivate * priv; | ValaCCodeExpressionStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeExpressionStatementClass { | struct _ValaCCodeExpressionStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodeformalparameter.h | valaccodeformalparameter.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEFORMALPARAMETER_H__ | #ifndef __VALACCODEFORMALPARAMETER_H__ | |||
#define __VALACCODEFORMALPARAMETER_H__ | #define __VALACCODEFORMALPARAMETER_H__ | |||
typedef struct _ValaCCodeFormalParameter ValaCCodeFormalParameter; | ||||
typedef struct _ValaCCodeFormalParameterClass ValaCCodeFormalParameterClass | ||||
; | ||||
typedef struct _ValaCCodeFormalParameterPrivate ValaCCodeFormalParameterPri | ||||
vate; | ||||
#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/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_FORMAL_PARAMETER (vala_ccode_formal_parameter_get_t ype ()) | #define VALA_TYPE_CCODE_FORMAL_PARAMETER (vala_ccode_formal_parameter_get_t ype ()) | |||
#define VALA_CCODE_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_FORMAL_PARAMETER, ValaCCodeFormalParameter)) | #define VALA_CCODE_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_FORMAL_PARAMETER, ValaCCodeFormalParameter)) | |||
#define VALA_CCODE_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_FORMAL_PARAMETER, ValaCCodeFormalParameterClass)) | #define VALA_CCODE_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_FORMAL_PARAMETER, ValaCCodeFormalParameterClass)) | |||
#define VALA_IS_CCODE_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_FORMAL_PARAMETER)) | #define VALA_IS_CCODE_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_FORMAL_PARAMETER)) | |||
#define VALA_IS_CCODE_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_FORMAL_PARAMETER)) | #define VALA_IS_CCODE_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_FORMAL_PARAMETER)) | |||
#define VALA_CCODE_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_FORMAL_PARAMETER, ValaCCodeFormalParameterClass) ) | #define VALA_CCODE_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_FORMAL_PARAMETER, ValaCCodeFormalParameterClass) ) | |||
typedef struct _ValaCCodeFormalParameter ValaCCodeFormalParameter; | ||||
typedef struct _ValaCCodeFormalParameterClass ValaCCodeFormalParameterClass | ||||
; | ||||
typedef struct _ValaCCodeFormalParameterPrivate ValaCCodeFormalParameterPri | ||||
vate; | ||||
/** | /** | |||
* Represents a formal parameter in a C method signature. | * Represents a formal parameter in a C method signature. | |||
*/ | */ | |||
struct _ValaCCodeFormalParameter { | struct _ValaCCodeFormalParameter { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeFormalParameterPrivate * priv; | ValaCCodeFormalParameterPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFormalParameterClass { | struct _ValaCCodeFormalParameterClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodeforstatement.h | valaccodeforstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEFORSTATEMENT_H__ | #ifndef __VALACCODEFORSTATEMENT_H__ | |||
#define __VALACCODEFORSTATEMENT_H__ | #define __VALACCODEFORSTATEMENT_H__ | |||
typedef struct _ValaCCodeForStatement ValaCCodeForStatement; | ||||
typedef struct _ValaCCodeForStatementClass ValaCCodeForStatementClass; | ||||
typedef struct _ValaCCodeForStatementPrivate ValaCCodeForStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_FOR_STATEMENT (vala_ccode_for_statement_get_type () ) | #define VALA_TYPE_CCODE_FOR_STATEMENT (vala_ccode_for_statement_get_type () ) | |||
#define VALA_CCODE_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_CCODE_FOR_STATEMENT, ValaCCodeForStatement)) | #define VALA_CCODE_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_CCODE_FOR_STATEMENT, ValaCCodeForStatement)) | |||
#define VALA_CCODE_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_CCODE_FOR_STATEMENT, ValaCCodeForStatementClass)) | #define VALA_CCODE_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_CCODE_FOR_STATEMENT, ValaCCodeForStatementClass)) | |||
#define VALA_IS_CCODE_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_CCODE_FOR_STATEMENT)) | #define VALA_IS_CCODE_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_CCODE_FOR_STATEMENT)) | |||
#define VALA_IS_CCODE_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_CCODE_FOR_STATEMENT)) | #define VALA_IS_CCODE_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_CCODE_FOR_STATEMENT)) | |||
#define VALA_CCODE_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_FOR_STATEMENT, ValaCCodeForStatementClass)) | #define VALA_CCODE_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_FOR_STATEMENT, ValaCCodeForStatementClass)) | |||
typedef struct _ValaCCodeForStatement ValaCCodeForStatement; | ||||
typedef struct _ValaCCodeForStatementClass ValaCCodeForStatementClass; | ||||
typedef struct _ValaCCodeForStatementPrivate ValaCCodeForStatementPrivate; | ||||
/** | /** | |||
* Represents a for iteration statement in the C code. | * Represents a for iteration statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeForStatement { | struct _ValaCCodeForStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeForStatementPrivate * priv; | ValaCCodeForStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeForStatementClass { | struct _ValaCCodeForStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodefragment.h | valaccodefragment.h | |||
---|---|---|---|---|
/* valaccodefragment.vala | /* valaccodefragment.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEFRAGMENT_H__ | #ifndef __VALACCODEFRAGMENT_H__ | |||
#define __VALACCODEFRAGMENT_H__ | #define __VALACCODEFRAGMENT_H__ | |||
typedef struct _ValaCCodeFragment ValaCCodeFragment; | ||||
typedef struct _ValaCCodeFragmentClass ValaCCodeFragmentClass; | ||||
typedef struct _ValaCCodeFragmentPrivate ValaCCodeFragmentPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodenode.h> | #include <ccode/valaccodenode.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_FRAGMENT (vala_ccode_fragment_get_type ()) | #define VALA_TYPE_CCODE_FRAGMENT (vala_ccode_fragment_get_type ()) | |||
#define VALA_CCODE_FRAGMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_CCODE_FRAGMENT, ValaCCodeFragment)) | #define VALA_CCODE_FRAGMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_CCODE_FRAGMENT, ValaCCodeFragment)) | |||
#define VALA_CCODE_FRAGMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_FRAGMENT, ValaCCodeFragmentClass)) | #define VALA_CCODE_FRAGMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_FRAGMENT, ValaCCodeFragmentClass)) | |||
#define VALA_IS_CCODE_FRAGMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CCODE_FRAGMENT)) | #define VALA_IS_CCODE_FRAGMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CCODE_FRAGMENT)) | |||
#define VALA_IS_CCODE_FRAGMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CCODE_FRAGMENT)) | #define VALA_IS_CCODE_FRAGMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CCODE_FRAGMENT)) | |||
#define VALA_CCODE_FRAGMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_FRAGMENT, ValaCCodeFragmentClass)) | #define VALA_CCODE_FRAGMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_FRAGMENT, ValaCCodeFragmentClass)) | |||
typedef struct _ValaCCodeFragment ValaCCodeFragment; | ||||
typedef struct _ValaCCodeFragmentClass ValaCCodeFragmentClass; | ||||
typedef struct _ValaCCodeFragmentPrivate ValaCCodeFragmentPrivate; | ||||
/** | /** | |||
* Represents a container for C code nodes. | * Represents a container for C code nodes. | |||
*/ | */ | |||
struct _ValaCCodeFragment { | struct _ValaCCodeFragment { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeFragmentPrivate * priv; | ValaCCodeFragmentPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFragmentClass { | struct _ValaCCodeFragmentClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodefunction.h | valaccodefunction.h | |||
---|---|---|---|---|
/* valaccodefunction.vala | /* valaccodefunction.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEFUNCTION_H__ | #ifndef __VALACCODEFUNCTION_H__ | |||
#define __VALACCODEFUNCTION_H__ | #define __VALACCODEFUNCTION_H__ | |||
typedef struct _ValaCCodeFunction ValaCCodeFunction; | ||||
typedef struct _ValaCCodeFunctionClass ValaCCodeFunctionClass; | ||||
typedef struct _ValaCCodeFunctionPrivate ValaCCodeFunctionPrivate; | ||||
#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/valaccodemodifiers.h> | #include <ccode/valaccodemodifiers.h> | |||
#include <ccode/valaccodeformalparameter.h> | #include <ccode/valaccodeformalparameter.h> | |||
#include <ccode/valaccodefunction.h> | #include <ccode/valaccodefunction.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
skipping to change at line 46 | skipping to change at line 49 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_FUNCTION (vala_ccode_function_get_type ()) | #define VALA_TYPE_CCODE_FUNCTION (vala_ccode_function_get_type ()) | |||
#define VALA_CCODE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_CCODE_FUNCTION, ValaCCodeFunction)) | #define VALA_CCODE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_CCODE_FUNCTION, ValaCCodeFunction)) | |||
#define VALA_CCODE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_FUNCTION, ValaCCodeFunctionClass)) | #define VALA_CCODE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_FUNCTION, ValaCCodeFunctionClass)) | |||
#define VALA_IS_CCODE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CCODE_FUNCTION)) | #define VALA_IS_CCODE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CCODE_FUNCTION)) | |||
#define VALA_IS_CCODE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CCODE_FUNCTION)) | #define VALA_IS_CCODE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CCODE_FUNCTION)) | |||
#define VALA_CCODE_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_FUNCTION, ValaCCodeFunctionClass)) | #define VALA_CCODE_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_FUNCTION, ValaCCodeFunctionClass)) | |||
typedef struct _ValaCCodeFunction ValaCCodeFunction; | ||||
typedef struct _ValaCCodeFunctionClass ValaCCodeFunctionClass; | ||||
typedef struct _ValaCCodeFunctionPrivate ValaCCodeFunctionPrivate; | ||||
/** | /** | |||
* Represents a function declaration in the C code. | * Represents a function declaration in the C code. | |||
*/ | */ | |||
struct _ValaCCodeFunction { | struct _ValaCCodeFunction { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeFunctionPrivate * priv; | ValaCCodeFunctionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFunctionClass { | struct _ValaCCodeFunctionClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodefunctioncall.h | valaccodefunctioncall.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEFUNCTIONCALL_H__ | #ifndef __VALACCODEFUNCTIONCALL_H__ | |||
#define __VALACCODEFUNCTIONCALL_H__ | #define __VALACCODEFUNCTIONCALL_H__ | |||
typedef struct _ValaCCodeFunctionCall ValaCCodeFunctionCall; | ||||
typedef struct _ValaCCodeFunctionCallClass ValaCCodeFunctionCallClass; | ||||
typedef struct _ValaCCodeFunctionCallPrivate ValaCCodeFunctionCallPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_FUNCTION_CALL (vala_ccode_function_call_get_type () ) | #define VALA_TYPE_CCODE_FUNCTION_CALL (vala_ccode_function_call_get_type () ) | |||
#define VALA_CCODE_FUNCTION_CALL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCall)) | #define VALA_CCODE_FUNCTION_CALL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCall)) | |||
#define VALA_CCODE_FUNCTION_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCallClass)) | #define VALA_CCODE_FUNCTION_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCallClass)) | |||
#define VALA_IS_CCODE_FUNCTION_CALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_CCODE_FUNCTION_CALL)) | #define VALA_IS_CCODE_FUNCTION_CALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_CCODE_FUNCTION_CALL)) | |||
#define VALA_IS_CCODE_FUNCTION_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_CCODE_FUNCTION_CALL)) | #define VALA_IS_CCODE_FUNCTION_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_CCODE_FUNCTION_CALL)) | |||
#define VALA_CCODE_FUNCTION_CALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCallClass)) | #define VALA_CCODE_FUNCTION_CALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCallClass)) | |||
typedef struct _ValaCCodeFunctionCall ValaCCodeFunctionCall; | ||||
typedef struct _ValaCCodeFunctionCallClass ValaCCodeFunctionCallClass; | ||||
typedef struct _ValaCCodeFunctionCallPrivate ValaCCodeFunctionCallPrivate; | ||||
/** | /** | |||
* Represents a function call in the C code. | * Represents a function call in the C code. | |||
*/ | */ | |||
struct _ValaCCodeFunctionCall { | struct _ValaCCodeFunctionCall { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeFunctionCallPrivate * priv; | ValaCCodeFunctionCallPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFunctionCallClass { | struct _ValaCCodeFunctionCallClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodefunctiondeclarator.h | valaccodefunctiondeclarator.h | |||
---|---|---|---|---|
/* valaccodefunctiondeclarator.vala | /* valaccodefunctiondeclarator.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEFUNCTIONDECLARATOR_H__ | #ifndef __VALACCODEFUNCTIONDECLARATOR_H__ | |||
#define __VALACCODEFUNCTIONDECLARATOR_H__ | #define __VALACCODEFUNCTIONDECLARATOR_H__ | |||
typedef struct _ValaCCodeFunctionDeclarator ValaCCodeFunctionDeclarator; | ||||
typedef struct _ValaCCodeFunctionDeclaratorClass ValaCCodeFunctionDeclarato | ||||
rClass; | ||||
typedef struct _ValaCCodeFunctionDeclaratorPrivate ValaCCodeFunctionDeclara | ||||
torPrivate; | ||||
#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/valaccodedeclarator.h> | #include <ccode/valaccodedeclarator.h> | |||
#include <ccode/valaccodeformalparameter.h> | #include <ccode/valaccodeformalparameter.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_FUNCTION_DECLARATOR (vala_ccode_function_declarator _get_type ()) | #define VALA_TYPE_CCODE_FUNCTION_DECLARATOR (vala_ccode_function_declarator _get_type ()) | |||
#define VALA_CCODE_FUNCTION_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o bj), VALA_TYPE_CCODE_FUNCTION_DECLARATOR, ValaCCodeFunctionDeclarator)) | #define VALA_CCODE_FUNCTION_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o bj), VALA_TYPE_CCODE_FUNCTION_DECLARATOR, ValaCCodeFunctionDeclarator)) | |||
#define VALA_CCODE_FUNCTION_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS T ((klass), VALA_TYPE_CCODE_FUNCTION_DECLARATOR, ValaCCodeFunctionDeclarato rClass)) | #define VALA_CCODE_FUNCTION_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS T ((klass), VALA_TYPE_CCODE_FUNCTION_DECLARATOR, ValaCCodeFunctionDeclarato rClass)) | |||
#define VALA_IS_CCODE_FUNCTION_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_FUNCTION_DECLARATOR)) | #define VALA_IS_CCODE_FUNCTION_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_FUNCTION_DECLARATOR)) | |||
#define VALA_IS_CCODE_FUNCTION_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_ TYPE ((klass), VALA_TYPE_CCODE_FUNCTION_DECLARATOR)) | #define VALA_IS_CCODE_FUNCTION_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_ TYPE ((klass), VALA_TYPE_CCODE_FUNCTION_DECLARATOR)) | |||
#define VALA_CCODE_FUNCTION_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_CCODE_FUNCTION_DECLARATOR, ValaCCodeFunctionDeclara torClass)) | #define VALA_CCODE_FUNCTION_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_CCODE_FUNCTION_DECLARATOR, ValaCCodeFunctionDeclara torClass)) | |||
typedef struct _ValaCCodeFunctionDeclarator ValaCCodeFunctionDeclarator; | ||||
typedef struct _ValaCCodeFunctionDeclaratorClass ValaCCodeFunctionDeclarato | ||||
rClass; | ||||
typedef struct _ValaCCodeFunctionDeclaratorPrivate ValaCCodeFunctionDeclara | ||||
torPrivate; | ||||
/** | /** | |||
* Represents a function pointer declarator in the C code. | * Represents a function pointer declarator in the C code. | |||
*/ | */ | |||
struct _ValaCCodeFunctionDeclarator { | struct _ValaCCodeFunctionDeclarator { | |||
ValaCCodeDeclarator parent; | ValaCCodeDeclarator parent; | |||
ValaCCodeFunctionDeclaratorPrivate * priv; | ValaCCodeFunctionDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFunctionDeclaratorClass { | struct _ValaCCodeFunctionDeclaratorClass { | |||
ValaCCodeDeclaratorClass parent; | ValaCCodeDeclaratorClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
7 lines changed or deleted | 6 lines changed or added | |||
valaccodeidentifier.h | valaccodeidentifier.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEIDENTIFIER_H__ | #ifndef __VALACCODEIDENTIFIER_H__ | |||
#define __VALACCODEIDENTIFIER_H__ | #define __VALACCODEIDENTIFIER_H__ | |||
typedef struct _ValaCCodeIdentifier ValaCCodeIdentifier; | ||||
typedef struct _ValaCCodeIdentifierClass ValaCCodeIdentifierClass; | ||||
typedef struct _ValaCCodeIdentifierPrivate ValaCCodeIdentifierPrivate; | ||||
#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/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_IDENTIFIER (vala_ccode_identifier_get_type ()) | #define VALA_TYPE_CCODE_IDENTIFIER (vala_ccode_identifier_get_type ()) | |||
#define VALA_CCODE_IDENTIFIER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_CCODE_IDENTIFIER, ValaCCodeIdentifier)) | #define VALA_CCODE_IDENTIFIER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_CCODE_IDENTIFIER, ValaCCodeIdentifier)) | |||
#define VALA_CCODE_IDENTIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_CCODE_IDENTIFIER, ValaCCodeIdentifierClass)) | #define VALA_CCODE_IDENTIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_CCODE_IDENTIFIER, ValaCCodeIdentifierClass)) | |||
#define VALA_IS_CCODE_IDENTIFIER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_CCODE_IDENTIFIER)) | #define VALA_IS_CCODE_IDENTIFIER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_CCODE_IDENTIFIER)) | |||
#define VALA_IS_CCODE_IDENTIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_CCODE_IDENTIFIER)) | #define VALA_IS_CCODE_IDENTIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_CCODE_IDENTIFIER)) | |||
#define VALA_CCODE_IDENTIFIER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_IDENTIFIER, ValaCCodeIdentifierClass)) | #define VALA_CCODE_IDENTIFIER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_IDENTIFIER, ValaCCodeIdentifierClass)) | |||
typedef struct _ValaCCodeIdentifier ValaCCodeIdentifier; | ||||
typedef struct _ValaCCodeIdentifierClass ValaCCodeIdentifierClass; | ||||
typedef struct _ValaCCodeIdentifierPrivate ValaCCodeIdentifierPrivate; | ||||
/** | /** | |||
* Represents a identifier in the C code. | * Represents a identifier in the C code. | |||
*/ | */ | |||
struct _ValaCCodeIdentifier { | struct _ValaCCodeIdentifier { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeIdentifierPrivate * priv; | ValaCCodeIdentifierPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeIdentifierClass { | struct _ValaCCodeIdentifierClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodeifstatement.h | valaccodeifstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEIFSTATEMENT_H__ | #ifndef __VALACCODEIFSTATEMENT_H__ | |||
#define __VALACCODEIFSTATEMENT_H__ | #define __VALACCODEIFSTATEMENT_H__ | |||
typedef struct _ValaCCodeIfStatement ValaCCodeIfStatement; | ||||
typedef struct _ValaCCodeIfStatementClass ValaCCodeIfStatementClass; | ||||
typedef struct _ValaCCodeIfStatementPrivate ValaCCodeIfStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_IF_STATEMENT (vala_ccode_if_statement_get_type ()) | #define VALA_TYPE_CCODE_IF_STATEMENT (vala_ccode_if_statement_get_type ()) | |||
#define VALA_CCODE_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_CCODE_IF_STATEMENT, ValaCCodeIfStatement)) | #define VALA_CCODE_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_CCODE_IF_STATEMENT, ValaCCodeIfStatement)) | |||
#define VALA_CCODE_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_CCODE_IF_STATEMENT, ValaCCodeIfStatementClass)) | #define VALA_CCODE_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_CCODE_IF_STATEMENT, ValaCCodeIfStatementClass)) | |||
#define VALA_IS_CCODE_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_IF_STATEMENT)) | #define VALA_IS_CCODE_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_IF_STATEMENT)) | |||
#define VALA_IS_CCODE_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CCODE_IF_STATEMENT)) | #define VALA_IS_CCODE_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CCODE_IF_STATEMENT)) | |||
#define VALA_CCODE_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_IF_STATEMENT, ValaCCodeIfStatementClass)) | #define VALA_CCODE_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_IF_STATEMENT, ValaCCodeIfStatementClass)) | |||
typedef struct _ValaCCodeIfStatement ValaCCodeIfStatement; | ||||
typedef struct _ValaCCodeIfStatementClass ValaCCodeIfStatementClass; | ||||
typedef struct _ValaCCodeIfStatementPrivate ValaCCodeIfStatementPrivate; | ||||
/** | /** | |||
* Represents an if selection statement in the C code. | * Represents an if selection statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeIfStatement { | struct _ValaCCodeIfStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeIfStatementPrivate * priv; | ValaCCodeIfStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeIfStatementClass { | struct _ValaCCodeIfStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodeincludedirective.h | valaccodeincludedirective.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEINCLUDEDIRECTIVE_H__ | #ifndef __VALACCODEINCLUDEDIRECTIVE_H__ | |||
#define __VALACCODEINCLUDEDIRECTIVE_H__ | #define __VALACCODEINCLUDEDIRECTIVE_H__ | |||
typedef struct _ValaCCodeIncludeDirective ValaCCodeIncludeDirective; | ||||
typedef struct _ValaCCodeIncludeDirectiveClass ValaCCodeIncludeDirectiveCla | ||||
ss; | ||||
typedef struct _ValaCCodeIncludeDirectivePrivate ValaCCodeIncludeDirectiveP | ||||
rivate; | ||||
#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/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_INCLUDE_DIRECTIVE (vala_ccode_include_directive_get _type ()) | #define VALA_TYPE_CCODE_INCLUDE_DIRECTIVE (vala_ccode_include_directive_get _type ()) | |||
#define VALA_CCODE_INCLUDE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE, ValaCCodeIncludeDirective)) | #define VALA_CCODE_INCLUDE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE, ValaCCodeIncludeDirective)) | |||
#define VALA_CCODE_INCLUDE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE, ValaCCodeIncludeDirectiveClass )) | #define VALA_CCODE_INCLUDE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE, ValaCCodeIncludeDirectiveClass )) | |||
#define VALA_IS_CCODE_INCLUDE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE (( obj), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE)) | #define VALA_IS_CCODE_INCLUDE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE (( obj), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE)) | |||
#define VALA_IS_CCODE_INCLUDE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TY PE ((klass), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE)) | #define VALA_IS_CCODE_INCLUDE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TY PE ((klass), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE)) | |||
#define VALA_CCODE_INCLUDE_DIRECTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE, ValaCCodeIncludeDirectiveCla ss)) | #define VALA_CCODE_INCLUDE_DIRECTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE, ValaCCodeIncludeDirectiveCla ss)) | |||
typedef struct _ValaCCodeIncludeDirective ValaCCodeIncludeDirective; | ||||
typedef struct _ValaCCodeIncludeDirectiveClass ValaCCodeIncludeDirectiveCla | ||||
ss; | ||||
typedef struct _ValaCCodeIncludeDirectivePrivate ValaCCodeIncludeDirectiveP | ||||
rivate; | ||||
/** | /** | |||
* Represents an include preprocessor directive in the C code. | * Represents an include preprocessor directive in the C code. | |||
*/ | */ | |||
struct _ValaCCodeIncludeDirective { | struct _ValaCCodeIncludeDirective { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeIncludeDirectivePrivate * priv; | ValaCCodeIncludeDirectivePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeIncludeDirectiveClass { | struct _ValaCCodeIncludeDirectiveClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodeinitializerlist.h | valaccodeinitializerlist.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEINITIALIZERLIST_H__ | #ifndef __VALACCODEINITIALIZERLIST_H__ | |||
#define __VALACCODEINITIALIZERLIST_H__ | #define __VALACCODEINITIALIZERLIST_H__ | |||
typedef struct _ValaCCodeInitializerList ValaCCodeInitializerList; | ||||
typedef struct _ValaCCodeInitializerListClass ValaCCodeInitializerListClass | ||||
; | ||||
typedef struct _ValaCCodeInitializerListPrivate ValaCCodeInitializerListPri | ||||
vate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_INITIALIZER_LIST (vala_ccode_initializer_list_get_t ype ()) | #define VALA_TYPE_CCODE_INITIALIZER_LIST (vala_ccode_initializer_list_get_t ype ()) | |||
#define VALA_CCODE_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_INITIALIZER_LIST, ValaCCodeInitializerList)) | #define VALA_CCODE_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_INITIALIZER_LIST, ValaCCodeInitializerList)) | |||
#define VALA_CCODE_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_INITIALIZER_LIST, ValaCCodeInitializerListClass)) | #define VALA_CCODE_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_INITIALIZER_LIST, ValaCCodeInitializerListClass)) | |||
#define VALA_IS_CCODE_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_INITIALIZER_LIST)) | #define VALA_IS_CCODE_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_INITIALIZER_LIST)) | |||
#define VALA_IS_CCODE_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_INITIALIZER_LIST)) | #define VALA_IS_CCODE_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_INITIALIZER_LIST)) | |||
#define VALA_CCODE_INITIALIZER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_INITIALIZER_LIST, ValaCCodeInitializerListClass) ) | #define VALA_CCODE_INITIALIZER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_INITIALIZER_LIST, ValaCCodeInitializerListClass) ) | |||
typedef struct _ValaCCodeInitializerList ValaCCodeInitializerList; | ||||
typedef struct _ValaCCodeInitializerListClass ValaCCodeInitializerListClass | ||||
; | ||||
typedef struct _ValaCCodeInitializerListPrivate ValaCCodeInitializerListPri | ||||
vate; | ||||
/** | /** | |||
* Represents a struct or array initializer list in the C code. | * Represents a struct or array initializer list in the C code. | |||
*/ | */ | |||
struct _ValaCCodeInitializerList { | struct _ValaCCodeInitializerList { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeInitializerListPrivate * priv; | ValaCCodeInitializerListPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeInitializerListClass { | struct _ValaCCodeInitializerListClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodelinedirective.h | valaccodelinedirective.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODELINEDIRECTIVE_H__ | #ifndef __VALACCODELINEDIRECTIVE_H__ | |||
#define __VALACCODELINEDIRECTIVE_H__ | #define __VALACCODELINEDIRECTIVE_H__ | |||
typedef struct _ValaCCodeLineDirectivePrivate ValaCCodeLineDirectivePrivate ; | ||||
#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/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_LINE_DIRECTIVE (vala_ccode_line_directive_get_type ()) | #define VALA_TYPE_CCODE_LINE_DIRECTIVE (vala_ccode_line_directive_get_type ()) | |||
#define VALA_CCODE_LINE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_LINE_DIRECTIVE, ValaCCodeLineDirective)) | #define VALA_CCODE_LINE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_LINE_DIRECTIVE, ValaCCodeLineDirective)) | |||
#define VALA_CCODE_LINE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_CCODE_LINE_DIRECTIVE, ValaCCodeLineDirectiveClass)) | #define VALA_CCODE_LINE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_CCODE_LINE_DIRECTIVE, ValaCCodeLineDirectiveClass)) | |||
#define VALA_IS_CCODE_LINE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_LINE_DIRECTIVE)) | #define VALA_IS_CCODE_LINE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_LINE_DIRECTIVE)) | |||
#define VALA_IS_CCODE_LINE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_LINE_DIRECTIVE)) | #define VALA_IS_CCODE_LINE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_LINE_DIRECTIVE)) | |||
#define VALA_CCODE_LINE_DIRECTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_LINE_DIRECTIVE, ValaCCodeLineDirectiveClass)) | #define VALA_CCODE_LINE_DIRECTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_LINE_DIRECTIVE, ValaCCodeLineDirectiveClass)) | |||
typedef struct _ValaCCodeLineDirectivePrivate ValaCCodeLineDirectivePrivate | ||||
; | ||||
/** | /** | |||
* Represents a line directive in the C code. | * Represents a line directive in the C code. | |||
*/ | */ | |||
struct _ValaCCodeLineDirective { | struct _ValaCCodeLineDirective { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeLineDirectivePrivate * priv; | ValaCCodeLineDirectivePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeLineDirectiveClass { | struct _ValaCCodeLineDirectiveClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valaccodemacroreplacement.h | valaccodemacroreplacement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEMACROREPLACEMENT_H__ | #ifndef __VALACCODEMACROREPLACEMENT_H__ | |||
#define __VALACCODEMACROREPLACEMENT_H__ | #define __VALACCODEMACROREPLACEMENT_H__ | |||
typedef struct _ValaCCodeMacroReplacement ValaCCodeMacroReplacement; | ||||
typedef struct _ValaCCodeMacroReplacementClass ValaCCodeMacroReplacementCla | ||||
ss; | ||||
typedef struct _ValaCCodeMacroReplacementPrivate ValaCCodeMacroReplacementP | ||||
rivate; | ||||
#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/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)) | |||
typedef struct _ValaCCodeMacroReplacement ValaCCodeMacroReplacement; | ||||
typedef struct _ValaCCodeMacroReplacementClass ValaCCodeMacroReplacementCla | ||||
ss; | ||||
typedef struct _ValaCCodeMacroReplacementPrivate ValaCCodeMacroReplacementP | ||||
rivate; | ||||
/** | /** | |||
* 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; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodememberaccess.h | valaccodememberaccess.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEMEMBERACCESS_H__ | #ifndef __VALACCODEMEMBERACCESS_H__ | |||
#define __VALACCODEMEMBERACCESS_H__ | #define __VALACCODEMEMBERACCESS_H__ | |||
typedef struct _ValaCCodeMemberAccess ValaCCodeMemberAccess; | ||||
typedef struct _ValaCCodeMemberAccessClass ValaCCodeMemberAccessClass; | ||||
typedef struct _ValaCCodeMemberAccessPrivate ValaCCodeMemberAccessPrivate; | ||||
#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/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_MEMBER_ACCESS (vala_ccode_member_access_get_type () ) | #define VALA_TYPE_CCODE_MEMBER_ACCESS (vala_ccode_member_access_get_type () ) | |||
#define VALA_CCODE_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_CCODE_MEMBER_ACCESS, ValaCCodeMemberAccess)) | #define VALA_CCODE_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_CCODE_MEMBER_ACCESS, ValaCCodeMemberAccess)) | |||
#define VALA_CCODE_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_CCODE_MEMBER_ACCESS, ValaCCodeMemberAccessClass)) | #define VALA_CCODE_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_CCODE_MEMBER_ACCESS, ValaCCodeMemberAccessClass)) | |||
#define VALA_IS_CCODE_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_CCODE_MEMBER_ACCESS)) | #define VALA_IS_CCODE_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_CCODE_MEMBER_ACCESS)) | |||
#define VALA_IS_CCODE_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_CCODE_MEMBER_ACCESS)) | #define VALA_IS_CCODE_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_CCODE_MEMBER_ACCESS)) | |||
#define VALA_CCODE_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS, ValaCCodeMemberAccessClass)) | #define VALA_CCODE_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS, ValaCCodeMemberAccessClass)) | |||
typedef struct _ValaCCodeMemberAccess ValaCCodeMemberAccess; | ||||
typedef struct _ValaCCodeMemberAccessClass ValaCCodeMemberAccessClass; | ||||
typedef struct _ValaCCodeMemberAccessPrivate ValaCCodeMemberAccessPrivate; | ||||
/** | /** | |||
* Represents an access to a struct member in the C code. | * Represents an access to a struct member in the C code. | |||
*/ | */ | |||
struct _ValaCCodeMemberAccess { | struct _ValaCCodeMemberAccess { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeMemberAccessPrivate * priv; | ValaCCodeMemberAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeMemberAccessClass { | struct _ValaCCodeMemberAccessClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodemodifiers.h | valaccodemodifiers.h | |||
---|---|---|---|---|
skipping to change at line 35 | skipping to change at line 35 | |||
#define __VALACCODEMODIFIERS_H__ | #define __VALACCODEMODIFIERS_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
typedef enum { | typedef enum { | |||
VALA_CCODE_MODIFIERS_NONE, | VALA_CCODE_MODIFIERS_NONE, | |||
VALA_CCODE_MODIFIERS_STATIC, | VALA_CCODE_MODIFIERS_STATIC, | |||
VALA_CCODE_MODIFIERS_REGISTER, | VALA_CCODE_MODIFIERS_REGISTER | |||
} ValaCCodeModifiers; | } ValaCCodeModifiers; | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodenewline.h | valaccodenewline.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODENEWLINE_H__ | #ifndef __VALACCODENEWLINE_H__ | |||
#define __VALACCODENEWLINE_H__ | #define __VALACCODENEWLINE_H__ | |||
typedef struct _ValaCCodeNewline ValaCCodeNewline; | ||||
typedef struct _ValaCCodeNewlineClass ValaCCodeNewlineClass; | ||||
typedef struct _ValaCCodeNewlinePrivate ValaCCodeNewlinePrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodenode.h> | #include <ccode/valaccodenode.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_NEWLINE (vala_ccode_newline_get_type ()) | #define VALA_TYPE_CCODE_NEWLINE (vala_ccode_newline_get_type ()) | |||
#define VALA_CCODE_NEWLINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_CCODE_NEWLINE, ValaCCodeNewline)) | #define VALA_CCODE_NEWLINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_CCODE_NEWLINE, ValaCCodeNewline)) | |||
#define VALA_CCODE_NEWLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_NEWLINE, ValaCCodeNewlineClass)) | #define VALA_CCODE_NEWLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_NEWLINE, ValaCCodeNewlineClass)) | |||
#define VALA_IS_CCODE_NEWLINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_CCODE_NEWLINE)) | #define VALA_IS_CCODE_NEWLINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_CCODE_NEWLINE)) | |||
#define VALA_IS_CCODE_NEWLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_CCODE_NEWLINE)) | #define VALA_IS_CCODE_NEWLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_CCODE_NEWLINE)) | |||
#define VALA_CCODE_NEWLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_NEWLINE, ValaCCodeNewlineClass)) | #define VALA_CCODE_NEWLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_NEWLINE, ValaCCodeNewlineClass)) | |||
typedef struct _ValaCCodeNewline ValaCCodeNewline; | ||||
typedef struct _ValaCCodeNewlineClass ValaCCodeNewlineClass; | ||||
typedef struct _ValaCCodeNewlinePrivate ValaCCodeNewlinePrivate; | ||||
/** | /** | |||
* Represents a line break in the C code. | * Represents a line break in the C code. | |||
*/ | */ | |||
struct _ValaCCodeNewline { | struct _ValaCCodeNewline { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeNewlinePrivate * priv; | ValaCCodeNewlinePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeNewlineClass { | struct _ValaCCodeNewlineClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodenode.h | valaccodenode.h | |||
---|---|---|---|---|
/* valaccodenode.vala | /* valaccodenode.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODENODE_H__ | #ifndef __VALACCODENODE_H__ | |||
#define __VALACCODENODE_H__ | #define __VALACCODENODE_H__ | |||
typedef struct _ValaCCodeNode ValaCCodeNode; | ||||
typedef struct _ValaCCodeNodeClass ValaCCodeNodeClass; | ||||
typedef struct _ValaCCodeLineDirective ValaCCodeLineDirective; | ||||
typedef struct _ValaCCodeLineDirectiveClass ValaCCodeLineDirectiveClass; | ||||
typedef struct _ValaCCodeNodePrivate ValaCCodeNodePrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
typedef struct _ValaCCodeNode ValaCCodeNode; | ||||
typedef struct _ValaCCodeNodeClass ValaCCodeNodeClass; | ||||
typedef struct _ValaCCodeLineDirective ValaCCodeLineDirective; | ||||
typedef struct _ValaCCodeLineDirectiveClass ValaCCodeLineDirectiveClass; | ||||
#define VALA_TYPE_CCODE_NODE (vala_ccode_node_get_type ()) | #define VALA_TYPE_CCODE_NODE (vala_ccode_node_get_type ()) | |||
#define VALA_CCODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ CCODE_NODE, ValaCCodeNode)) | #define VALA_CCODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ CCODE_NODE, ValaCCodeNode)) | |||
#define VALA_CCODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_CCODE_NODE, ValaCCodeNodeClass)) | #define VALA_CCODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_CCODE_NODE, ValaCCodeNodeClass)) | |||
#define VALA_IS_CCODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_CCODE_NODE)) | #define VALA_IS_CCODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_CCODE_NODE)) | |||
#define VALA_IS_CCODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_NODE)) | #define VALA_IS_CCODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_NODE)) | |||
#define VALA_CCODE_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_CCODE_NODE, ValaCCodeNodeClass)) | #define VALA_CCODE_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_CCODE_NODE, ValaCCodeNodeClass)) | |||
typedef struct _ValaCCodeNodePrivate ValaCCodeNodePrivate; | ||||
/** | /** | |||
* Represents a node in the C code tree. | * Represents a node in the C code tree. | |||
*/ | */ | |||
struct _ValaCCodeNode { | struct _ValaCCodeNode { | |||
GObject parent; | GObject parent; | |||
ValaCCodeNodePrivate * priv; | ValaCCodeNodePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeNodeClass { | struct _ValaCCodeNodeClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
void (*write) (ValaCCodeNode* self, ValaCCodeWriter* writer); | void (*write) (ValaCCodeNode* self, ValaCCodeWriter* writer); | |||
void (*write_declaration) (ValaCCodeNode* self, ValaCCodeWriter* wri ter); | ||||
}; | }; | |||
void vala_ccode_node_write (ValaCCodeNode* self, ValaCCodeWriter* writer); | void vala_ccode_node_write (ValaCCodeNode* self, ValaCCodeWriter* writer); | |||
void vala_ccode_node_write_declaration (ValaCCodeNode* self, ValaCCodeWrite r* writer); | ||||
ValaCCodeLineDirective* vala_ccode_node_get_line (ValaCCodeNode* self); | ValaCCodeLineDirective* vala_ccode_node_get_line (ValaCCodeNode* self); | |||
void vala_ccode_node_set_line (ValaCCodeNode* self, ValaCCodeLineDirective* value); | void vala_ccode_node_set_line (ValaCCodeNode* self, ValaCCodeLineDirective* value); | |||
GType vala_ccode_node_get_type (); | GType vala_ccode_node_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 6 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added | |||
valaccodeoncesection.h | valaccodeoncesection.h | |||
---|---|---|---|---|
/* valaccodeoncesection.vala | /* valaccodeoncesection.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEONCESECTION_H__ | #ifndef __VALACCODEONCESECTION_H__ | |||
#define __VALACCODEONCESECTION_H__ | #define __VALACCODEONCESECTION_H__ | |||
typedef struct _ValaCCodeOnceSection ValaCCodeOnceSection; | ||||
typedef struct _ValaCCodeOnceSectionClass ValaCCodeOnceSectionClass; | ||||
typedef struct _ValaCCodeOnceSectionPrivate ValaCCodeOnceSectionPrivate; | ||||
#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/valaccodefragment.h> | #include <ccode/valaccodefragment.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_ONCE_SECTION (vala_ccode_once_section_get_type ()) | #define VALA_TYPE_CCODE_ONCE_SECTION (vala_ccode_once_section_get_type ()) | |||
#define VALA_CCODE_ONCE_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_CCODE_ONCE_SECTION, ValaCCodeOnceSection)) | #define VALA_CCODE_ONCE_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_CCODE_ONCE_SECTION, ValaCCodeOnceSection)) | |||
#define VALA_CCODE_ONCE_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_CCODE_ONCE_SECTION, ValaCCodeOnceSectionClass)) | #define VALA_CCODE_ONCE_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_CCODE_ONCE_SECTION, ValaCCodeOnceSectionClass)) | |||
#define VALA_IS_CCODE_ONCE_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_ONCE_SECTION)) | #define VALA_IS_CCODE_ONCE_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_ONCE_SECTION)) | |||
#define VALA_IS_CCODE_ONCE_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CCODE_ONCE_SECTION)) | #define VALA_IS_CCODE_ONCE_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CCODE_ONCE_SECTION)) | |||
#define VALA_CCODE_ONCE_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_ONCE_SECTION, ValaCCodeOnceSectionClass)) | #define VALA_CCODE_ONCE_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_ONCE_SECTION, ValaCCodeOnceSectionClass)) | |||
typedef struct _ValaCCodeOnceSection ValaCCodeOnceSection; | ||||
typedef struct _ValaCCodeOnceSectionClass ValaCCodeOnceSectionClass; | ||||
typedef struct _ValaCCodeOnceSectionPrivate ValaCCodeOnceSectionPrivate; | ||||
/** | /** | |||
* Represents a section that should only to processed once. | * Represents a section that should only to processed once. | |||
*/ | */ | |||
struct _ValaCCodeOnceSection { | struct _ValaCCodeOnceSection { | |||
ValaCCodeFragment parent; | ValaCCodeFragment parent; | |||
ValaCCodeOnceSectionPrivate * priv; | ValaCCodeOnceSectionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeOnceSectionClass { | struct _ValaCCodeOnceSectionClass { | |||
ValaCCodeFragmentClass parent; | ValaCCodeFragmentClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodeparenthesizedexpression.h | valaccodeparenthesizedexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEPARENTHESIZEDEXPRESSION_H__ | #ifndef __VALACCODEPARENTHESIZEDEXPRESSION_H__ | |||
#define __VALACCODEPARENTHESIZEDEXPRESSION_H__ | #define __VALACCODEPARENTHESIZEDEXPRESSION_H__ | |||
typedef struct _ValaCCodeParenthesizedExpression ValaCCodeParenthesizedExpr | ||||
ession; | ||||
typedef struct _ValaCCodeParenthesizedExpressionClass ValaCCodeParenthesize | ||||
dExpressionClass; | ||||
typedef struct _ValaCCodeParenthesizedExpressionPrivate ValaCCodeParenthesi | ||||
zedExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION (vala_ccode_parenthesized_ expression_get_type ()) | #define VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION (vala_ccode_parenthesized_ expression_get_type ()) | |||
#define VALA_CCODE_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAS T ((obj), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION, ValaCCodeParenthesizedE xpression)) | #define VALA_CCODE_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAS T ((obj), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION, ValaCCodeParenthesizedE xpression)) | |||
#define VALA_CCODE_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLAS S_CAST ((klass), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION, ValaCCodeParenth esizedExpressionClass)) | #define VALA_CCODE_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLAS S_CAST ((klass), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION, ValaCCodeParenth esizedExpressionClass)) | |||
#define VALA_IS_CCODE_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_ TYPE ((obj), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION)) | #define VALA_IS_CCODE_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_ TYPE ((obj), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION)) | |||
#define VALA_IS_CCODE_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_C LASS_TYPE ((klass), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION)) | #define VALA_IS_CCODE_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_C LASS_TYPE ((klass), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION)) | |||
#define VALA_CCODE_PARENTHESIZED_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE _GET_CLASS ((obj), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION, ValaCCodeParen thesizedExpressionClass)) | #define VALA_CCODE_PARENTHESIZED_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE _GET_CLASS ((obj), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION, ValaCCodeParen thesizedExpressionClass)) | |||
typedef struct _ValaCCodeParenthesizedExpression ValaCCodeParenthesizedExpr | ||||
ession; | ||||
typedef struct _ValaCCodeParenthesizedExpressionClass ValaCCodeParenthesize | ||||
dExpressionClass; | ||||
typedef struct _ValaCCodeParenthesizedExpressionPrivate ValaCCodeParenthesi | ||||
zedExpressionPrivate; | ||||
/** | /** | |||
* Represents a parenthesized expression in the C code. | * Represents a parenthesized expression in the C code. | |||
*/ | */ | |||
struct _ValaCCodeParenthesizedExpression { | struct _ValaCCodeParenthesizedExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeParenthesizedExpressionPrivate * priv; | ValaCCodeParenthesizedExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeParenthesizedExpressionClass { | struct _ValaCCodeParenthesizedExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
7 lines changed or deleted | 6 lines changed or added | |||
valaccodereturnstatement.h | valaccodereturnstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODERETURNSTATEMENT_H__ | #ifndef __VALACCODERETURNSTATEMENT_H__ | |||
#define __VALACCODERETURNSTATEMENT_H__ | #define __VALACCODERETURNSTATEMENT_H__ | |||
typedef struct _ValaCCodeReturnStatement ValaCCodeReturnStatement; | ||||
typedef struct _ValaCCodeReturnStatementClass ValaCCodeReturnStatementClass | ||||
; | ||||
typedef struct _ValaCCodeReturnStatementPrivate ValaCCodeReturnStatementPri | ||||
vate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_RETURN_STATEMENT (vala_ccode_return_statement_get_t ype ()) | #define VALA_TYPE_CCODE_RETURN_STATEMENT (vala_ccode_return_statement_get_t ype ()) | |||
#define VALA_CCODE_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_RETURN_STATEMENT, ValaCCodeReturnStatement)) | #define VALA_CCODE_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_RETURN_STATEMENT, ValaCCodeReturnStatement)) | |||
#define VALA_CCODE_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_RETURN_STATEMENT, ValaCCodeReturnStatementClass)) | #define VALA_CCODE_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_RETURN_STATEMENT, ValaCCodeReturnStatementClass)) | |||
#define VALA_IS_CCODE_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_RETURN_STATEMENT)) | #define VALA_IS_CCODE_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_RETURN_STATEMENT)) | |||
#define VALA_IS_CCODE_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_RETURN_STATEMENT)) | #define VALA_IS_CCODE_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_RETURN_STATEMENT)) | |||
#define VALA_CCODE_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_RETURN_STATEMENT, ValaCCodeReturnStatementClass) ) | #define VALA_CCODE_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_RETURN_STATEMENT, ValaCCodeReturnStatementClass) ) | |||
typedef struct _ValaCCodeReturnStatement ValaCCodeReturnStatement; | ||||
typedef struct _ValaCCodeReturnStatementClass ValaCCodeReturnStatementClass | ||||
; | ||||
typedef struct _ValaCCodeReturnStatementPrivate ValaCCodeReturnStatementPri | ||||
vate; | ||||
/** | /** | |||
* Represents a return statement in the C code. | * Represents a return statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeReturnStatement { | struct _ValaCCodeReturnStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeReturnStatementPrivate * priv; | ValaCCodeReturnStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeReturnStatementClass { | struct _ValaCCodeReturnStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodestatement.h | valaccodestatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODESTATEMENT_H__ | #ifndef __VALACCODESTATEMENT_H__ | |||
#define __VALACCODESTATEMENT_H__ | #define __VALACCODESTATEMENT_H__ | |||
typedef struct _ValaCCodeStatement ValaCCodeStatement; | ||||
typedef struct _ValaCCodeStatementClass ValaCCodeStatementClass; | ||||
typedef struct _ValaCCodeStatementPrivate ValaCCodeStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodenode.h> | #include <ccode/valaccodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_STATEMENT (vala_ccode_statement_get_type ()) | #define VALA_TYPE_CCODE_STATEMENT (vala_ccode_statement_get_type ()) | |||
#define VALA_CCODE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CCODE_STATEMENT, ValaCCodeStatement)) | #define VALA_CCODE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CCODE_STATEMENT, ValaCCodeStatement)) | |||
#define VALA_CCODE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CCODE_STATEMENT, ValaCCodeStatementClass)) | #define VALA_CCODE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CCODE_STATEMENT, ValaCCodeStatementClass)) | |||
#define VALA_IS_CCODE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CCODE_STATEMENT)) | #define VALA_IS_CCODE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CCODE_STATEMENT)) | |||
#define VALA_IS_CCODE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CCODE_STATEMENT)) | #define VALA_IS_CCODE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CCODE_STATEMENT)) | |||
#define VALA_CCODE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CCODE_STATEMENT, ValaCCodeStatementClass)) | #define VALA_CCODE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CCODE_STATEMENT, ValaCCodeStatementClass)) | |||
typedef struct _ValaCCodeStatement ValaCCodeStatement; | ||||
typedef struct _ValaCCodeStatementClass ValaCCodeStatementClass; | ||||
typedef struct _ValaCCodeStatementPrivate ValaCCodeStatementPrivate; | ||||
/** | /** | |||
* Represents a statement in the C code. | * Represents a statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeStatement { | struct _ValaCCodeStatement { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeStatementPrivate * priv; | ValaCCodeStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeStatementClass { | struct _ValaCCodeStatementClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaccodestruct.h | valaccodestruct.h | |||
---|---|---|---|---|
/* valaccodestruct.vala | /* valaccodestruct.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODESTRUCT_H__ | #ifndef __VALACCODESTRUCT_H__ | |||
#define __VALACCODESTRUCT_H__ | #define __VALACCODESTRUCT_H__ | |||
typedef struct _ValaCCodeStruct ValaCCodeStruct; | ||||
typedef struct _ValaCCodeStructClass ValaCCodeStructClass; | ||||
typedef struct _ValaCCodeStructPrivate ValaCCodeStructPrivate; | ||||
#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/valaccodedeclaration.h> | #include <ccode/valaccodedeclaration.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_STRUCT (vala_ccode_struct_get_type ()) | #define VALA_TYPE_CCODE_STRUCT (vala_ccode_struct_get_type ()) | |||
#define VALA_CCODE_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CCODE_STRUCT, ValaCCodeStruct)) | #define VALA_CCODE_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CCODE_STRUCT, ValaCCodeStruct)) | |||
#define VALA_CCODE_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CCODE_STRUCT, ValaCCodeStructClass)) | #define VALA_CCODE_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CCODE_STRUCT, ValaCCodeStructClass)) | |||
#define VALA_IS_CCODE_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CCODE_STRUCT)) | #define VALA_IS_CCODE_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CCODE_STRUCT)) | |||
#define VALA_IS_CCODE_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CCODE_STRUCT)) | #define VALA_IS_CCODE_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CCODE_STRUCT)) | |||
#define VALA_CCODE_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_STRUCT, ValaCCodeStructClass)) | #define VALA_CCODE_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_STRUCT, ValaCCodeStructClass)) | |||
typedef struct _ValaCCodeStruct ValaCCodeStruct; | ||||
typedef struct _ValaCCodeStructClass ValaCCodeStructClass; | ||||
typedef struct _ValaCCodeStructPrivate ValaCCodeStructPrivate; | ||||
/** | /** | |||
* Represents a struct declaration in the C code. | * Represents a struct declaration in the C code. | |||
*/ | */ | |||
struct _ValaCCodeStruct { | struct _ValaCCodeStruct { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeStructPrivate * priv; | ValaCCodeStructPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeStructClass { | struct _ValaCCodeStructClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodeswitchstatement.h | valaccodeswitchstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODESWITCHSTATEMENT_H__ | #ifndef __VALACCODESWITCHSTATEMENT_H__ | |||
#define __VALACCODESWITCHSTATEMENT_H__ | #define __VALACCODESWITCHSTATEMENT_H__ | |||
typedef struct _ValaCCodeSwitchStatement ValaCCodeSwitchStatement; | ||||
typedef struct _ValaCCodeSwitchStatementClass ValaCCodeSwitchStatementClass | ||||
; | ||||
typedef struct _ValaCCodeSwitchStatementPrivate ValaCCodeSwitchStatementPri | ||||
vate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodecasestatement.h> | #include <ccode/valaccodecasestatement.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_SWITCH_STATEMENT (vala_ccode_switch_statement_get_t ype ()) | #define VALA_TYPE_CCODE_SWITCH_STATEMENT (vala_ccode_switch_statement_get_t ype ()) | |||
#define VALA_CCODE_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_SWITCH_STATEMENT, ValaCCodeSwitchStatement)) | #define VALA_CCODE_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_SWITCH_STATEMENT, ValaCCodeSwitchStatement)) | |||
#define VALA_CCODE_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_SWITCH_STATEMENT, ValaCCodeSwitchStatementClass)) | #define VALA_CCODE_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_SWITCH_STATEMENT, ValaCCodeSwitchStatementClass)) | |||
#define VALA_IS_CCODE_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_SWITCH_STATEMENT)) | #define VALA_IS_CCODE_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_SWITCH_STATEMENT)) | |||
#define VALA_IS_CCODE_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_SWITCH_STATEMENT)) | #define VALA_IS_CCODE_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_SWITCH_STATEMENT)) | |||
#define VALA_CCODE_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_SWITCH_STATEMENT, ValaCCodeSwitchStatementClass) ) | #define VALA_CCODE_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_SWITCH_STATEMENT, ValaCCodeSwitchStatementClass) ) | |||
typedef struct _ValaCCodeSwitchStatement ValaCCodeSwitchStatement; | ||||
typedef struct _ValaCCodeSwitchStatementClass ValaCCodeSwitchStatementClass | ||||
; | ||||
typedef struct _ValaCCodeSwitchStatementPrivate ValaCCodeSwitchStatementPri | ||||
vate; | ||||
/** | /** | |||
* Represents a switch selection statement in the C code. | * Represents a switch selection statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeSwitchStatement { | struct _ValaCCodeSwitchStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeSwitchStatementPrivate * priv; | ValaCCodeSwitchStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeSwitchStatementClass { | struct _ValaCCodeSwitchStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodetypedefinition.h | valaccodetypedefinition.h | |||
---|---|---|---|---|
/* valaccodetypedefinition.vala | /* valaccodetypedefinition.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODETYPEDEFINITION_H__ | #ifndef __VALACCODETYPEDEFINITION_H__ | |||
#define __VALACCODETYPEDEFINITION_H__ | #define __VALACCODETYPEDEFINITION_H__ | |||
typedef struct _ValaCCodeTypeDefinition ValaCCodeTypeDefinition; | ||||
typedef struct _ValaCCodeTypeDefinitionClass ValaCCodeTypeDefinitionClass; | ||||
typedef struct _ValaCCodeTypeDefinitionPrivate ValaCCodeTypeDefinitionPriva | ||||
te; | ||||
#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/valaccodedeclarator.h> | #include <ccode/valaccodedeclarator.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_TYPE_DEFINITION (vala_ccode_type_definition_get_typ e ()) | #define VALA_TYPE_CCODE_TYPE_DEFINITION (vala_ccode_type_definition_get_typ e ()) | |||
#define VALA_CCODE_TYPE_DEFINITION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_TYPE_DEFINITION, ValaCCodeTypeDefinition)) | #define VALA_CCODE_TYPE_DEFINITION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_TYPE_DEFINITION, ValaCCodeTypeDefinition)) | |||
#define VALA_CCODE_TYPE_DEFINITION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_TYPE_DEFINITION, ValaCCodeTypeDefinitionClass)) | #define VALA_CCODE_TYPE_DEFINITION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_TYPE_DEFINITION, ValaCCodeTypeDefinitionClass)) | |||
#define VALA_IS_CCODE_TYPE_DEFINITION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_TYPE_DEFINITION)) | #define VALA_IS_CCODE_TYPE_DEFINITION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_TYPE_DEFINITION)) | |||
#define VALA_IS_CCODE_TYPE_DEFINITION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_TYPE_DEFINITION)) | #define VALA_IS_CCODE_TYPE_DEFINITION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_TYPE_DEFINITION)) | |||
#define VALA_CCODE_TYPE_DEFINITION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_TYPE_DEFINITION, ValaCCodeTypeDefinitionClass)) | #define VALA_CCODE_TYPE_DEFINITION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_TYPE_DEFINITION, ValaCCodeTypeDefinitionClass)) | |||
typedef struct _ValaCCodeTypeDefinition ValaCCodeTypeDefinition; | ||||
typedef struct _ValaCCodeTypeDefinitionClass ValaCCodeTypeDefinitionClass; | ||||
typedef struct _ValaCCodeTypeDefinitionPrivate ValaCCodeTypeDefinitionPriva | ||||
te; | ||||
/** | /** | |||
* Represents a typedef in the C code. | * Represents a typedef in the C code. | |||
*/ | */ | |||
struct _ValaCCodeTypeDefinition { | struct _ValaCCodeTypeDefinition { | |||
ValaCCodeNode parent; | ValaCCodeNode parent; | |||
ValaCCodeTypeDefinitionPrivate * priv; | ValaCCodeTypeDefinitionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeTypeDefinitionClass { | struct _ValaCCodeTypeDefinitionClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 5 lines changed or added | |||
valaccodeunaryexpression.h | valaccodeunaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEUNARYEXPRESSION_H__ | #ifndef __VALACCODEUNARYEXPRESSION_H__ | |||
#define __VALACCODEUNARYEXPRESSION_H__ | #define __VALACCODEUNARYEXPRESSION_H__ | |||
typedef struct _ValaCCodeUnaryExpression ValaCCodeUnaryExpression; | ||||
typedef struct _ValaCCodeUnaryExpressionClass ValaCCodeUnaryExpressionClass | ||||
; | ||||
typedef struct _ValaCCodeUnaryExpressionPrivate ValaCCodeUnaryExpressionPri | ||||
vate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodeunaryexpression.h> | #include <ccode/valaccodeunaryexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_UNARY_EXPRESSION (vala_ccode_unary_expression_get_t ype ()) | #define VALA_TYPE_CCODE_UNARY_EXPRESSION (vala_ccode_unary_expression_get_t ype ()) | |||
#define VALA_CCODE_UNARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_UNARY_EXPRESSION, ValaCCodeUnaryExpression)) | #define VALA_CCODE_UNARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CCODE_UNARY_EXPRESSION, ValaCCodeUnaryExpression)) | |||
#define VALA_CCODE_UNARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_UNARY_EXPRESSION, ValaCCodeUnaryExpressionClass)) | #define VALA_CCODE_UNARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CCODE_UNARY_EXPRESSION, ValaCCodeUnaryExpressionClass)) | |||
#define VALA_IS_CCODE_UNARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_UNARY_EXPRESSION)) | #define VALA_IS_CCODE_UNARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CCODE_UNARY_EXPRESSION)) | |||
#define VALA_IS_CCODE_UNARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_UNARY_EXPRESSION)) | #define VALA_IS_CCODE_UNARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CCODE_UNARY_EXPRESSION)) | |||
#define VALA_CCODE_UNARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_UNARY_EXPRESSION, ValaCCodeUnaryExpressionClass) ) | #define VALA_CCODE_UNARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_UNARY_EXPRESSION, ValaCCodeUnaryExpressionClass) ) | |||
typedef struct _ValaCCodeUnaryExpression ValaCCodeUnaryExpression; | ||||
typedef struct _ValaCCodeUnaryExpressionClass ValaCCodeUnaryExpressionClass | ||||
; | ||||
typedef struct _ValaCCodeUnaryExpressionPrivate ValaCCodeUnaryExpressionPri | ||||
vate; | ||||
/** | /** | |||
* Represents an expression with one operand in the C code. | * Represents an expression with one operand in the C code. | |||
*/ | */ | |||
struct _ValaCCodeUnaryExpression { | struct _ValaCCodeUnaryExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent; | |||
ValaCCodeUnaryExpressionPrivate * priv; | ValaCCodeUnaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeUnaryExpressionClass { | struct _ValaCCodeUnaryExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_CCODE_UNARY_OPERATOR_PLUS, | VALA_CCODE_UNARY_OPERATOR_PLUS, | |||
VALA_CCODE_UNARY_OPERATOR_MINUS, | VALA_CCODE_UNARY_OPERATOR_MINUS, | |||
VALA_CCODE_UNARY_OPERATOR_LOGICAL_NEGATION, | VALA_CCODE_UNARY_OPERATOR_LOGICAL_NEGATION, | |||
VALA_CCODE_UNARY_OPERATOR_BITWISE_COMPLEMENT, | VALA_CCODE_UNARY_OPERATOR_BITWISE_COMPLEMENT, | |||
VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, | VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, | |||
VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, | VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, | |||
VALA_CCODE_UNARY_OPERATOR_PREFIX_INCREMENT, | VALA_CCODE_UNARY_OPERATOR_PREFIX_INCREMENT, | |||
VALA_CCODE_UNARY_OPERATOR_PREFIX_DECREMENT, | VALA_CCODE_UNARY_OPERATOR_PREFIX_DECREMENT, | |||
VALA_CCODE_UNARY_OPERATOR_POSTFIX_INCREMENT, | VALA_CCODE_UNARY_OPERATOR_POSTFIX_INCREMENT, | |||
VALA_CCODE_UNARY_OPERATOR_POSTFIX_DECREMENT, | VALA_CCODE_UNARY_OPERATOR_POSTFIX_DECREMENT | |||
} ValaCCodeUnaryOperator; | } ValaCCodeUnaryOperator; | |||
ValaCCodeUnaryExpression* vala_ccode_unary_expression_new (ValaCCodeUnaryOp erator op, ValaCCodeExpression* expr); | ValaCCodeUnaryExpression* vala_ccode_unary_expression_new (ValaCCodeUnaryOp erator op, ValaCCodeExpression* expr); | |||
ValaCCodeUnaryOperator vala_ccode_unary_expression_get_operator (ValaCCodeU naryExpression* self); | ValaCCodeUnaryOperator vala_ccode_unary_expression_get_operator (ValaCCodeU naryExpression* self); | |||
void vala_ccode_unary_expression_set_operator (ValaCCodeUnaryExpression* se lf, ValaCCodeUnaryOperator value); | void vala_ccode_unary_expression_set_operator (ValaCCodeUnaryExpression* se lf, ValaCCodeUnaryOperator value); | |||
ValaCCodeExpression* vala_ccode_unary_expression_get_inner (ValaCCodeUnaryE xpression* self); | ValaCCodeExpression* vala_ccode_unary_expression_get_inner (ValaCCodeUnaryE xpression* self); | |||
void vala_ccode_unary_expression_set_inner (ValaCCodeUnaryExpression* self, ValaCCodeExpression* value); | void vala_ccode_unary_expression_set_inner (ValaCCodeUnaryExpression* self, ValaCCodeExpression* value); | |||
GType vala_ccode_unary_expression_get_type (); | GType vala_ccode_unary_expression_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 3 change blocks. | ||||
7 lines changed or deleted | 6 lines changed or added | |||
valaccodevariabledeclarator.h | valaccodevariabledeclarator.h | |||
---|---|---|---|---|
/* valaccodevariabledeclarator.vala | /* valaccodevariabledeclarator.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEVARIABLEDECLARATOR_H__ | #ifndef __VALACCODEVARIABLEDECLARATOR_H__ | |||
#define __VALACCODEVARIABLEDECLARATOR_H__ | #define __VALACCODEVARIABLEDECLARATOR_H__ | |||
typedef struct _ValaCCodeVariableDeclarator ValaCCodeVariableDeclarator; | ||||
typedef struct _ValaCCodeVariableDeclaratorClass ValaCCodeVariableDeclarato | ||||
rClass; | ||||
typedef struct _ValaCCodeVariableDeclaratorPrivate ValaCCodeVariableDeclara | ||||
torPrivate; | ||||
#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/valaccodedeclarator.h> | #include <ccode/valaccodedeclarator.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_VARIABLE_DECLARATOR (vala_ccode_variable_declarator _get_type ()) | #define VALA_TYPE_CCODE_VARIABLE_DECLARATOR (vala_ccode_variable_declarator _get_type ()) | |||
#define VALA_CCODE_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o bj), VALA_TYPE_CCODE_VARIABLE_DECLARATOR, ValaCCodeVariableDeclarator)) | #define VALA_CCODE_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o bj), VALA_TYPE_CCODE_VARIABLE_DECLARATOR, ValaCCodeVariableDeclarator)) | |||
#define VALA_CCODE_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS T ((klass), VALA_TYPE_CCODE_VARIABLE_DECLARATOR, ValaCCodeVariableDeclarato rClass)) | #define VALA_CCODE_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS T ((klass), VALA_TYPE_CCODE_VARIABLE_DECLARATOR, ValaCCodeVariableDeclarato rClass)) | |||
#define VALA_IS_CCODE_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_VARIABLE_DECLARATOR)) | #define VALA_IS_CCODE_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_VARIABLE_DECLARATOR)) | |||
#define VALA_IS_CCODE_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_ TYPE ((klass), VALA_TYPE_CCODE_VARIABLE_DECLARATOR)) | #define VALA_IS_CCODE_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_ TYPE ((klass), VALA_TYPE_CCODE_VARIABLE_DECLARATOR)) | |||
#define VALA_CCODE_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_CCODE_VARIABLE_DECLARATOR, ValaCCodeVariableDeclara torClass)) | #define VALA_CCODE_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_CCODE_VARIABLE_DECLARATOR, ValaCCodeVariableDeclara torClass)) | |||
typedef struct _ValaCCodeVariableDeclarator ValaCCodeVariableDeclarator; | ||||
typedef struct _ValaCCodeVariableDeclaratorClass ValaCCodeVariableDeclarato | ||||
rClass; | ||||
typedef struct _ValaCCodeVariableDeclaratorPrivate ValaCCodeVariableDeclara | ||||
torPrivate; | ||||
/** | /** | |||
* Represents a variable declarator in the C code. | * Represents a variable declarator in the C code. | |||
*/ | */ | |||
struct _ValaCCodeVariableDeclarator { | struct _ValaCCodeVariableDeclarator { | |||
ValaCCodeDeclarator parent; | ValaCCodeDeclarator parent; | |||
ValaCCodeVariableDeclaratorPrivate * priv; | ValaCCodeVariableDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeVariableDeclaratorClass { | struct _ValaCCodeVariableDeclaratorClass { | |||
ValaCCodeDeclaratorClass parent; | ValaCCodeDeclaratorClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
7 lines changed or deleted | 6 lines changed or added | |||
valaccodewhilestatement.h | valaccodewhilestatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEWHILESTATEMENT_H__ | #ifndef __VALACCODEWHILESTATEMENT_H__ | |||
#define __VALACCODEWHILESTATEMENT_H__ | #define __VALACCODEWHILESTATEMENT_H__ | |||
typedef struct _ValaCCodeWhileStatement ValaCCodeWhileStatement; | ||||
typedef struct _ValaCCodeWhileStatementClass ValaCCodeWhileStatementClass; | ||||
typedef struct _ValaCCodeWhileStatementPrivate ValaCCodeWhileStatementPriva | ||||
te; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodestatement.h> | #include <ccode/valaccodestatement.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <ccode/valaccodewriter.h> | #include <ccode/valaccodewriter.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_WHILE_STATEMENT (vala_ccode_while_statement_get_typ e ()) | #define VALA_TYPE_CCODE_WHILE_STATEMENT (vala_ccode_while_statement_get_typ e ()) | |||
#define VALA_CCODE_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_WHILE_STATEMENT, ValaCCodeWhileStatement)) | #define VALA_CCODE_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_WHILE_STATEMENT, ValaCCodeWhileStatement)) | |||
#define VALA_CCODE_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_WHILE_STATEMENT, ValaCCodeWhileStatementClass)) | #define VALA_CCODE_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_CCODE_WHILE_STATEMENT, ValaCCodeWhileStatementClass)) | |||
#define VALA_IS_CCODE_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_WHILE_STATEMENT)) | #define VALA_IS_CCODE_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_CCODE_WHILE_STATEMENT)) | |||
#define VALA_IS_CCODE_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_WHILE_STATEMENT)) | #define VALA_IS_CCODE_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_WHILE_STATEMENT)) | |||
#define VALA_CCODE_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_WHILE_STATEMENT, ValaCCodeWhileStatementClass)) | #define VALA_CCODE_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_WHILE_STATEMENT, ValaCCodeWhileStatementClass)) | |||
typedef struct _ValaCCodeWhileStatement ValaCCodeWhileStatement; | ||||
typedef struct _ValaCCodeWhileStatementClass ValaCCodeWhileStatementClass; | ||||
typedef struct _ValaCCodeWhileStatementPrivate ValaCCodeWhileStatementPriva | ||||
te; | ||||
/** | /** | |||
* Represents a while iteration statement in the C code. | * Represents a while iteration statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeWhileStatement { | struct _ValaCCodeWhileStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent; | |||
ValaCCodeWhileStatementPrivate * priv; | ValaCCodeWhileStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeWhileStatementClass { | struct _ValaCCodeWhileStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaccodewriter.h | valaccodewriter.h | |||
---|---|---|---|---|
/* valaccodewriter.vala | /* valaccodewriter.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACCODEWRITER_H__ | #ifndef __VALACCODEWRITER_H__ | |||
#define __VALACCODEWRITER_H__ | #define __VALACCODEWRITER_H__ | |||
typedef struct _ValaCCodeWriter ValaCCodeWriter; | ||||
typedef struct _ValaCCodeWriterClass ValaCCodeWriterClass; | ||||
typedef struct _ValaCCodeWriterPrivate ValaCCodeWriterPrivate; | ||||
#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> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_WRITER (vala_ccode_writer_get_type ()) | #define VALA_TYPE_CCODE_WRITER (vala_ccode_writer_get_type ()) | |||
#define VALA_CCODE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CCODE_WRITER, ValaCCodeWriter)) | #define VALA_CCODE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CCODE_WRITER, ValaCCodeWriter)) | |||
#define VALA_CCODE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CCODE_WRITER, ValaCCodeWriterClass)) | #define VALA_CCODE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CCODE_WRITER, ValaCCodeWriterClass)) | |||
#define VALA_IS_CCODE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CCODE_WRITER)) | #define VALA_IS_CCODE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CCODE_WRITER)) | |||
#define VALA_IS_CCODE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CCODE_WRITER)) | #define VALA_IS_CCODE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CCODE_WRITER)) | |||
#define VALA_CCODE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_WRITER, ValaCCodeWriterClass)) | #define VALA_CCODE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_WRITER, ValaCCodeWriterClass)) | |||
typedef struct _ValaCCodeWriter ValaCCodeWriter; | ||||
typedef struct _ValaCCodeWriterClass ValaCCodeWriterClass; | ||||
typedef struct _ValaCCodeWriterPrivate ValaCCodeWriterPrivate; | ||||
/** | /** | |||
* Represents a writer to write C source files. | * Represents a writer to write C source files. | |||
*/ | */ | |||
struct _ValaCCodeWriter { | struct _ValaCCodeWriter { | |||
GObject parent; | GObject parent; | |||
ValaCCodeWriterPrivate * priv; | ValaCCodeWriterPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeWriterClass { | struct _ValaCCodeWriterClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valacharacterliteral.h | valacharacterliteral.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALACHARACTERLITERAL_H__ | #ifndef __VALACHARACTERLITERAL_H__ | |||
#define __VALACHARACTERLITERAL_H__ | #define __VALACHARACTERLITERAL_H__ | |||
typedef struct _ValaCharacterLiteralPrivate ValaCharacterLiteralPrivate; | ||||
#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/valaliteral.h> | #include <vala/valaliteral.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CHARACTER_LITERAL (vala_character_literal_get_type ()) | #define VALA_TYPE_CHARACTER_LITERAL (vala_character_literal_get_type ()) | |||
#define VALA_CHARACTER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_CHARACTER_LITERAL, ValaCharacterLiteral)) | #define VALA_CHARACTER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_CHARACTER_LITERAL, ValaCharacterLiteral)) | |||
#define VALA_CHARACTER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_CHARACTER_LITERAL, ValaCharacterLiteralClass)) | #define VALA_CHARACTER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_CHARACTER_LITERAL, ValaCharacterLiteralClass)) | |||
#define VALA_IS_CHARACTER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CHARACTER_LITERAL)) | #define VALA_IS_CHARACTER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CHARACTER_LITERAL)) | |||
#define VALA_IS_CHARACTER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_CHARACTER_LITERAL)) | #define VALA_IS_CHARACTER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_CHARACTER_LITERAL)) | |||
#define VALA_CHARACTER_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_CHARACTER_LITERAL, ValaCharacterLiteralClass)) | #define VALA_CHARACTER_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_CHARACTER_LITERAL, ValaCharacterLiteralClass)) | |||
typedef struct _ValaCharacterLiteralPrivate ValaCharacterLiteralPrivate; | ||||
/** | /** | |||
* Represents a single literal character. | * Represents a single literal character. | |||
*/ | */ | |||
struct _ValaCharacterLiteral { | struct _ValaCharacterLiteral { | |||
ValaLiteral parent; | ValaLiteral parent; | |||
ValaCharacterLiteralPrivate * priv; | ValaCharacterLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaCharacterLiteralClass { | struct _ValaCharacterLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaclass.h | valaclass.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACLASS_H__ | #ifndef __VALACLASS_H__ | |||
#define __VALACLASS_H__ | #define __VALACLASS_H__ | |||
typedef struct _ValaClassPrivate ValaClassPrivate; | ||||
#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/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CLASS (vala_class_get_type ()) | #define VALA_TYPE_CLASS (vala_class_get_type ()) | |||
#define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS , ValaClass)) | #define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS , ValaClass)) | |||
#define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_CLASS, ValaClassClass)) | #define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_CLASS, ValaClassClass)) | |||
#define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CL ASS)) | #define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CL ASS)) | |||
#define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_CLASS)) | #define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_CLASS)) | |||
#define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_CLASS, ValaClassClass)) | #define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_CLASS, ValaClassClass)) | |||
typedef struct _ValaClassPrivate ValaClassPrivate; | ||||
/** | /** | |||
* Represents a class declaration in the source code. | * Represents a class declaration in the source code. | |||
*/ | */ | |||
struct _ValaClass { | struct _ValaClass { | |||
ValaDataType parent; | ValaDataType parent; | |||
ValaClassPrivate * priv; | ValaClassPrivate * priv; | |||
}; | }; | |||
struct _ValaClassClass { | struct _ValaClassClass { | |||
ValaDataTypeClass parent; | ValaDataTypeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaclassregisterfunction.h | valaclassregisterfunction.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACLASSREGISTERFUNCTION_H__ | #ifndef __VALACLASSREGISTERFUNCTION_H__ | |||
#define __VALACLASSREGISTERFUNCTION_H__ | #define __VALACLASSREGISTERFUNCTION_H__ | |||
typedef struct _ValaClassRegisterFunction ValaClassRegisterFunction; | ||||
typedef struct _ValaClassRegisterFunctionClass ValaClassRegisterFunctionCla | ||||
ss; | ||||
typedef struct _ValaClassRegisterFunctionPrivate ValaClassRegisterFunctionP | ||||
rivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaclass.h> | ||||
#include <vala/valadatatype.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <ccode/valaccodefragment.h> | #include <ccode/valaccodefragment.h> | |||
#include <vala/valatyperegisterfunction.h> | #include <gobject/valatyperegisterfunction.h> | |||
#include <vala/valaclass.h> | ||||
#include <vala/valadatatype.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CLASS_REGISTER_FUNCTION (vala_class_register_function_get _type ()) | #define VALA_TYPE_CLASS_REGISTER_FUNCTION (vala_class_register_function_get _type ()) | |||
#define VALA_CLASS_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunction)) | #define VALA_CLASS_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunction)) | |||
#define VALA_CLASS_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunctionClass )) | #define VALA_CLASS_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunctionClass )) | |||
#define VALA_IS_CLASS_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE (( obj), VALA_TYPE_CLASS_REGISTER_FUNCTION)) | #define VALA_IS_CLASS_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE (( obj), VALA_TYPE_CLASS_REGISTER_FUNCTION)) | |||
#define VALA_IS_CLASS_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TY PE ((klass), VALA_TYPE_CLASS_REGISTER_FUNCTION)) | #define VALA_IS_CLASS_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TY PE ((klass), VALA_TYPE_CLASS_REGISTER_FUNCTION)) | |||
#define VALA_CLASS_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunctionCla ss)) | #define VALA_CLASS_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunctionCla ss)) | |||
typedef struct _ValaClassRegisterFunction ValaClassRegisterFunction; | ||||
typedef struct _ValaClassRegisterFunctionClass ValaClassRegisterFunctionCla | ||||
ss; | ||||
typedef struct _ValaClassRegisterFunctionPrivate ValaClassRegisterFunctionP | ||||
rivate; | ||||
/** | /** | |||
* C function to register a class at runtime. | * C function to register a class at runtime. | |||
*/ | */ | |||
struct _ValaClassRegisterFunction { | struct _ValaClassRegisterFunction { | |||
ValaTypeRegisterFunction parent; | ValaTypeRegisterFunction parent; | |||
ValaClassRegisterFunctionPrivate * priv; | ValaClassRegisterFunctionPrivate * priv; | |||
}; | }; | |||
struct _ValaClassRegisterFunctionClass { | struct _ValaClassRegisterFunctionClass { | |||
ValaTypeRegisterFunctionClass parent; | ValaTypeRegisterFunctionClass parent; | |||
}; | }; | |||
End of changes. 4 change blocks. | ||||
9 lines changed or deleted | 8 lines changed or added | |||
valacodecontext.h | valacodecontext.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACODECONTEXT_H__ | #ifndef __VALACODECONTEXT_H__ | |||
#define __VALACODECONTEXT_H__ | #define __VALACODECONTEXT_H__ | |||
typedef struct _ValaCodeContextPrivate ValaCodeContextPrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ()) | #define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ()) | |||
#define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CODE_CONTEXT, ValaCodeContext)) | #define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CODE_CONTEXT, ValaCodeContext)) | |||
#define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | #define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | |||
#define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CODE_CONTEXT)) | #define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CODE_CONTEXT)) | |||
#define VALA_IS_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_CONTEXT)) | #define VALA_IS_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_CONTEXT)) | |||
#define VALA_CODE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | #define VALA_CODE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | |||
typedef struct _ValaCodeContextPrivate ValaCodeContextPrivate; | ||||
/** | /** | |||
* The root of the code tree. | * The root of the code tree. | |||
*/ | */ | |||
struct _ValaCodeContext { | struct _ValaCodeContext { | |||
GObject parent; | GObject parent; | |||
ValaCodeContextPrivate * priv; | ValaCodeContextPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeContextClass { | struct _ValaCodeContextClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
}; | }; | |||
ValaSymbol* vala_code_context_get_root (ValaCodeContext* self); | ValaSymbol* vala_code_context_get_root (ValaCodeContext* self); | |||
GList* vala_code_context_get_source_files (ValaCodeContext* self); | GList* vala_code_context_get_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); | |||
GList* vala_code_context_get_packages (ValaCodeContext* self); | ||||
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_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_library (ValaCodeContext* self); | 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); | ||||
void vala_code_context_set_memory_management (ValaCodeContext* self, gboole | ||||
an value); | ||||
gboolean vala_code_context_get_assert (ValaCodeContext* self); | ||||
void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | ||||
gboolean vala_code_context_get_checking (ValaCodeContext* self); | ||||
void vala_code_context_set_checking (ValaCodeContext* self, gboolean value) | ||||
; | ||||
gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | ||||
void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu | ||||
e); | ||||
gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | ||||
void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va | ||||
lue); | ||||
char* vala_code_context_get_output (ValaCodeContext* self); | ||||
void vala_code_context_set_output (ValaCodeContext* self, const char* value | ||||
); | ||||
gboolean vala_code_context_get_debug (ValaCodeContext* self); | ||||
void vala_code_context_set_debug (ValaCodeContext* self, gboolean value); | ||||
gint vala_code_context_get_optlevel (ValaCodeContext* self); | ||||
void vala_code_context_set_optlevel (ValaCodeContext* self, gint value); | ||||
ValaMethod* vala_code_context_get_module_init_method (ValaCodeContext* self ); | ValaMethod* vala_code_context_get_module_init_method (ValaCodeContext* self ); | |||
void vala_code_context_set_module_init_method (ValaCodeContext* self, ValaM ethod* value); | void vala_code_context_set_module_init_method (ValaCodeContext* self, ValaM ethod* value); | |||
GType vala_code_context_get_type (); | GType vala_code_context_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
2 lines changed or deleted | 27 lines changed or added | |||
valacodegenerator.h | valacodegenerator.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALACODEGENERATOR_H__ | #ifndef __VALACODEGENERATOR_H__ | |||
#define __VALACODEGENERATOR_H__ | #define __VALACODEGENERATOR_H__ | |||
typedef struct _ValaCodeGenerator ValaCodeGenerator; | ||||
typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | ||||
typedef struct _ValaCodeGeneratorPrivate ValaCodeGeneratorPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeincludedirective.h> | ||||
#include <stdlib.h> | ||||
#include <string.h> | ||||
#include <ccode/valaccodeidentifier.h> | ||||
#include <ccode/valaccodefunctioncall.h> | ||||
#include <ccode/valaccodestatement.h> | ||||
#include <ccode/valaccodeblock.h> | ||||
#include <ccode/valaccodeexpression.h> | ||||
#include <ccode/valaccodefragment.h> | ||||
#include <ccode/valaccodecommaexpression.h> | ||||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valanamespace.h> | |||
#include <vala/valaclass.h> | ||||
#include <vala/valainterface.h> | ||||
#include <vala/valatypereference.h> | ||||
#include <vala/valastruct.h> | ||||
#include <vala/valaproperty.h> | ||||
#include <vala/valasignal.h> | ||||
#include <vala/valadatatype.h> | ||||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaenumvalue.h> | #include <vala/valaenumvalue.h> | |||
#include <vala/valaflags.h> | #include <vala/valaflags.h> | |||
#include <vala/valaflagsvalue.h> | #include <vala/valaflagsvalue.h> | |||
#include <vala/valacallback.h> | #include <vala/valacallback.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/valamethod.h> | ||||
#include <vala/valacodenode.h> | ||||
#include <vala/valacreationmethod.h> | ||||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | ||||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valadestructor.h> | ||||
#include <vala/valablock.h> | #include <vala/valablock.h> | |||
#include <ccode/valaccodeblock.h> | ||||
#include <vala/valaemptystatement.h> | #include <vala/valaemptystatement.h> | |||
#include <vala/valastruct.h> | ||||
#include <vala/valadeclarationstatement.h> | #include <vala/valadeclarationstatement.h> | |||
#include <stdlib.h> | ||||
#include <string.h> | ||||
#include <vala/valavariabledeclarator.h> | #include <vala/valavariabledeclarator.h> | |||
#include <vala/valainitializerlist.h> | #include <vala/valainitializerlist.h> | |||
#include <vala/valatypereference.h> | ||||
#include <ccode/valaccodeexpression.h> | ||||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <ccode/valaccodefragment.h> | ||||
#include <vala/valaexpressionstatement.h> | #include <vala/valaexpressionstatement.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valaifstatement.h> | #include <vala/valaifstatement.h> | |||
#include <vala/valaswitchstatement.h> | #include <vala/valaswitchstatement.h> | |||
#include <vala/valawhilestatement.h> | #include <vala/valawhilestatement.h> | |||
#include <vala/valadostatement.h> | #include <vala/valadostatement.h> | |||
#include <vala/valaforstatement.h> | #include <vala/valaforstatement.h> | |||
#include <vala/valaforeachstatement.h> | #include <vala/valaforeachstatement.h> | |||
#include <vala/valabreakstatement.h> | #include <vala/valabreakstatement.h> | |||
#include <vala/valacontinuestatement.h> | #include <vala/valacontinuestatement.h> | |||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
#include <ccode/valaccodecommaexpression.h> | ||||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valalockstatement.h> | #include <vala/valalockstatement.h> | |||
#include <vala/valaarraycreationexpression.h> | #include <vala/valaarraycreationexpression.h> | |||
#include <vala/valabooleanliteral.h> | #include <vala/valabooleanliteral.h> | |||
#include <vala/valacharacterliteral.h> | #include <vala/valacharacterliteral.h> | |||
#include <vala/valaintegerliteral.h> | #include <vala/valaintegerliteral.h> | |||
#include <vala/valarealliteral.h> | #include <vala/valarealliteral.h> | |||
#include <vala/valastringliteral.h> | #include <vala/valastringliteral.h> | |||
#include <vala/valanullliteral.h> | #include <vala/valanullliteral.h> | |||
#include <vala/valaliteralexpression.h> | #include <vala/valaliteralexpression.h> | |||
#include <vala/valamemberaccess.h> | ||||
#include <vala/valaparenthesizedexpression.h> | #include <vala/valaparenthesizedexpression.h> | |||
#include <vala/valainvocationexpression.h> | ||||
#include <vala/valaelementaccess.h> | #include <vala/valaelementaccess.h> | |||
#include <vala/valabaseaccess.h> | #include <vala/valabaseaccess.h> | |||
#include <vala/valapostfixexpression.h> | #include <vala/valapostfixexpression.h> | |||
#include <vala/valamemberaccess.h> | ||||
#include <vala/valaobjectcreationexpression.h> | #include <vala/valaobjectcreationexpression.h> | |||
#include <vala/valasizeofexpression.h> | ||||
#include <vala/valatypeofexpression.h> | #include <vala/valatypeofexpression.h> | |||
#include <vala/valaunaryexpression.h> | #include <vala/valaunaryexpression.h> | |||
#include <vala/valacastexpression.h> | #include <vala/valacastexpression.h> | |||
#include <vala/valapointerindirection.h> | #include <vala/valapointerindirection.h> | |||
#include <vala/valaaddressofexpression.h> | #include <vala/valaaddressofexpression.h> | |||
#include <vala/valareferencetransferexpression.h> | #include <vala/valareferencetransferexpression.h> | |||
#include <vala/valabinaryexpression.h> | #include <vala/valabinaryexpression.h> | |||
#include <vala/valatypecheck.h> | #include <vala/valatypecheck.h> | |||
#include <vala/valaconditionalexpression.h> | #include <vala/valaconditionalexpression.h> | |||
#include <vala/valalambdaexpression.h> | #include <vala/valalambdaexpression.h> | |||
#include <vala/valaassignment.h> | #include <vala/valaassignment.h> | |||
#include <ccode/valaccodefunctioncall.h> | ||||
#include <vala/valaclass.h> | ||||
#include <vala/valainterface.h> | ||||
#include <ccode/valaccodeidentifier.h> | ||||
#include <vala/valasignal.h> | ||||
#include <vala/valadatatype.h> | ||||
#include <vala/valainvocationexpression.h> | ||||
#include <vala/valamethod.h> | ||||
#include <ccode/valaccodestatement.h> | ||||
#include <vala/valacodenode.h> | ||||
#include <vala/valacreationmethod.h> | ||||
#include <ccode/valaccodeincludedirective.h> | ||||
#include <vala/valasourcefile.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CODE_GENERATOR (vala_code_generator_get_type ()) | #define VALA_TYPE_CODE_GENERATOR (vala_code_generator_get_type ()) | |||
#define VALA_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_CODE_GENERATOR, ValaCodeGenerator)) | #define VALA_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_CODE_GENERATOR, ValaCodeGenerator)) | |||
#define VALA_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass)) | #define VALA_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass)) | |||
#define VALA_IS_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CODE_GENERATOR)) | #define VALA_IS_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CODE_GENERATOR)) | |||
#define VALA_IS_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CODE_GENERATOR)) | #define VALA_IS_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CODE_GENERATOR)) | |||
#define VALA_CODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass)) | #define VALA_CODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass)) | |||
typedef struct _ValaCodeGenerator ValaCodeGenerator; | ||||
typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | ||||
typedef struct _ValaCodeGeneratorPrivate ValaCodeGeneratorPrivate; | ||||
/** | /** | |||
* Code visitor generating C Code. | * Code visitor generating C Code. | |||
*/ | */ | |||
struct _ValaCodeGenerator { | struct _ValaCodeGenerator { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent; | |||
ValaCodeGeneratorPrivate * priv; | ValaCodeGeneratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeGeneratorClass { | struct _ValaCodeGeneratorClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent; | |||
}; | }; | |||
End of changes. 18 change blocks. | ||||
27 lines changed or deleted | 29 lines changed or added | |||
valacodenode.h | valacodenode.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACODENODE_H__ | #ifndef __VALACODENODE_H__ | |||
#define __VALACODENODE_H__ | #define __VALACODENODE_H__ | |||
#include <glib.h> | ||||
#include <glib-object.h> | ||||
#include <stdlib.h> | ||||
#include <string.h> | ||||
#include <ccode/valaccodenode.h> | ||||
G_BEGIN_DECLS | ||||
typedef struct _ValaAddressofExpression ValaAddressofExpression; | typedef struct _ValaAddressofExpression ValaAddressofExpression; | |||
typedef struct _ValaAddressofExpressionClass ValaAddressofExpressionClass; | typedef struct _ValaAddressofExpressionClass ValaAddressofExpressionClass; | |||
typedef struct _ValaExpression ValaExpression; | typedef struct _ValaExpression ValaExpression; | |||
typedef struct _ValaExpressionClass ValaExpressionClass; | typedef struct _ValaExpressionClass ValaExpressionClass; | |||
typedef struct _ValaCodeNode ValaCodeNode; | typedef struct _ValaCodeNode ValaCodeNode; | |||
typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | |||
typedef struct _ValaCodeVisitor ValaCodeVisitor; | typedef struct _ValaCodeVisitor ValaCodeVisitor; | |||
typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | |||
typedef struct _ValaSourceFile ValaSourceFile; | typedef struct _ValaSourceFile ValaSourceFile; | |||
typedef struct _ValaSourceFileClass ValaSourceFileClass; | typedef struct _ValaSourceFileClass ValaSourceFileClass; | |||
skipping to change at line 192 | skipping to change at line 183 | |||
typedef struct _ValaInvocationExpression ValaInvocationExpression; | typedef struct _ValaInvocationExpression ValaInvocationExpression; | |||
typedef struct _ValaInvocationExpressionClass ValaInvocationExpressionClass ; | typedef struct _ValaInvocationExpressionClass ValaInvocationExpressionClass ; | |||
typedef struct _ValaElementAccess ValaElementAccess; | typedef struct _ValaElementAccess ValaElementAccess; | |||
typedef struct _ValaElementAccessClass ValaElementAccessClass; | typedef struct _ValaElementAccessClass ValaElementAccessClass; | |||
typedef struct _ValaBaseAccess ValaBaseAccess; | typedef struct _ValaBaseAccess ValaBaseAccess; | |||
typedef struct _ValaBaseAccessClass ValaBaseAccessClass; | typedef struct _ValaBaseAccessClass ValaBaseAccessClass; | |||
typedef struct _ValaPostfixExpression ValaPostfixExpression; | typedef struct _ValaPostfixExpression ValaPostfixExpression; | |||
typedef struct _ValaPostfixExpressionClass ValaPostfixExpressionClass; | typedef struct _ValaPostfixExpressionClass ValaPostfixExpressionClass; | |||
typedef struct _ValaObjectCreationExpression ValaObjectCreationExpression; | typedef struct _ValaObjectCreationExpression ValaObjectCreationExpression; | |||
typedef struct _ValaObjectCreationExpressionClass ValaObjectCreationExpress ionClass; | typedef struct _ValaObjectCreationExpressionClass ValaObjectCreationExpress ionClass; | |||
typedef struct _ValaSizeofExpression ValaSizeofExpression; | ||||
typedef struct _ValaSizeofExpressionClass ValaSizeofExpressionClass; | ||||
typedef struct _ValaTypeofExpression ValaTypeofExpression; | typedef struct _ValaTypeofExpression ValaTypeofExpression; | |||
typedef struct _ValaTypeofExpressionClass ValaTypeofExpressionClass; | typedef struct _ValaTypeofExpressionClass ValaTypeofExpressionClass; | |||
typedef struct _ValaUnaryExpression ValaUnaryExpression; | typedef struct _ValaUnaryExpression ValaUnaryExpression; | |||
typedef struct _ValaUnaryExpressionClass ValaUnaryExpressionClass; | typedef struct _ValaUnaryExpressionClass ValaUnaryExpressionClass; | |||
typedef struct _ValaCastExpression ValaCastExpression; | typedef struct _ValaCastExpression ValaCastExpression; | |||
typedef struct _ValaCastExpressionClass ValaCastExpressionClass; | typedef struct _ValaCastExpressionClass ValaCastExpressionClass; | |||
typedef struct _ValaPointerIndirection ValaPointerIndirection; | typedef struct _ValaPointerIndirection ValaPointerIndirection; | |||
typedef struct _ValaPointerIndirectionClass ValaPointerIndirectionClass; | typedef struct _ValaPointerIndirectionClass ValaPointerIndirectionClass; | |||
typedef struct _ValaReferenceTransferExpression ValaReferenceTransferExpres sion; | typedef struct _ValaReferenceTransferExpression ValaReferenceTransferExpres sion; | |||
typedef struct _ValaReferenceTransferExpressionClass ValaReferenceTransferE xpressionClass; | typedef struct _ValaReferenceTransferExpressionClass ValaReferenceTransferE xpressionClass; | |||
typedef struct _ValaBinaryExpression ValaBinaryExpression; | typedef struct _ValaBinaryExpression ValaBinaryExpression; | |||
typedef struct _ValaBinaryExpressionClass ValaBinaryExpressionClass; | typedef struct _ValaBinaryExpressionClass ValaBinaryExpressionClass; | |||
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 _ValaLambdaExpression ValaLambdaExpression; | typedef struct _ValaLambdaExpression ValaLambdaExpression; | |||
typedef struct _ValaLambdaExpressionClass ValaLambdaExpressionClass; | typedef struct _ValaLambdaExpressionClass ValaLambdaExpressionClass; | |||
typedef struct _ValaAssignment ValaAssignment; | typedef struct _ValaAssignment ValaAssignment; | |||
typedef struct _ValaAssignmentClass ValaAssignmentClass; | typedef struct _ValaAssignmentClass ValaAssignmentClass; | |||
typedef struct _ValaCodeNodePrivate ValaCodeNodePrivate; | ||||
#include <glib.h> | ||||
#include <glib-object.h> | ||||
#include <stdlib.h> | ||||
#include <string.h> | ||||
#include <ccode/valaccodenode.h> | ||||
G_BEGIN_DECLS | ||||
#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)) | |||
#define VALA_IS_CODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_CODE_NODE)) | #define VALA_IS_CODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_CODE_NODE)) | |||
#define VALA_IS_CODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_CODE_NODE)) | #define VALA_IS_CODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_CODE_NODE)) | |||
#define VALA_CODE_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_CODE_NODE, ValaCodeNodeClass)) | #define VALA_CODE_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_CODE_NODE, ValaCodeNodeClass)) | |||
typedef struct _ValaCodeNodePrivate ValaCodeNodePrivate; | ||||
/** | /** | |||
* Represents a part of the parsed source code. | * Represents a part of the parsed source code. | |||
* | * | |||
* Code nodes get created by the parser and are used throughout the whole | * Code nodes get created by the parser and are used throughout the whole | |||
* compilation process. | * compilation process. | |||
*/ | */ | |||
struct _ValaCodeNode { | struct _ValaCodeNode { | |||
GObject parent; | GObject parent; | |||
ValaCodeNodePrivate * priv; | ValaCodeNodePrivate * priv; | |||
GList* attributes; | GList* attributes; | |||
}; | }; | |||
struct _ValaCodeNodeClass { | struct _ValaCodeNodeClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | |||
void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito r); | ||||
void (*replace) (ValaCodeNode* self, ValaCodeNode* old_node, ValaCod eNode* new_node); | void (*replace) (ValaCodeNode* self, ValaCodeNode* old_node, ValaCod eNode* new_node); | |||
char* (*to_string) (ValaCodeNode* self); | char* (*to_string) (ValaCodeNode* self); | |||
}; | }; | |||
void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | |||
void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v isitor); | ||||
void vala_code_node_replace (ValaCodeNode* self, ValaCodeNode* old_node, Va laCodeNode* new_node); | void vala_code_node_replace (ValaCodeNode* self, ValaCodeNode* old_node, Va laCodeNode* new_node); | |||
ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char * name); | ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char * name); | |||
char* vala_code_node_to_string (ValaCodeNode* self); | char* vala_code_node_to_string (ValaCodeNode* self); | |||
ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | |||
void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu e); | void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu e); | |||
ValaSymbol* vala_code_node_get_symbol (ValaCodeNode* self); | ValaSymbol* vala_code_node_get_symbol (ValaCodeNode* self); | |||
void vala_code_node_set_symbol (ValaCodeNode* self, ValaSymbol* value); | void vala_code_node_set_symbol (ValaCodeNode* self, ValaSymbol* value); | |||
ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel f); | ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel f); | |||
void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef erence* value); | void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef erence* value); | |||
ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | |||
End of changes. 6 change blocks. | ||||
11 lines changed or deleted | 13 lines changed or added | |||
valacodevisitor.h | valacodevisitor.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALACODEVISITOR_H__ | #ifndef __VALACODEVISITOR_H__ | |||
#define __VALACODEVISITOR_H__ | #define __VALACODEVISITOR_H__ | |||
typedef struct _ValaCodeVisitorPrivate ValaCodeVisitorPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CODE_VISITOR (vala_code_visitor_get_type ()) | #define VALA_TYPE_CODE_VISITOR (vala_code_visitor_get_type ()) | |||
#define VALA_CODE_VISITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CODE_VISITOR, ValaCodeVisitor)) | #define VALA_CODE_VISITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_CODE_VISITOR, ValaCodeVisitor)) | |||
#define VALA_CODE_VISITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CODE_VISITOR, ValaCodeVisitorClass)) | #define VALA_CODE_VISITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_CODE_VISITOR, ValaCodeVisitorClass)) | |||
#define VALA_IS_CODE_VISITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CODE_VISITOR)) | #define VALA_IS_CODE_VISITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CODE_VISITOR)) | |||
#define VALA_IS_CODE_VISITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_VISITOR)) | #define VALA_IS_CODE_VISITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_VISITOR)) | |||
#define VALA_CODE_VISITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_VISITOR, ValaCodeVisitorClass)) | #define VALA_CODE_VISITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_VISITOR, ValaCodeVisitorClass)) | |||
typedef struct _ValaCodeVisitorPrivate ValaCodeVisitorPrivate; | ||||
/** | /** | |||
* Abstract code node visitor for traversing source code tree. | * Abstract code node visitor for traversing source code tree. | |||
*/ | */ | |||
struct _ValaCodeVisitor { | struct _ValaCodeVisitor { | |||
GObject parent; | GObject parent; | |||
ValaCodeVisitorPrivate * priv; | ValaCodeVisitorPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeVisitorClass { | struct _ValaCodeVisitorClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
void (*visit_begin_source_file) (ValaCodeVisitor* self, ValaSourceFi | void (*visit_source_file) (ValaCodeVisitor* self, ValaSourceFile* so | |||
le* source_file); | urce_file); | |||
void (*visit_end_source_file) (ValaCodeVisitor* self, ValaSourceFile | void (*visit_namespace) (ValaCodeVisitor* self, ValaNamespace* ns); | |||
* source_file); | void (*visit_class) (ValaCodeVisitor* self, ValaClass* cl); | |||
void (*visit_begin_namespace) (ValaCodeVisitor* self, ValaNamespace* | void (*visit_struct) (ValaCodeVisitor* self, ValaStruct* st); | |||
ns); | void (*visit_interface) (ValaCodeVisitor* self, ValaInterface* iface | |||
void (*visit_end_namespace) (ValaCodeVisitor* self, ValaNamespace* n | ); | |||
s); | void (*visit_enum) (ValaCodeVisitor* self, ValaEnum* en); | |||
void (*visit_begin_class) (ValaCodeVisitor* self, ValaClass* cl); | ||||
void (*visit_end_class) (ValaCodeVisitor* self, ValaClass* cl); | ||||
void (*visit_begin_struct) (ValaCodeVisitor* self, ValaStruct* st); | ||||
void (*visit_end_struct) (ValaCodeVisitor* self, ValaStruct* st); | ||||
void (*visit_begin_interface) (ValaCodeVisitor* self, ValaInterface* | ||||
iface); | ||||
void (*visit_end_interface) (ValaCodeVisitor* self, ValaInterface* i | ||||
face); | ||||
void (*visit_begin_enum) (ValaCodeVisitor* self, ValaEnum* en); | ||||
void (*visit_end_enum) (ValaCodeVisitor* self, ValaEnum* en); | ||||
void (*visit_enum_value) (ValaCodeVisitor* self, ValaEnumValue* ev); | void (*visit_enum_value) (ValaCodeVisitor* self, ValaEnumValue* ev); | |||
void (*visit_begin_flags) (ValaCodeVisitor* self, ValaFlags* fl); | void (*visit_flags) (ValaCodeVisitor* self, ValaFlags* fl); | |||
void (*visit_end_flags) (ValaCodeVisitor* self, ValaFlags* fl); | ||||
void (*visit_flags_value) (ValaCodeVisitor* self, ValaFlagsValue* fv ); | void (*visit_flags_value) (ValaCodeVisitor* self, ValaFlagsValue* fv ); | |||
void (*visit_begin_callback) (ValaCodeVisitor* self, ValaCallback* c | void (*visit_callback) (ValaCodeVisitor* self, ValaCallback* cb); | |||
b); | ||||
void (*visit_end_callback) (ValaCodeVisitor* self, ValaCallback* cb) | ||||
; | ||||
void (*visit_member) (ValaCodeVisitor* self, ValaMember* m); | void (*visit_member) (ValaCodeVisitor* self, ValaMember* m); | |||
void (*visit_constant) (ValaCodeVisitor* self, ValaConstant* c); | void (*visit_constant) (ValaCodeVisitor* self, ValaConstant* c); | |||
void (*visit_field) (ValaCodeVisitor* self, ValaField* f); | void (*visit_field) (ValaCodeVisitor* self, ValaField* f); | |||
void (*visit_begin_method) (ValaCodeVisitor* self, ValaMethod* m); | void (*visit_method) (ValaCodeVisitor* self, ValaMethod* m); | |||
void (*visit_end_method) (ValaCodeVisitor* self, ValaMethod* m); | void (*visit_creation_method) (ValaCodeVisitor* self, ValaCreationMe | |||
void (*visit_begin_creation_method) (ValaCodeVisitor* self, ValaCrea | thod* m); | |||
tionMethod* m); | ||||
void (*visit_end_creation_method) (ValaCodeVisitor* self, ValaCreati | ||||
onMethod* m); | ||||
void (*visit_formal_parameter) (ValaCodeVisitor* self, ValaFormalPar ameter* p); | void (*visit_formal_parameter) (ValaCodeVisitor* self, ValaFormalPar ameter* p); | |||
void (*visit_begin_property) (ValaCodeVisitor* self, ValaProperty* p | void (*visit_property) (ValaCodeVisitor* self, ValaProperty* prop); | |||
rop); | void (*visit_property_accessor) (ValaCodeVisitor* self, ValaProperty | |||
void (*visit_end_property) (ValaCodeVisitor* self, ValaProperty* pro | Accessor* acc); | |||
p); | void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | |||
void (*visit_begin_property_accessor) (ValaCodeVisitor* self, ValaPr | void (*visit_constructor) (ValaCodeVisitor* self, ValaConstructor* c | |||
opertyAccessor* acc); | ); | |||
void (*visit_end_property_accessor) (ValaCodeVisitor* self, ValaProp | void (*visit_destructor) (ValaCodeVisitor* self, ValaDestructor* d); | |||
ertyAccessor* acc); | ||||
void (*visit_begin_signal) (ValaCodeVisitor* self, ValaSignal* sig); | ||||
void (*visit_end_signal) (ValaCodeVisitor* self, ValaSignal* sig); | ||||
void (*visit_begin_constructor) (ValaCodeVisitor* self, ValaConstruc | ||||
tor* c); | ||||
void (*visit_end_constructor) (ValaCodeVisitor* self, ValaConstructo | ||||
r* c); | ||||
void (*visit_begin_destructor) (ValaCodeVisitor* self, ValaDestructo | ||||
r* d); | ||||
void (*visit_end_destructor) (ValaCodeVisitor* self, ValaDestructor* | ||||
d); | ||||
void (*visit_named_argument) (ValaCodeVisitor* self, ValaNamedArgume nt* n); | void (*visit_named_argument) (ValaCodeVisitor* self, ValaNamedArgume nt* n); | |||
void (*visit_type_parameter) (ValaCodeVisitor* self, ValaTypeParamet er* p); | void (*visit_type_parameter) (ValaCodeVisitor* self, ValaTypeParamet er* p); | |||
void (*visit_namespace_reference) (ValaCodeVisitor* self, ValaNamesp aceReference* ns); | void (*visit_namespace_reference) (ValaCodeVisitor* self, ValaNamesp aceReference* ns); | |||
void (*visit_type_reference) (ValaCodeVisitor* self, ValaTypeReferen ce* type); | void (*visit_type_reference) (ValaCodeVisitor* self, ValaTypeReferen ce* type); | |||
void (*visit_begin_block) (ValaCodeVisitor* self, ValaBlock* b); | void (*visit_begin_block) (ValaCodeVisitor* self, ValaBlock* b); | |||
void (*visit_end_block) (ValaCodeVisitor* self, ValaBlock* b); | void (*visit_end_block) (ValaCodeVisitor* self, ValaBlock* b); | |||
void (*visit_empty_statement) (ValaCodeVisitor* self, ValaEmptyState ment* stmt); | void (*visit_empty_statement) (ValaCodeVisitor* self, ValaEmptyState ment* stmt); | |||
void (*visit_declaration_statement) (ValaCodeVisitor* self, ValaDecl arationStatement* stmt); | void (*visit_declaration_statement) (ValaCodeVisitor* self, ValaDecl arationStatement* stmt); | |||
void (*visit_local_variable_declaration) (ValaCodeVisitor* self, Val aLocalVariableDeclaration* decl); | void (*visit_local_variable_declaration) (ValaCodeVisitor* self, Val aLocalVariableDeclaration* decl); | |||
void (*visit_variable_declarator) (ValaCodeVisitor* self, ValaVariab leDeclarator* decl); | void (*visit_variable_declarator) (ValaCodeVisitor* self, ValaVariab leDeclarator* decl); | |||
skipping to change at line 138 | skipping to change at line 122 | |||
void (*visit_literal_expression) (ValaCodeVisitor* self, ValaLiteral Expression* expr); | void (*visit_literal_expression) (ValaCodeVisitor* self, ValaLiteral Expression* expr); | |||
void (*visit_parenthesized_expression) (ValaCodeVisitor* self, ValaP arenthesizedExpression* expr); | void (*visit_parenthesized_expression) (ValaCodeVisitor* self, ValaP arenthesizedExpression* expr); | |||
void (*visit_member_access) (ValaCodeVisitor* self, ValaMemberAccess * expr); | void (*visit_member_access) (ValaCodeVisitor* self, ValaMemberAccess * expr); | |||
void (*visit_begin_invocation_expression) (ValaCodeVisitor* self, Va laInvocationExpression* expr); | void (*visit_begin_invocation_expression) (ValaCodeVisitor* self, Va laInvocationExpression* expr); | |||
void (*visit_end_invocation_expression) (ValaCodeVisitor* self, Vala InvocationExpression* expr); | void (*visit_end_invocation_expression) (ValaCodeVisitor* self, Vala InvocationExpression* expr); | |||
void (*visit_element_access) (ValaCodeVisitor* self, ValaElementAcce ss* expr); | void (*visit_element_access) (ValaCodeVisitor* self, ValaElementAcce ss* expr); | |||
void (*visit_base_access) (ValaCodeVisitor* self, ValaBaseAccess* ex pr); | void (*visit_base_access) (ValaCodeVisitor* self, ValaBaseAccess* ex pr); | |||
void (*visit_postfix_expression) (ValaCodeVisitor* self, ValaPostfix Expression* expr); | void (*visit_postfix_expression) (ValaCodeVisitor* self, ValaPostfix Expression* expr); | |||
void (*visit_begin_object_creation_expression) (ValaCodeVisitor* sel f, ValaObjectCreationExpression* expr); | void (*visit_begin_object_creation_expression) (ValaCodeVisitor* sel f, ValaObjectCreationExpression* expr); | |||
void (*visit_end_object_creation_expression) (ValaCodeVisitor* self, ValaObjectCreationExpression* expr); | void (*visit_end_object_creation_expression) (ValaCodeVisitor* self, ValaObjectCreationExpression* expr); | |||
void (*visit_sizeof_expression) (ValaCodeVisitor* self, ValaSizeofEx pression* expr); | ||||
void (*visit_typeof_expression) (ValaCodeVisitor* self, ValaTypeofEx pression* expr); | void (*visit_typeof_expression) (ValaCodeVisitor* self, ValaTypeofEx pression* expr); | |||
void (*visit_unary_expression) (ValaCodeVisitor* self, ValaUnaryExpr ession* expr); | void (*visit_unary_expression) (ValaCodeVisitor* self, ValaUnaryExpr ession* expr); | |||
void (*visit_cast_expression) (ValaCodeVisitor* self, ValaCastExpres sion* expr); | void (*visit_cast_expression) (ValaCodeVisitor* self, ValaCastExpres sion* expr); | |||
void (*visit_pointer_indirection) (ValaCodeVisitor* self, ValaPointe rIndirection* expr); | void (*visit_pointer_indirection) (ValaCodeVisitor* self, ValaPointe rIndirection* expr); | |||
void (*visit_addressof_expression) (ValaCodeVisitor* self, ValaAddre ssofExpression* expr); | void (*visit_addressof_expression) (ValaCodeVisitor* self, ValaAddre ssofExpression* expr); | |||
void (*visit_reference_transfer_expression) (ValaCodeVisitor* self, ValaReferenceTransferExpression* expr); | void (*visit_reference_transfer_expression) (ValaCodeVisitor* self, ValaReferenceTransferExpression* expr); | |||
void (*visit_binary_expression) (ValaCodeVisitor* self, ValaBinaryEx pression* expr); | void (*visit_binary_expression) (ValaCodeVisitor* self, ValaBinaryEx pression* expr); | |||
void (*visit_type_check) (ValaCodeVisitor* self, ValaTypeCheck* expr ); | void (*visit_type_check) (ValaCodeVisitor* self, ValaTypeCheck* expr ); | |||
void (*visit_conditional_expression) (ValaCodeVisitor* self, ValaCon ditionalExpression* expr); | void (*visit_conditional_expression) (ValaCodeVisitor* self, ValaCon ditionalExpression* expr); | |||
void (*visit_begin_lambda_expression) (ValaCodeVisitor* self, ValaLa mbdaExpression* expr); | void (*visit_begin_lambda_expression) (ValaCodeVisitor* self, ValaLa mbdaExpression* expr); | |||
void (*visit_end_lambda_expression) (ValaCodeVisitor* self, ValaLamb daExpression* expr); | void (*visit_end_lambda_expression) (ValaCodeVisitor* self, ValaLamb daExpression* expr); | |||
void (*visit_begin_assignment) (ValaCodeVisitor* self, ValaAssignmen t* a); | void (*visit_begin_assignment) (ValaCodeVisitor* self, ValaAssignmen t* a); | |||
void (*visit_end_assignment) (ValaCodeVisitor* self, ValaAssignment* a); | void (*visit_end_assignment) (ValaCodeVisitor* self, ValaAssignment* a); | |||
void (*visit_end_full_expression) (ValaCodeVisitor* self, ValaExpres sion* expr); | void (*visit_end_full_expression) (ValaCodeVisitor* self, ValaExpres sion* expr); | |||
}; | }; | |||
void vala_code_visitor_visit_begin_source_file (ValaCodeVisitor* self, Vala | void vala_code_visitor_visit_source_file (ValaCodeVisitor* self, ValaSource | |||
SourceFile* source_file); | File* source_file); | |||
void vala_code_visitor_visit_end_source_file (ValaCodeVisitor* self, ValaSo | void vala_code_visitor_visit_namespace (ValaCodeVisitor* self, ValaNamespac | |||
urceFile* source_file); | e* ns); | |||
void vala_code_visitor_visit_begin_namespace (ValaCodeVisitor* self, ValaNa | void vala_code_visitor_visit_class (ValaCodeVisitor* self, ValaClass* cl); | |||
mespace* ns); | void vala_code_visitor_visit_struct (ValaCodeVisitor* self, ValaStruct* st) | |||
void vala_code_visitor_visit_end_namespace (ValaCodeVisitor* self, ValaName | ; | |||
space* ns); | void vala_code_visitor_visit_interface (ValaCodeVisitor* self, ValaInterfac | |||
void vala_code_visitor_visit_begin_class (ValaCodeVisitor* self, ValaClass* | e* iface); | |||
cl); | void vala_code_visitor_visit_enum (ValaCodeVisitor* self, ValaEnum* en); | |||
void vala_code_visitor_visit_end_class (ValaCodeVisitor* self, ValaClass* c | ||||
l); | ||||
void vala_code_visitor_visit_begin_struct (ValaCodeVisitor* self, ValaStruc | ||||
t* st); | ||||
void vala_code_visitor_visit_end_struct (ValaCodeVisitor* self, ValaStruct* | ||||
st); | ||||
void vala_code_visitor_visit_begin_interface (ValaCodeVisitor* self, ValaIn | ||||
terface* iface); | ||||
void vala_code_visitor_visit_end_interface (ValaCodeVisitor* self, ValaInte | ||||
rface* iface); | ||||
void vala_code_visitor_visit_begin_enum (ValaCodeVisitor* self, ValaEnum* e | ||||
n); | ||||
void vala_code_visitor_visit_end_enum (ValaCodeVisitor* self, ValaEnum* en) | ||||
; | ||||
void vala_code_visitor_visit_enum_value (ValaCodeVisitor* self, ValaEnumVal ue* ev); | void vala_code_visitor_visit_enum_value (ValaCodeVisitor* self, ValaEnumVal ue* ev); | |||
void vala_code_visitor_visit_begin_flags (ValaCodeVisitor* self, ValaFlags* | void vala_code_visitor_visit_flags (ValaCodeVisitor* self, ValaFlags* fl); | |||
fl); | ||||
void vala_code_visitor_visit_end_flags (ValaCodeVisitor* self, ValaFlags* f | ||||
l); | ||||
void vala_code_visitor_visit_flags_value (ValaCodeVisitor* self, ValaFlagsV alue* fv); | void vala_code_visitor_visit_flags_value (ValaCodeVisitor* self, ValaFlagsV alue* fv); | |||
void vala_code_visitor_visit_begin_callback (ValaCodeVisitor* self, ValaCal | void vala_code_visitor_visit_callback (ValaCodeVisitor* self, ValaCallback* | |||
lback* cb); | cb); | |||
void vala_code_visitor_visit_end_callback (ValaCodeVisitor* self, ValaCallb | ||||
ack* cb); | ||||
void vala_code_visitor_visit_member (ValaCodeVisitor* self, ValaMember* m); | void vala_code_visitor_visit_member (ValaCodeVisitor* self, ValaMember* m); | |||
void vala_code_visitor_visit_constant (ValaCodeVisitor* self, ValaConstant* c); | void vala_code_visitor_visit_constant (ValaCodeVisitor* self, ValaConstant* c); | |||
void vala_code_visitor_visit_field (ValaCodeVisitor* self, ValaField* f); | void vala_code_visitor_visit_field (ValaCodeVisitor* self, ValaField* f); | |||
void vala_code_visitor_visit_begin_method (ValaCodeVisitor* self, ValaMetho | void vala_code_visitor_visit_method (ValaCodeVisitor* self, ValaMethod* m); | |||
d* m); | void vala_code_visitor_visit_creation_method (ValaCodeVisitor* self, ValaCr | |||
void vala_code_visitor_visit_end_method (ValaCodeVisitor* self, ValaMethod* | eationMethod* m); | |||
m); | ||||
void vala_code_visitor_visit_begin_creation_method (ValaCodeVisitor* self, | ||||
ValaCreationMethod* m); | ||||
void vala_code_visitor_visit_end_creation_method (ValaCodeVisitor* self, Va | ||||
laCreationMethod* m); | ||||
void vala_code_visitor_visit_formal_parameter (ValaCodeVisitor* self, ValaF ormalParameter* p); | void vala_code_visitor_visit_formal_parameter (ValaCodeVisitor* self, ValaF ormalParameter* p); | |||
void vala_code_visitor_visit_begin_property (ValaCodeVisitor* self, ValaPro | void vala_code_visitor_visit_property (ValaCodeVisitor* self, ValaProperty* | |||
perty* prop); | prop); | |||
void vala_code_visitor_visit_end_property (ValaCodeVisitor* self, ValaPrope | void vala_code_visitor_visit_property_accessor (ValaCodeVisitor* self, Vala | |||
rty* prop); | PropertyAccessor* acc); | |||
void vala_code_visitor_visit_begin_property_accessor (ValaCodeVisitor* self | void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig | |||
, ValaPropertyAccessor* acc); | ); | |||
void vala_code_visitor_visit_end_property_accessor (ValaCodeVisitor* self, | void vala_code_visitor_visit_constructor (ValaCodeVisitor* self, ValaConstr | |||
ValaPropertyAccessor* acc); | uctor* c); | |||
void vala_code_visitor_visit_begin_signal (ValaCodeVisitor* self, ValaSigna | void vala_code_visitor_visit_destructor (ValaCodeVisitor* self, ValaDestruc | |||
l* sig); | tor* d); | |||
void vala_code_visitor_visit_end_signal (ValaCodeVisitor* self, ValaSignal* | ||||
sig); | ||||
void vala_code_visitor_visit_begin_constructor (ValaCodeVisitor* self, Vala | ||||
Constructor* c); | ||||
void vala_code_visitor_visit_end_constructor (ValaCodeVisitor* self, ValaCo | ||||
nstructor* c); | ||||
void vala_code_visitor_visit_begin_destructor (ValaCodeVisitor* self, ValaD | ||||
estructor* d); | ||||
void vala_code_visitor_visit_end_destructor (ValaCodeVisitor* self, ValaDes | ||||
tructor* d); | ||||
void vala_code_visitor_visit_named_argument (ValaCodeVisitor* self, ValaNam edArgument* n); | void vala_code_visitor_visit_named_argument (ValaCodeVisitor* self, ValaNam edArgument* n); | |||
void vala_code_visitor_visit_type_parameter (ValaCodeVisitor* self, ValaTyp eParameter* p); | void vala_code_visitor_visit_type_parameter (ValaCodeVisitor* self, ValaTyp eParameter* p); | |||
void vala_code_visitor_visit_namespace_reference (ValaCodeVisitor* self, Va laNamespaceReference* ns); | void vala_code_visitor_visit_namespace_reference (ValaCodeVisitor* self, Va laNamespaceReference* ns); | |||
void vala_code_visitor_visit_type_reference (ValaCodeVisitor* self, ValaTyp eReference* type); | void vala_code_visitor_visit_type_reference (ValaCodeVisitor* self, ValaTyp eReference* type); | |||
void vala_code_visitor_visit_begin_block (ValaCodeVisitor* self, ValaBlock* b); | void vala_code_visitor_visit_begin_block (ValaCodeVisitor* self, ValaBlock* b); | |||
void vala_code_visitor_visit_end_block (ValaCodeVisitor* self, ValaBlock* b ); | void vala_code_visitor_visit_end_block (ValaCodeVisitor* self, ValaBlock* b ); | |||
void vala_code_visitor_visit_empty_statement (ValaCodeVisitor* self, ValaEm ptyStatement* stmt); | void vala_code_visitor_visit_empty_statement (ValaCodeVisitor* self, ValaEm ptyStatement* stmt); | |||
void vala_code_visitor_visit_declaration_statement (ValaCodeVisitor* self, ValaDeclarationStatement* stmt); | void vala_code_visitor_visit_declaration_statement (ValaCodeVisitor* self, ValaDeclarationStatement* stmt); | |||
void vala_code_visitor_visit_local_variable_declaration (ValaCodeVisitor* s elf, ValaLocalVariableDeclaration* decl); | void vala_code_visitor_visit_local_variable_declaration (ValaCodeVisitor* s elf, ValaLocalVariableDeclaration* decl); | |||
void vala_code_visitor_visit_variable_declarator (ValaCodeVisitor* self, Va laVariableDeclarator* decl); | void vala_code_visitor_visit_variable_declarator (ValaCodeVisitor* self, Va laVariableDeclarator* decl); | |||
skipping to change at line 241 | skipping to change at line 211 | |||
void vala_code_visitor_visit_literal_expression (ValaCodeVisitor* self, Val aLiteralExpression* expr); | void vala_code_visitor_visit_literal_expression (ValaCodeVisitor* self, Val aLiteralExpression* expr); | |||
void vala_code_visitor_visit_parenthesized_expression (ValaCodeVisitor* sel f, ValaParenthesizedExpression* expr); | void vala_code_visitor_visit_parenthesized_expression (ValaCodeVisitor* sel f, ValaParenthesizedExpression* expr); | |||
void vala_code_visitor_visit_member_access (ValaCodeVisitor* self, ValaMemb erAccess* expr); | void vala_code_visitor_visit_member_access (ValaCodeVisitor* self, ValaMemb erAccess* expr); | |||
void vala_code_visitor_visit_begin_invocation_expression (ValaCodeVisitor* self, ValaInvocationExpression* expr); | void vala_code_visitor_visit_begin_invocation_expression (ValaCodeVisitor* self, ValaInvocationExpression* expr); | |||
void vala_code_visitor_visit_end_invocation_expression (ValaCodeVisitor* se lf, ValaInvocationExpression* expr); | void vala_code_visitor_visit_end_invocation_expression (ValaCodeVisitor* se lf, ValaInvocationExpression* expr); | |||
void vala_code_visitor_visit_element_access (ValaCodeVisitor* self, ValaEle mentAccess* expr); | void vala_code_visitor_visit_element_access (ValaCodeVisitor* self, ValaEle mentAccess* expr); | |||
void vala_code_visitor_visit_base_access (ValaCodeVisitor* self, ValaBaseAc cess* expr); | void vala_code_visitor_visit_base_access (ValaCodeVisitor* self, ValaBaseAc cess* expr); | |||
void vala_code_visitor_visit_postfix_expression (ValaCodeVisitor* self, Val aPostfixExpression* expr); | void vala_code_visitor_visit_postfix_expression (ValaCodeVisitor* self, Val aPostfixExpression* expr); | |||
void vala_code_visitor_visit_begin_object_creation_expression (ValaCodeVisi tor* self, ValaObjectCreationExpression* expr); | void vala_code_visitor_visit_begin_object_creation_expression (ValaCodeVisi tor* self, ValaObjectCreationExpression* expr); | |||
void vala_code_visitor_visit_end_object_creation_expression (ValaCodeVisito r* self, ValaObjectCreationExpression* expr); | void vala_code_visitor_visit_end_object_creation_expression (ValaCodeVisito r* self, ValaObjectCreationExpression* expr); | |||
void vala_code_visitor_visit_sizeof_expression (ValaCodeVisitor* self, Vala SizeofExpression* expr); | ||||
void vala_code_visitor_visit_typeof_expression (ValaCodeVisitor* self, Vala TypeofExpression* expr); | void vala_code_visitor_visit_typeof_expression (ValaCodeVisitor* self, Vala TypeofExpression* expr); | |||
void vala_code_visitor_visit_unary_expression (ValaCodeVisitor* self, ValaU naryExpression* expr); | void vala_code_visitor_visit_unary_expression (ValaCodeVisitor* self, ValaU naryExpression* expr); | |||
void vala_code_visitor_visit_cast_expression (ValaCodeVisitor* self, ValaCa stExpression* expr); | void vala_code_visitor_visit_cast_expression (ValaCodeVisitor* self, ValaCa stExpression* expr); | |||
void vala_code_visitor_visit_pointer_indirection (ValaCodeVisitor* self, Va laPointerIndirection* expr); | void vala_code_visitor_visit_pointer_indirection (ValaCodeVisitor* self, Va laPointerIndirection* expr); | |||
void vala_code_visitor_visit_addressof_expression (ValaCodeVisitor* self, V alaAddressofExpression* expr); | void vala_code_visitor_visit_addressof_expression (ValaCodeVisitor* self, V alaAddressofExpression* expr); | |||
void vala_code_visitor_visit_reference_transfer_expression (ValaCodeVisitor * self, ValaReferenceTransferExpression* expr); | void vala_code_visitor_visit_reference_transfer_expression (ValaCodeVisitor * self, ValaReferenceTransferExpression* expr); | |||
void vala_code_visitor_visit_binary_expression (ValaCodeVisitor* self, Vala BinaryExpression* expr); | void vala_code_visitor_visit_binary_expression (ValaCodeVisitor* self, Vala BinaryExpression* expr); | |||
void vala_code_visitor_visit_type_check (ValaCodeVisitor* self, ValaTypeChe ck* expr); | void vala_code_visitor_visit_type_check (ValaCodeVisitor* self, ValaTypeChe ck* expr); | |||
void vala_code_visitor_visit_conditional_expression (ValaCodeVisitor* self, ValaConditionalExpression* expr); | void vala_code_visitor_visit_conditional_expression (ValaCodeVisitor* self, ValaConditionalExpression* expr); | |||
void vala_code_visitor_visit_begin_lambda_expression (ValaCodeVisitor* self , ValaLambdaExpression* expr); | void vala_code_visitor_visit_begin_lambda_expression (ValaCodeVisitor* self , ValaLambdaExpression* expr); | |||
End of changes. 14 change blocks. | ||||
110 lines changed or deleted | 49 lines changed or added | |||
valaconditionalexpression.h | valaconditionalexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACONDITIONALEXPRESSION_H__ | #ifndef __VALACONDITIONALEXPRESSION_H__ | |||
#define __VALACONDITIONALEXPRESSION_H__ | #define __VALACONDITIONALEXPRESSION_H__ | |||
typedef struct _ValaConditionalExpressionPrivate ValaConditionalExpressionP rivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CONDITIONAL_EXPRESSION (vala_conditional_expression_get_t ype ()) | #define VALA_TYPE_CONDITIONAL_EXPRESSION (vala_conditional_expression_get_t ype ()) | |||
#define VALA_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CONDITIONAL_EXPRESSION, ValaConditionalExpression)) | #define VALA_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_CONDITIONAL_EXPRESSION, ValaConditionalExpression)) | |||
#define VALA_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CONDITIONAL_EXPRESSION, ValaConditionalExpressionClass)) | #define VALA_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_CONDITIONAL_EXPRESSION, ValaConditionalExpressionClass)) | |||
#define VALA_IS_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CONDITIONAL_EXPRESSION)) | #define VALA_IS_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CONDITIONAL_EXPRESSION)) | |||
#define VALA_IS_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CONDITIONAL_EXPRESSION)) | #define VALA_IS_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CONDITIONAL_EXPRESSION)) | |||
#define VALA_CONDITIONAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CONDITIONAL_EXPRESSION, ValaConditionalExpressionClass )) | #define VALA_CONDITIONAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CONDITIONAL_EXPRESSION, ValaConditionalExpressionClass )) | |||
typedef struct _ValaConditionalExpressionPrivate ValaConditionalExpressionP | ||||
rivate; | ||||
/** | /** | |||
* Represents a conditional expression in the source code. | * Represents a conditional expression in the source code. | |||
*/ | */ | |||
struct _ValaConditionalExpression { | struct _ValaConditionalExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaConditionalExpressionPrivate * priv; | ValaConditionalExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaConditionalExpressionClass { | struct _ValaConditionalExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valaconstant.h | valaconstant.h | |||
---|---|---|---|---|
/* valaconstant.vala | /* valaconstant.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACONSTANT_H__ | #ifndef __VALACONSTANT_H__ | |||
#define __VALACONSTANT_H__ | #define __VALACONSTANT_H__ | |||
typedef struct _ValaConstantPrivate ValaConstantPrivate; | ||||
#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/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valalockable.h> | #include <vala/valalockable.h> | |||
#include <vala/valamemberaccessibility.h> | #include <vala/valamemberaccessibility.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CONSTANT (vala_constant_get_type ()) | #define VALA_TYPE_CONSTANT (vala_constant_get_type ()) | |||
#define VALA_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CO NSTANT, ValaConstant)) | #define VALA_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CO NSTANT, ValaConstant)) | |||
#define VALA_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_ TYPE_CONSTANT, ValaConstantClass)) | #define VALA_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_ TYPE_CONSTANT, ValaConstantClass)) | |||
#define VALA_IS_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _CONSTANT)) | #define VALA_IS_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _CONSTANT)) | |||
#define VALA_IS_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_CONSTANT)) | #define VALA_IS_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_CONSTANT)) | |||
#define VALA_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_CONSTANT, ValaConstantClass)) | #define VALA_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_CONSTANT, ValaConstantClass)) | |||
typedef struct _ValaConstantPrivate ValaConstantPrivate; | ||||
/** | /** | |||
* Represents a type member with a constant value. | * Represents a type member with a constant value. | |||
*/ | */ | |||
struct _ValaConstant { | struct _ValaConstant { | |||
ValaMember parent; | ValaMember parent; | |||
ValaConstantPrivate * priv; | ValaConstantPrivate * priv; | |||
ValaMemberAccessibility access; | ValaMemberAccessibility access; | |||
}; | }; | |||
struct _ValaConstantClass { | struct _ValaConstantClass { | |||
ValaMemberClass parent; | ValaMemberClass parent; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valaconstructor.h | valaconstructor.h | |||
---|---|---|---|---|
/* valaconstructor.vala | /* valaconstructor.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACONSTRUCTOR_H__ | #ifndef __VALACONSTRUCTOR_H__ | |||
#define __VALACONSTRUCTOR_H__ | #define __VALACONSTRUCTOR_H__ | |||
typedef struct _ValaConstructorPrivate ValaConstructorPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CONSTRUCTOR (vala_constructor_get_type ()) | #define VALA_TYPE_CONSTRUCTOR (vala_constructor_get_type ()) | |||
#define VALA_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _CONSTRUCTOR, ValaConstructor)) | #define VALA_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _CONSTRUCTOR, ValaConstructor)) | |||
#define VALA_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | #define VALA_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | |||
#define VALA_IS_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_CONSTRUCTOR)) | #define VALA_IS_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_CONSTRUCTOR)) | |||
#define VALA_IS_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CONSTRUCTOR)) | #define VALA_IS_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CONSTRUCTOR)) | |||
#define VALA_CONSTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | #define VALA_CONSTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | |||
typedef struct _ValaConstructorPrivate ValaConstructorPrivate; | ||||
/** | /** | |||
* Represents a class or instance constructor. | * Represents a class or instance constructor. | |||
*/ | */ | |||
struct _ValaConstructor { | struct _ValaConstructor { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaConstructorPrivate * priv; | ValaConstructorPrivate * priv; | |||
}; | }; | |||
struct _ValaConstructorClass { | struct _ValaConstructorClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valacontinuestatement.h | valacontinuestatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACONTINUESTATEMENT_H__ | #ifndef __VALACONTINUESTATEMENT_H__ | |||
#define __VALACONTINUESTATEMENT_H__ | #define __VALACONTINUESTATEMENT_H__ | |||
typedef struct _ValaContinueStatementPrivate ValaContinueStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CONTINUE_STATEMENT (vala_continue_statement_get_type ()) | #define VALA_TYPE_CONTINUE_STATEMENT (vala_continue_statement_get_type ()) | |||
#define VALA_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_CONTINUE_STATEMENT, ValaContinueStatement)) | #define VALA_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_CONTINUE_STATEMENT, ValaContinueStatement)) | |||
#define VALA_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | #define VALA_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | |||
#define VALA_IS_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CONTINUE_STATEMENT)) | #define VALA_IS_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CONTINUE_STATEMENT)) | |||
#define VALA_IS_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CONTINUE_STATEMENT)) | #define VALA_IS_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CONTINUE_STATEMENT)) | |||
#define VALA_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | #define VALA_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | |||
typedef struct _ValaContinueStatementPrivate ValaContinueStatementPrivate; | ||||
/** | /** | |||
* Represents a continue statement in the source code. | * Represents a continue statement in the source code. | |||
*/ | */ | |||
struct _ValaContinueStatement { | struct _ValaContinueStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaContinueStatementPrivate * priv; | ValaContinueStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaContinueStatementClass { | struct _ValaContinueStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valacreationmethod.h | valacreationmethod.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Raffaele Sandrini <j@bitron.ch> | * Raffaele Sandrini <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALACREATIONMETHOD_H__ | #ifndef __VALACREATIONMETHOD_H__ | |||
#define __VALACREATIONMETHOD_H__ | #define __VALACREATIONMETHOD_H__ | |||
typedef struct _ValaCreationMethodPrivate ValaCreationMethodPrivate; | ||||
#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/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CREATION_METHOD (vala_creation_method_get_type ()) | #define VALA_TYPE_CREATION_METHOD (vala_creation_method_get_type ()) | |||
#define VALA_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CREATION_METHOD, ValaCreationMethod)) | #define VALA_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CREATION_METHOD, ValaCreationMethod)) | |||
#define VALA_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | #define VALA_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | |||
#define VALA_IS_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CREATION_METHOD)) | #define VALA_IS_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CREATION_METHOD)) | |||
#define VALA_IS_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CREATION_METHOD)) | #define VALA_IS_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CREATION_METHOD)) | |||
#define VALA_CREATION_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | #define VALA_CREATION_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | |||
typedef struct _ValaCreationMethodPrivate ValaCreationMethodPrivate; | ||||
/** | /** | |||
* 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; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valadatatype.h | valadatatype.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALADATATYPE_H__ | #ifndef __VALADATATYPE_H__ | |||
#define __VALADATATYPE_H__ | #define __VALADATATYPE_H__ | |||
typedef struct _ValaDataTypePrivate ValaDataTypePrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valamemberaccessibility.h> | #include <vala/valamemberaccessibility.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ()) | #define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ()) | |||
#define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_D ATA_TYPE, ValaDataType)) | #define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_D ATA_TYPE, ValaDataType)) | |||
#define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_DATA_TYPE, ValaDataTypeClass)) | #define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_DATA_TYPE, ValaDataTypeClass)) | |||
#define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_DATA_TYPE)) | #define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_DATA_TYPE)) | |||
#define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_DATA_TYPE)) | #define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_DATA_TYPE)) | |||
#define VALA_DATA_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_DATA_TYPE, ValaDataTypeClass)) | #define VALA_DATA_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_DATA_TYPE, ValaDataTypeClass)) | |||
typedef struct _ValaDataTypePrivate ValaDataTypePrivate; | ||||
/** | /** | |||
* Represents a runtime data type. This data type may be defined in Vala so urce | * Represents a runtime data type. This data type may be defined in Vala so urce | |||
* code or imported from an external library with a Vala API file. | * code or imported from an external library with a Vala API file. | |||
*/ | */ | |||
struct _ValaDataType { | struct _ValaDataType { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaDataTypePrivate * priv; | ValaDataTypePrivate * priv; | |||
ValaMemberAccessibility access; | ValaMemberAccessibility access; | |||
ValaNamespace* namespace; | ValaNamespace* namespace; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valadeclarationstatement.h | valadeclarationstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALADECLARATIONSTATEMENT_H__ | #ifndef __VALADECLARATIONSTATEMENT_H__ | |||
#define __VALADECLARATIONSTATEMENT_H__ | #define __VALADECLARATIONSTATEMENT_H__ | |||
typedef struct _ValaDeclarationStatementPrivate ValaDeclarationStatementPri vate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_DECLARATION_STATEMENT (vala_declaration_statement_get_typ e ()) | #define VALA_TYPE_DECLARATION_STATEMENT (vala_declaration_statement_get_typ e ()) | |||
#define VALA_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatement)) | #define VALA_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatement)) | |||
#define VALA_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | #define VALA_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | |||
#define VALA_IS_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_DECLARATION_STATEMENT)) | #define VALA_IS_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_DECLARATION_STATEMENT)) | |||
#define VALA_IS_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DECLARATION_STATEMENT)) | #define VALA_IS_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DECLARATION_STATEMENT)) | |||
#define VALA_DECLARATION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | #define VALA_DECLARATION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | |||
typedef struct _ValaDeclarationStatementPrivate ValaDeclarationStatementPri | ||||
vate; | ||||
/** | /** | |||
* Represents a local variable declaration statement in the source code. | * Represents a local variable declaration statement in the source code. | |||
*/ | */ | |||
struct _ValaDeclarationStatement { | struct _ValaDeclarationStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaDeclarationStatementPrivate * priv; | ValaDeclarationStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaDeclarationStatementClass { | struct _ValaDeclarationStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valadestructor.h | valadestructor.h | |||
---|---|---|---|---|
/* valadestructor.vala | /* valadestructor.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALADESTRUCTOR_H__ | #ifndef __VALADESTRUCTOR_H__ | |||
#define __VALADESTRUCTOR_H__ | #define __VALADESTRUCTOR_H__ | |||
typedef struct _ValaDestructorPrivate ValaDestructorPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_DESTRUCTOR (vala_destructor_get_type ()) | #define VALA_TYPE_DESTRUCTOR (vala_destructor_get_type ()) | |||
#define VALA_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ DESTRUCTOR, ValaDestructor)) | #define VALA_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ DESTRUCTOR, ValaDestructor)) | |||
#define VALA_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_DESTRUCTOR, ValaDestructorClass)) | #define VALA_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_DESTRUCTOR, ValaDestructorClass)) | |||
#define VALA_IS_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_DESTRUCTOR)) | #define VALA_IS_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_DESTRUCTOR)) | |||
#define VALA_IS_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DESTRUCTOR)) | #define VALA_IS_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DESTRUCTOR)) | |||
#define VALA_DESTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_DESTRUCTOR, ValaDestructorClass)) | #define VALA_DESTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_DESTRUCTOR, ValaDestructorClass)) | |||
typedef struct _ValaDestructorPrivate ValaDestructorPrivate; | ||||
/** | /** | |||
* Represents a class or instance destructor. | * Represents a class or instance destructor. | |||
*/ | */ | |||
struct _ValaDestructor { | struct _ValaDestructor { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaDestructorPrivate * priv; | ValaDestructorPrivate * priv; | |||
}; | }; | |||
struct _ValaDestructorClass { | struct _ValaDestructorClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valadostatement.h | valadostatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALADOSTATEMENT_H__ | #ifndef __VALADOSTATEMENT_H__ | |||
#define __VALADOSTATEMENT_H__ | #define __VALADOSTATEMENT_H__ | |||
typedef struct _ValaDoStatementPrivate ValaDoStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_DO_STATEMENT (vala_do_statement_get_type ()) | #define VALA_TYPE_DO_STATEMENT (vala_do_statement_get_type ()) | |||
#define VALA_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_DO_STATEMENT, ValaDoStatement)) | #define VALA_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_DO_STATEMENT, ValaDoStatement)) | |||
#define VALA_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | #define VALA_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | |||
#define VALA_IS_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_DO_STATEMENT)) | #define VALA_IS_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_DO_STATEMENT)) | |||
#define VALA_IS_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_DO_STATEMENT)) | #define VALA_IS_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_DO_STATEMENT)) | |||
#define VALA_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | #define VALA_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | |||
typedef struct _ValaDoStatementPrivate ValaDoStatementPrivate; | ||||
/** | /** | |||
* Represents a do iteration statement in the source code. | * Represents a do iteration statement in the source code. | |||
*/ | */ | |||
struct _ValaDoStatement { | struct _ValaDoStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaDoStatementPrivate * priv; | ValaDoStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaDoStatementClass { | struct _ValaDoStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaelementaccess.h | valaelementaccess.h | |||
---|---|---|---|---|
/* valaelementaccess.vala | /* valaelementaccess.vala | |||
* | * | |||
* Copyright (C) 2006 Raffaele Sandrini | * Copyright (C) 2006-2007 Raffaele Sandrini, 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 of the License, or (at your option) any later version. | * version 2 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. | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
* Jürg Billeter <j@bitron.ch> | ||||
*/ | */ | |||
#ifndef __VALAELEMENTACCESS_H__ | #ifndef __VALAELEMENTACCESS_H__ | |||
#define __VALAELEMENTACCESS_H__ | #define __VALAELEMENTACCESS_H__ | |||
typedef struct _ValaElementAccessPrivate ValaElementAccessPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ELEMENT_ACCESS (vala_element_access_get_type ()) | #define VALA_TYPE_ELEMENT_ACCESS (vala_element_access_get_type ()) | |||
#define VALA_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_ELEMENT_ACCESS, ValaElementAccess)) | #define VALA_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_ELEMENT_ACCESS, ValaElementAccess)) | |||
#define VALA_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | #define VALA_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | |||
#define VALA_IS_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_ELEMENT_ACCESS)) | #define VALA_IS_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_ELEMENT_ACCESS)) | |||
#define VALA_IS_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_ELEMENT_ACCESS)) | #define VALA_IS_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_ELEMENT_ACCESS)) | |||
#define VALA_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | #define VALA_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | |||
typedef struct _ValaElementAccessPrivate ValaElementAccessPrivate; | ||||
/** | /** | |||
* Represents an array access expression e.g. "a[1,2]". | * Represents an array access expression e.g. "a[1,2]". | |||
*/ | */ | |||
struct _ValaElementAccess { | struct _ValaElementAccess { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaElementAccessPrivate * priv; | ValaElementAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaElementAccessClass { | struct _ValaElementAccessClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 4 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
valaemptystatement.h | valaemptystatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAEMPTYSTATEMENT_H__ | #ifndef __VALAEMPTYSTATEMENT_H__ | |||
#define __VALAEMPTYSTATEMENT_H__ | #define __VALAEMPTYSTATEMENT_H__ | |||
typedef struct _ValaEmptyStatementPrivate ValaEmptyStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_EMPTY_STATEMENT (vala_empty_statement_get_type ()) | #define VALA_TYPE_EMPTY_STATEMENT (vala_empty_statement_get_type ()) | |||
#define VALA_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_EMPTY_STATEMENT, ValaEmptyStatement)) | #define VALA_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_EMPTY_STATEMENT, ValaEmptyStatement)) | |||
#define VALA_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | #define VALA_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | |||
#define VALA_IS_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_EMPTY_STATEMENT)) | #define VALA_IS_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_EMPTY_STATEMENT)) | |||
#define VALA_IS_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_EMPTY_STATEMENT)) | #define VALA_IS_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_EMPTY_STATEMENT)) | |||
#define VALA_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | #define VALA_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | |||
typedef struct _ValaEmptyStatementPrivate ValaEmptyStatementPrivate; | ||||
/** | /** | |||
* An empty statement. | * An empty statement. | |||
*/ | */ | |||
struct _ValaEmptyStatement { | struct _ValaEmptyStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaEmptyStatementPrivate * priv; | ValaEmptyStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaEmptyStatementClass { | struct _ValaEmptyStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaenum.h | valaenum.h | |||
---|---|---|---|---|
/* valaenum.vala | /* valaenum.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAENUM_H__ | #ifndef __VALAENUM_H__ | |||
#define __VALAENUM_H__ | #define __VALAENUM_H__ | |||
typedef struct _ValaEnumPrivate ValaEnumPrivate; | ||||
#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/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ENUM (vala_enum_get_type ()) | #define VALA_TYPE_ENUM (vala_enum_get_type ()) | |||
#define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM, ValaEnum)) | #define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM, ValaEnum)) | |||
#define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE _ENUM, ValaEnumClass)) | #define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE _ENUM, ValaEnumClass)) | |||
#define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENU M)) | #define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENU M)) | |||
#define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_T YPE_ENUM)) | #define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_T YPE_ENUM)) | |||
#define VALA_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TY PE_ENUM, ValaEnumClass)) | #define VALA_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TY PE_ENUM, ValaEnumClass)) | |||
typedef struct _ValaEnumPrivate ValaEnumPrivate; | ||||
/** | /** | |||
* Represents an enum declaration in the source code. | * Represents an enum declaration in the source code. | |||
*/ | */ | |||
struct _ValaEnum { | struct _ValaEnum { | |||
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); | 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); | ||||
GList* 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); | |||
GType vala_enum_get_type (); | GType vala_enum_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
4 lines changed or deleted | 5 lines changed or added | |||
valaenumvalue.h | valaenumvalue.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAENUMVALUE_H__ | #ifndef __VALAENUMVALUE_H__ | |||
#define __VALAENUMVALUE_H__ | #define __VALAENUMVALUE_H__ | |||
typedef struct _ValaEnumValuePrivate ValaEnumValuePrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ENUM_VALUE (vala_enum_value_get_type ()) | #define VALA_TYPE_ENUM_VALUE (vala_enum_value_get_type ()) | |||
#define VALA_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ ENUM_VALUE, ValaEnumValue)) | #define VALA_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ ENUM_VALUE, ValaEnumValue)) | |||
#define VALA_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_ENUM_VALUE, ValaEnumValueClass)) | #define VALA_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_ENUM_VALUE, ValaEnumValueClass)) | |||
#define VALA_IS_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_ENUM_VALUE)) | #define VALA_IS_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_ENUM_VALUE)) | |||
#define VALA_IS_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ENUM_VALUE)) | #define VALA_IS_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ENUM_VALUE)) | |||
#define VALA_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ENUM_VALUE, ValaEnumValueClass)) | #define VALA_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ENUM_VALUE, ValaEnumValueClass)) | |||
typedef struct _ValaEnumValuePrivate ValaEnumValuePrivate; | ||||
/** | /** | |||
* Represents an enum member in the source code. | * Represents an enum member in the source code. | |||
*/ | */ | |||
struct _ValaEnumValue { | struct _ValaEnumValue { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaEnumValuePrivate * priv; | ValaEnumValuePrivate * priv; | |||
}; | }; | |||
struct _ValaEnumValueClass { | struct _ValaEnumValueClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaexpression.h | valaexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAEXPRESSION_H__ | #ifndef __VALAEXPRESSION_H__ | |||
#define __VALAEXPRESSION_H__ | #define __VALAEXPRESSION_H__ | |||
typedef struct _ValaExpressionPrivate ValaExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_EXPRESSION (vala_expression_get_type ()) | #define VALA_TYPE_EXPRESSION (vala_expression_get_type ()) | |||
#define VALA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ EXPRESSION, ValaExpression)) | #define VALA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ EXPRESSION, ValaExpression)) | |||
#define VALA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_EXPRESSION, ValaExpressionClass)) | #define VALA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_EXPRESSION, ValaExpressionClass)) | |||
#define VALA_IS_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_EXPRESSION)) | #define VALA_IS_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_EXPRESSION)) | |||
#define VALA_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION)) | #define VALA_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION)) | |||
#define VALA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_EXPRESSION, ValaExpressionClass)) | #define VALA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_EXPRESSION, ValaExpressionClass)) | |||
typedef struct _ValaExpressionPrivate ValaExpressionPrivate; | ||||
/** | /** | |||
* Base class for all code nodes that might be used as an expression. | * Base class for all code nodes that might be used as an expression. | |||
*/ | */ | |||
struct _ValaExpression { | struct _ValaExpression { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaExpressionPrivate * priv; | ValaExpressionPrivate * priv; | |||
GList* temp_vars; | GList* temp_vars; | |||
}; | }; | |||
struct _ValaExpressionClass { | struct _ValaExpressionClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaexpressionstatement.h | valaexpressionstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAEXPRESSIONSTATEMENT_H__ | #ifndef __VALAEXPRESSIONSTATEMENT_H__ | |||
#define __VALAEXPRESSIONSTATEMENT_H__ | #define __VALAEXPRESSIONSTATEMENT_H__ | |||
typedef struct _ValaExpressionStatementPrivate ValaExpressionStatementPriva te; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_EXPRESSION_STATEMENT (vala_expression_statement_get_type ()) | #define VALA_TYPE_EXPRESSION_STATEMENT (vala_expression_statement_get_type ()) | |||
#define VALA_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatement)) | #define VALA_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatement)) | |||
#define VALA_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | #define VALA_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | |||
#define VALA_IS_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_EXPRESSION_STATEMENT)) | #define VALA_IS_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_EXPRESSION_STATEMENT)) | |||
#define VALA_IS_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION_STATEMENT)) | #define VALA_IS_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION_STATEMENT)) | |||
#define VALA_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | #define VALA_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | |||
typedef struct _ValaExpressionStatementPrivate ValaExpressionStatementPriva | ||||
te; | ||||
/** | /** | |||
* A code statement that evaluates a given expression. The value computed b y the | * A code statement that evaluates a given expression. The value computed b y the | |||
* expression, if any, is discarded. | * expression, if any, is discarded. | |||
*/ | */ | |||
struct _ValaExpressionStatement { | struct _ValaExpressionStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaExpressionStatementPrivate * priv; | ValaExpressionStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaExpressionStatementClass { | struct _ValaExpressionStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valafield.h | valafield.h | |||
---|---|---|---|---|
/* valafield.vala | /* valafield.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAFIELD_H__ | #ifndef __VALAFIELD_H__ | |||
#define __VALAFIELD_H__ | #define __VALAFIELD_H__ | |||
typedef struct _ValaFieldPrivate ValaFieldPrivate; | ||||
#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/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valainvokable.h> | #include <vala/valainvokable.h> | |||
#include <vala/valalockable.h> | #include <vala/valalockable.h> | |||
#include <vala/valamemberaccessibility.h> | #include <vala/valamemberaccessibility.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_FIELD (vala_field_get_type ()) | #define VALA_TYPE_FIELD (vala_field_get_type ()) | |||
#define VALA_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FIELD , ValaField)) | #define VALA_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FIELD , ValaField)) | |||
#define VALA_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_FIELD, ValaFieldClass)) | #define VALA_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_FIELD, ValaFieldClass)) | |||
#define VALA_IS_FIELD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FI ELD)) | #define VALA_IS_FIELD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FI ELD)) | |||
#define VALA_IS_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_FIELD)) | #define VALA_IS_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_FIELD)) | |||
#define VALA_FIELD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_FIELD, ValaFieldClass)) | #define VALA_FIELD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_FIELD, ValaFieldClass)) | |||
typedef struct _ValaFieldPrivate ValaFieldPrivate; | ||||
/** | /** | |||
* Represents a type or namespace field. | * Represents a type or namespace field. | |||
*/ | */ | |||
struct _ValaField { | struct _ValaField { | |||
ValaMember parent; | ValaMember parent; | |||
ValaFieldPrivate * priv; | ValaFieldPrivate * priv; | |||
ValaMemberAccessibility access; | ValaMemberAccessibility access; | |||
}; | }; | |||
struct _ValaFieldClass { | struct _ValaFieldClass { | |||
ValaMemberClass parent; | ValaMemberClass parent; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valaflags.h | valaflags.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAFLAGS_H__ | #ifndef __VALAFLAGS_H__ | |||
#define __VALAFLAGS_H__ | #define __VALAFLAGS_H__ | |||
typedef struct _ValaFlagsPrivate ValaFlagsPrivate; | ||||
#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/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_FLAGS (vala_flags_get_type ()) | #define VALA_TYPE_FLAGS (vala_flags_get_type ()) | |||
#define VALA_FLAGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FLAGS , ValaFlags)) | #define VALA_FLAGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FLAGS , ValaFlags)) | |||
#define VALA_FLAGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_FLAGS, ValaFlagsClass)) | #define VALA_FLAGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_FLAGS, ValaFlagsClass)) | |||
#define VALA_IS_FLAGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FL AGS)) | #define VALA_IS_FLAGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FL AGS)) | |||
#define VALA_IS_FLAGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_FLAGS)) | #define VALA_IS_FLAGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_FLAGS)) | |||
#define VALA_FLAGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_FLAGS, ValaFlagsClass)) | #define VALA_FLAGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_FLAGS, ValaFlagsClass)) | |||
typedef struct _ValaFlagsPrivate ValaFlagsPrivate; | ||||
/** | /** | |||
* Represents a flags declaration in the source code. | * Represents a flags declaration in the source code. | |||
*/ | */ | |||
struct _ValaFlags { | struct _ValaFlags { | |||
ValaDataType parent; | ValaDataType parent; | |||
ValaFlagsPrivate * priv; | ValaFlagsPrivate * priv; | |||
}; | }; | |||
struct _ValaFlagsClass { | struct _ValaFlagsClass { | |||
ValaDataTypeClass parent; | ValaDataTypeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaflagsvalue.h | valaflagsvalue.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAFLAGSVALUE_H__ | #ifndef __VALAFLAGSVALUE_H__ | |||
#define __VALAFLAGSVALUE_H__ | #define __VALAFLAGSVALUE_H__ | |||
typedef struct _ValaFlagsValuePrivate ValaFlagsValuePrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_FLAGS_VALUE (vala_flags_value_get_type ()) | #define VALA_TYPE_FLAGS_VALUE (vala_flags_value_get_type ()) | |||
#define VALA_FLAGS_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _FLAGS_VALUE, ValaFlagsValue)) | #define VALA_FLAGS_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _FLAGS_VALUE, ValaFlagsValue)) | |||
#define VALA_FLAGS_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_FLAGS_VALUE, ValaFlagsValueClass)) | #define VALA_FLAGS_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_FLAGS_VALUE, ValaFlagsValueClass)) | |||
#define VALA_IS_FLAGS_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_FLAGS_VALUE)) | #define VALA_IS_FLAGS_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_FLAGS_VALUE)) | |||
#define VALA_IS_FLAGS_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_FLAGS_VALUE)) | #define VALA_IS_FLAGS_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_FLAGS_VALUE)) | |||
#define VALA_FLAGS_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_FLAGS_VALUE, ValaFlagsValueClass)) | #define VALA_FLAGS_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_FLAGS_VALUE, ValaFlagsValueClass)) | |||
typedef struct _ValaFlagsValuePrivate ValaFlagsValuePrivate; | ||||
/** | /** | |||
* Represents a flags member in the source code. | * Represents a flags member in the source code. | |||
*/ | */ | |||
struct _ValaFlagsValue { | struct _ValaFlagsValue { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaFlagsValuePrivate * priv; | ValaFlagsValuePrivate * priv; | |||
}; | }; | |||
struct _ValaFlagsValueClass { | struct _ValaFlagsValueClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaforeachstatement.h | valaforeachstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAFOREACHSTATEMENT_H__ | #ifndef __VALAFOREACHSTATEMENT_H__ | |||
#define __VALAFOREACHSTATEMENT_H__ | #define __VALAFOREACHSTATEMENT_H__ | |||
typedef struct _ValaForeachStatementPrivate ValaForeachStatementPrivate; | ||||
#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/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_FOREACH_STATEMENT (vala_foreach_statement_get_type ()) | #define VALA_TYPE_FOREACH_STATEMENT (vala_foreach_statement_get_type ()) | |||
#define VALA_FOREACH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_FOREACH_STATEMENT, ValaForeachStatement)) | #define VALA_FOREACH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_FOREACH_STATEMENT, ValaForeachStatement)) | |||
#define VALA_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | #define VALA_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | |||
#define VALA_IS_FOREACH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FOREACH_STATEMENT)) | #define VALA_IS_FOREACH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FOREACH_STATEMENT)) | |||
#define VALA_IS_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_FOREACH_STATEMENT)) | #define VALA_IS_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_FOREACH_STATEMENT)) | |||
#define VALA_FOREACH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | #define VALA_FOREACH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | |||
typedef struct _ValaForeachStatementPrivate ValaForeachStatementPrivate; | ||||
/** | /** | |||
* Represents a foreach statement in the source code. Foreach statements it erate | * Represents a foreach statement in the source code. Foreach statements it erate | |||
* over the elements of a collection. | * over the elements of a collection. | |||
*/ | */ | |||
struct _ValaForeachStatement { | struct _ValaForeachStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaForeachStatementPrivate * priv; | ValaForeachStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaForeachStatementClass { | struct _ValaForeachStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaformalparameter.h | valaformalparameter.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALAFORMALPARAMETER_H__ | #ifndef __VALAFORMALPARAMETER_H__ | |||
#define __VALAFORMALPARAMETER_H__ | #define __VALAFORMALPARAMETER_H__ | |||
typedef struct _ValaFormalParameterPrivate ValaFormalParameterPrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valainvokable.h> | #include <vala/valainvokable.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_FORMAL_PARAMETER (vala_formal_parameter_get_type ()) | #define VALA_TYPE_FORMAL_PARAMETER (vala_formal_parameter_get_type ()) | |||
#define VALA_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_FORMAL_PARAMETER, ValaFormalParameter)) | #define VALA_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_FORMAL_PARAMETER, ValaFormalParameter)) | |||
#define VALA_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | #define VALA_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | |||
#define VALA_IS_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_FORMAL_PARAMETER)) | #define VALA_IS_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_FORMAL_PARAMETER)) | |||
#define VALA_IS_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_FORMAL_PARAMETER)) | #define VALA_IS_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_FORMAL_PARAMETER)) | |||
#define VALA_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | #define VALA_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | |||
typedef struct _ValaFormalParameterPrivate ValaFormalParameterPrivate; | ||||
/** | /** | |||
* Represents a formal parameter in method and callback signatures. | * Represents a formal parameter in method and callback signatures. | |||
*/ | */ | |||
struct _ValaFormalParameter { | struct _ValaFormalParameter { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaFormalParameterPrivate * priv; | ValaFormalParameterPrivate * priv; | |||
}; | }; | |||
struct _ValaFormalParameterClass { | struct _ValaFormalParameterClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaforstatement.h | valaforstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAFORSTATEMENT_H__ | #ifndef __VALAFORSTATEMENT_H__ | |||
#define __VALAFORSTATEMENT_H__ | #define __VALAFORSTATEMENT_H__ | |||
typedef struct _ValaForStatementPrivate ValaForStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_FOR_STATEMENT (vala_for_statement_get_type ()) | #define VALA_TYPE_FOR_STATEMENT (vala_for_statement_get_type ()) | |||
#define VALA_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_FOR_STATEMENT, ValaForStatement)) | #define VALA_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_FOR_STATEMENT, ValaForStatement)) | |||
#define VALA_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | #define VALA_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | |||
#define VALA_IS_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_FOR_STATEMENT)) | #define VALA_IS_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_FOR_STATEMENT)) | |||
#define VALA_IS_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_FOR_STATEMENT)) | #define VALA_IS_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_FOR_STATEMENT)) | |||
#define VALA_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | #define VALA_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | |||
typedef struct _ValaForStatementPrivate ValaForStatementPrivate; | ||||
/** | /** | |||
* Represents a for iteration statement in the source code. | * Represents a for iteration statement in the source code. | |||
*/ | */ | |||
struct _ValaForStatement { | struct _ValaForStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaForStatementPrivate * priv; | ValaForStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaForStatementClass { | struct _ValaForStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaifstatement.h | valaifstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAIFSTATEMENT_H__ | #ifndef __VALAIFSTATEMENT_H__ | |||
#define __VALAIFSTATEMENT_H__ | #define __VALAIFSTATEMENT_H__ | |||
typedef struct _ValaIfStatementPrivate ValaIfStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_IF_STATEMENT (vala_if_statement_get_type ()) | #define VALA_TYPE_IF_STATEMENT (vala_if_statement_get_type ()) | |||
#define VALA_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_IF_STATEMENT, ValaIfStatement)) | #define VALA_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_IF_STATEMENT, ValaIfStatement)) | |||
#define VALA_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | #define VALA_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | |||
#define VALA_IS_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_IF_STATEMENT)) | #define VALA_IS_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_IF_STATEMENT)) | |||
#define VALA_IS_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_IF_STATEMENT)) | #define VALA_IS_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_IF_STATEMENT)) | |||
#define VALA_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | #define VALA_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | |||
typedef struct _ValaIfStatementPrivate ValaIfStatementPrivate; | ||||
/** | /** | |||
* Represents an if selection statement in the source code. | * Represents an if selection statement in the source code. | |||
*/ | */ | |||
struct _ValaIfStatement { | struct _ValaIfStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaIfStatementPrivate * priv; | ValaIfStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaIfStatementClass { | struct _ValaIfStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valainitializerlist.h | valainitializerlist.h | |||
---|---|---|---|---|
/* valainitializerlist.vala | /* valainitializerlist.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAINITIALIZERLIST_H__ | #ifndef __VALAINITIALIZERLIST_H__ | |||
#define __VALAINITIALIZERLIST_H__ | #define __VALAINITIALIZERLIST_H__ | |||
typedef struct _ValaInitializerListPrivate ValaInitializerListPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INITIALIZER_LIST (vala_initializer_list_get_type ()) | #define VALA_TYPE_INITIALIZER_LIST (vala_initializer_list_get_type ()) | |||
#define VALA_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_INITIALIZER_LIST, ValaInitializerList)) | #define VALA_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_INITIALIZER_LIST, ValaInitializerList)) | |||
#define VALA_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_INITIALIZER_LIST, ValaInitializerListClass)) | #define VALA_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_INITIALIZER_LIST, ValaInitializerListClass)) | |||
#define VALA_IS_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_INITIALIZER_LIST)) | #define VALA_IS_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_INITIALIZER_LIST)) | |||
#define VALA_IS_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_INITIALIZER_LIST)) | #define VALA_IS_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_INITIALIZER_LIST)) | |||
#define VALA_INITIALIZER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_INITIALIZER_LIST, ValaInitializerListClass)) | #define VALA_INITIALIZER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_INITIALIZER_LIST, ValaInitializerListClass)) | |||
typedef struct _ValaInitializerListPrivate ValaInitializerListPrivate; | ||||
/** | /** | |||
* Represents an array or struct initializer list in the source code. | * Represents an array or struct initializer list in the source code. | |||
*/ | */ | |||
struct _ValaInitializerList { | struct _ValaInitializerList { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaInitializerListPrivate * priv; | ValaInitializerListPrivate * priv; | |||
}; | }; | |||
struct _ValaInitializerListClass { | struct _ValaInitializerListClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valainstancecast.h | valainstancecast.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAINSTANCECAST_H__ | #ifndef __VALAINSTANCECAST_H__ | |||
#define __VALAINSTANCECAST_H__ | #define __VALAINSTANCECAST_H__ | |||
typedef struct _ValaInstanceCast ValaInstanceCast; | ||||
typedef struct _ValaInstanceCastClass ValaInstanceCastClass; | ||||
typedef struct _ValaInstanceCastPrivate ValaInstanceCastPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodefunctioncall.h> | #include <ccode/valaccodefunctioncall.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <vala/valadatatype.h> | #include <vala/valadatatype.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INSTANCE_CAST (vala_instance_cast_get_type ()) | #define VALA_TYPE_INSTANCE_CAST (vala_instance_cast_get_type ()) | |||
#define VALA_INSTANCE_CAST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_INSTANCE_CAST, ValaInstanceCast)) | #define VALA_INSTANCE_CAST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_INSTANCE_CAST, ValaInstanceCast)) | |||
#define VALA_INSTANCE_CAST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_INSTANCE_CAST, ValaInstanceCastClass)) | #define VALA_INSTANCE_CAST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_INSTANCE_CAST, ValaInstanceCastClass)) | |||
#define VALA_IS_INSTANCE_CAST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_INSTANCE_CAST)) | #define VALA_IS_INSTANCE_CAST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_INSTANCE_CAST)) | |||
#define VALA_IS_INSTANCE_CAST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_INSTANCE_CAST)) | #define VALA_IS_INSTANCE_CAST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_INSTANCE_CAST)) | |||
#define VALA_INSTANCE_CAST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_INSTANCE_CAST, ValaInstanceCastClass)) | #define VALA_INSTANCE_CAST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_INSTANCE_CAST, ValaInstanceCastClass)) | |||
typedef struct _ValaInstanceCast ValaInstanceCast; | ||||
typedef struct _ValaInstanceCastClass ValaInstanceCastClass; | ||||
typedef struct _ValaInstanceCastPrivate ValaInstanceCastPrivate; | ||||
/** | /** | |||
* Represents a runtime checked object instance cast expression in the C co de. | * Represents a runtime checked object instance cast expression in the C co de. | |||
*/ | */ | |||
struct _ValaInstanceCast { | struct _ValaInstanceCast { | |||
ValaCCodeFunctionCall parent; | ValaCCodeFunctionCall parent; | |||
ValaInstanceCastPrivate * priv; | ValaInstanceCastPrivate * priv; | |||
}; | }; | |||
struct _ValaInstanceCastClass { | struct _ValaInstanceCastClass { | |||
ValaCCodeFunctionCallClass parent; | ValaCCodeFunctionCallClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valaintegerliteral.h | valaintegerliteral.h | |||
---|---|---|---|---|
/* valaintegerliteral.vala | /* valaintegerliteral.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAINTEGERLITERAL_H__ | #ifndef __VALAINTEGERLITERAL_H__ | |||
#define __VALAINTEGERLITERAL_H__ | #define __VALAINTEGERLITERAL_H__ | |||
typedef struct _ValaIntegerLiteralPrivate ValaIntegerLiteralPrivate; | ||||
#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/valaliteral.h> | #include <vala/valaliteral.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INTEGER_LITERAL (vala_integer_literal_get_type ()) | #define VALA_TYPE_INTEGER_LITERAL (vala_integer_literal_get_type ()) | |||
#define VALA_INTEGER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_INTEGER_LITERAL, ValaIntegerLiteral)) | #define VALA_INTEGER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_INTEGER_LITERAL, ValaIntegerLiteral)) | |||
#define VALA_INTEGER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_INTEGER_LITERAL, ValaIntegerLiteralClass)) | #define VALA_INTEGER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_INTEGER_LITERAL, ValaIntegerLiteralClass)) | |||
#define VALA_IS_INTEGER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_INTEGER_LITERAL)) | #define VALA_IS_INTEGER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_INTEGER_LITERAL)) | |||
#define VALA_IS_INTEGER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_INTEGER_LITERAL)) | #define VALA_IS_INTEGER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_INTEGER_LITERAL)) | |||
#define VALA_INTEGER_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_INTEGER_LITERAL, ValaIntegerLiteralClass)) | #define VALA_INTEGER_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_INTEGER_LITERAL, ValaIntegerLiteralClass)) | |||
typedef struct _ValaIntegerLiteralPrivate ValaIntegerLiteralPrivate; | ||||
/** | /** | |||
* Represents an integer literal in the source code. | * Represents an integer literal in the source code. | |||
*/ | */ | |||
struct _ValaIntegerLiteral { | struct _ValaIntegerLiteral { | |||
ValaLiteral parent; | ValaLiteral parent; | |||
ValaIntegerLiteralPrivate * priv; | ValaIntegerLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaIntegerLiteralClass { | struct _ValaIntegerLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valainterface.h | valainterface.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAINTERFACE_H__ | #ifndef __VALAINTERFACE_H__ | |||
#define __VALAINTERFACE_H__ | #define __VALAINTERFACE_H__ | |||
typedef struct _ValaInterfacePrivate ValaInterfacePrivate; | ||||
#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/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INTERFACE (vala_interface_get_type ()) | #define VALA_TYPE_INTERFACE (vala_interface_get_type ()) | |||
#define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_I NTERFACE, ValaInterface)) | #define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_I NTERFACE, ValaInterface)) | |||
#define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_INTERFACE, ValaInterfaceClass)) | #define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_INTERFACE, ValaInterfaceClass)) | |||
#define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_INTERFACE)) | #define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_INTERFACE)) | |||
#define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_INTERFACE)) | #define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_INTERFACE)) | |||
#define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_INTERFACE, ValaInterfaceClass)) | #define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_INTERFACE, ValaInterfaceClass)) | |||
typedef struct _ValaInterfacePrivate ValaInterfacePrivate; | ||||
/** | /** | |||
* Represents a class declaration in the source code. | * Represents a class declaration in the source code. | |||
*/ | */ | |||
struct _ValaInterface { | struct _ValaInterface { | |||
ValaDataType parent; | ValaDataType parent; | |||
ValaInterfacePrivate * priv; | ValaInterfacePrivate * priv; | |||
}; | }; | |||
struct _ValaInterfaceClass { | struct _ValaInterfaceClass { | |||
ValaDataTypeClass parent; | ValaDataTypeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valainterfaceregisterfunction.h | valainterfaceregisterfunction.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALAINTERFACEREGISTERFUNCTION_H__ | #ifndef __VALAINTERFACEREGISTERFUNCTION_H__ | |||
#define __VALAINTERFACEREGISTERFUNCTION_H__ | #define __VALAINTERFACEREGISTERFUNCTION_H__ | |||
typedef struct _ValaInterfaceRegisterFunction ValaInterfaceRegisterFunction | ||||
; | ||||
typedef struct _ValaInterfaceRegisterFunctionClass ValaInterfaceRegisterFun | ||||
ctionClass; | ||||
typedef struct _ValaInterfaceRegisterFunctionPrivate ValaInterfaceRegisterF | ||||
unctionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valainterface.h> | ||||
#include <vala/valadatatype.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <ccode/valaccodefragment.h> | #include <ccode/valaccodefragment.h> | |||
#include <vala/valatyperegisterfunction.h> | #include <gobject/valatyperegisterfunction.h> | |||
#include <vala/valainterface.h> | ||||
#include <vala/valadatatype.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INTERFACE_REGISTER_FUNCTION (vala_interface_register_func tion_get_type ()) | #define VALA_TYPE_INTERFACE_REGISTER_FUNCTION (vala_interface_register_func tion_get_type ()) | |||
#define VALA_INTERFACE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ( (obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegisterFunction )) | #define VALA_INTERFACE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ( (obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegisterFunction )) | |||
#define VALA_INTERFACE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_C AST ((klass), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegisterF unctionClass)) | #define VALA_INTERFACE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_C AST ((klass), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegisterF unctionClass)) | |||
#define VALA_IS_INTERFACE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYP E ((obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION)) | #define VALA_IS_INTERFACE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYP E ((obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION)) | |||
#define VALA_IS_INTERFACE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLAS S_TYPE ((klass), VALA_TYPE_INTERFACE_REGISTER_FUNCTION)) | #define VALA_IS_INTERFACE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLAS S_TYPE ((klass), VALA_TYPE_INTERFACE_REGISTER_FUNCTION)) | |||
#define VALA_INTERFACE_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GE T_CLASS ((obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegiste rFunctionClass)) | #define VALA_INTERFACE_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GE T_CLASS ((obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegiste rFunctionClass)) | |||
typedef struct _ValaInterfaceRegisterFunction ValaInterfaceRegisterFunction | ||||
; | ||||
typedef struct _ValaInterfaceRegisterFunctionClass ValaInterfaceRegisterFun | ||||
ctionClass; | ||||
typedef struct _ValaInterfaceRegisterFunctionPrivate ValaInterfaceRegisterF | ||||
unctionPrivate; | ||||
/** | /** | |||
* C function to register an interface at runtime. | * C function to register an interface at runtime. | |||
*/ | */ | |||
struct _ValaInterfaceRegisterFunction { | struct _ValaInterfaceRegisterFunction { | |||
ValaTypeRegisterFunction parent; | ValaTypeRegisterFunction parent; | |||
ValaInterfaceRegisterFunctionPrivate * priv; | ValaInterfaceRegisterFunctionPrivate * priv; | |||
}; | }; | |||
struct _ValaInterfaceRegisterFunctionClass { | struct _ValaInterfaceRegisterFunctionClass { | |||
ValaTypeRegisterFunctionClass parent; | ValaTypeRegisterFunctionClass parent; | |||
}; | }; | |||
End of changes. 4 change blocks. | ||||
10 lines changed or deleted | 9 lines changed or added | |||
valainterfacewriter.h | valainterfacewriter.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALAINTERFACEWRITER_H__ | #ifndef __VALAINTERFACEWRITER_H__ | |||
#define __VALAINTERFACEWRITER_H__ | #define __VALAINTERFACEWRITER_H__ | |||
typedef struct _ValaInterfaceWriter ValaInterfaceWriter; | ||||
typedef struct _ValaInterfaceWriterClass ValaInterfaceWriterClass; | ||||
typedef struct _ValaInterfaceWriterPrivate ValaInterfaceWriterPrivate; | ||||
#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/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | ||||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaenumvalue.h> | #include <vala/valaenumvalue.h> | |||
#include <vala/valaflags.h> | #include <vala/valaflags.h> | |||
#include <vala/valaflagsvalue.h> | #include <vala/valaflagsvalue.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
skipping to change at line 58 | skipping to change at line 62 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INTERFACE_WRITER (vala_interface_writer_get_type ()) | #define VALA_TYPE_INTERFACE_WRITER (vala_interface_writer_get_type ()) | |||
#define VALA_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_INTERFACE_WRITER, ValaInterfaceWriter)) | #define VALA_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_INTERFACE_WRITER, ValaInterfaceWriter)) | |||
#define VALA_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | #define VALA_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | |||
#define VALA_IS_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_INTERFACE_WRITER)) | #define VALA_IS_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_INTERFACE_WRITER)) | |||
#define VALA_IS_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_INTERFACE_WRITER)) | #define VALA_IS_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_INTERFACE_WRITER)) | |||
#define VALA_INTERFACE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | #define VALA_INTERFACE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | |||
typedef struct _ValaInterfaceWriter ValaInterfaceWriter; | ||||
typedef struct _ValaInterfaceWriterClass ValaInterfaceWriterClass; | ||||
typedef struct _ValaInterfaceWriterPrivate ValaInterfaceWriterPrivate; | ||||
/** | /** | |||
* Code visitor generating Vala API file for the public interface. | * Code visitor generating Vala API file for the public interface. | |||
*/ | */ | |||
struct _ValaInterfaceWriter { | struct _ValaInterfaceWriter { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent; | |||
ValaInterfaceWriterPrivate * priv; | ValaInterfaceWriterPrivate * priv; | |||
}; | }; | |||
struct _ValaInterfaceWriterClass { | struct _ValaInterfaceWriterClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
valainvocationexpression.h | valainvocationexpression.h | |||
---|---|---|---|---|
/* valainvocationexpression.vala | /* valainvocationexpression.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAINVOCATIONEXPRESSION_H__ | #ifndef __VALAINVOCATIONEXPRESSION_H__ | |||
#define __VALAINVOCATIONEXPRESSION_H__ | #define __VALAINVOCATIONEXPRESSION_H__ | |||
typedef struct _ValaInvocationExpressionPrivate ValaInvocationExpressionPri vate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodeexpression.h> | ||||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INVOCATION_EXPRESSION (vala_invocation_expression_get_typ e ()) | #define VALA_TYPE_INVOCATION_EXPRESSION (vala_invocation_expression_get_typ e ()) | |||
#define VALA_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpression)) | #define VALA_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpression)) | |||
#define VALA_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | #define VALA_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( klass), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | |||
#define VALA_IS_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_INVOCATION_EXPRESSION)) | #define VALA_IS_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_INVOCATION_EXPRESSION)) | |||
#define VALA_IS_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_INVOCATION_EXPRESSION)) | #define VALA_IS_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_INVOCATION_EXPRESSION)) | |||
#define VALA_INVOCATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | #define VALA_INVOCATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | |||
typedef struct _ValaInvocationExpressionPrivate ValaInvocationExpressionPri | ||||
vate; | ||||
/** | /** | |||
* Represents an invocation expression in the source code. | * Represents an invocation expression in the source code. | |||
*/ | */ | |||
struct _ValaInvocationExpression { | struct _ValaInvocationExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaInvocationExpressionPrivate * priv; | ValaInvocationExpressionPrivate * priv; | |||
ValaExpression* _call; | ValaExpression* _call; | |||
}; | }; | |||
struct _ValaInvocationExpressionClass { | struct _ValaInvocationExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
ValaInvocationExpression* vala_invocation_expression_new (ValaExpression* _ call, ValaSourceReference* source); | ValaInvocationExpression* vala_invocation_expression_new (ValaExpression* _ call, ValaSourceReference* source); | |||
void vala_invocation_expression_add_argument (ValaInvocationExpression* sel f, ValaExpression* arg); | void vala_invocation_expression_add_argument (ValaInvocationExpression* sel f, ValaExpression* arg); | |||
GList* vala_invocation_expression_get_argument_list (ValaInvocationExpressi on* self); | GList* vala_invocation_expression_get_argument_list (ValaInvocationExpressi on* self); | |||
void vala_invocation_expression_append_array_size (ValaInvocationExpression | ||||
* self, ValaCCodeExpression* size); | ||||
GList* vala_invocation_expression_get_array_sizes (ValaInvocationExpression | ||||
* self); | ||||
ValaExpression* vala_invocation_expression_get_call (ValaInvocationExpressi on* self); | ValaExpression* vala_invocation_expression_get_call (ValaInvocationExpressi on* self); | |||
void vala_invocation_expression_set_call (ValaInvocationExpression* self, V alaExpression* value); | void vala_invocation_expression_set_call (ValaInvocationExpression* self, V alaExpression* value); | |||
GType vala_invocation_expression_get_type (); | GType vala_invocation_expression_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
4 lines changed or deleted | 7 lines changed or added | |||
valalambdaexpression.h | valalambdaexpression.h | |||
---|---|---|---|---|
/* valalambdaexpression.vala | /* valalambdaexpression.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALALAMBDAEXPRESSION_H__ | #ifndef __VALALAMBDAEXPRESSION_H__ | |||
#define __VALALAMBDAEXPRESSION_H__ | #define __VALALAMBDAEXPRESSION_H__ | |||
typedef struct _ValaLambdaExpressionPrivate ValaLambdaExpressionPrivate; | ||||
#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/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_LAMBDA_EXPRESSION (vala_lambda_expression_get_type ()) | #define VALA_TYPE_LAMBDA_EXPRESSION (vala_lambda_expression_get_type ()) | |||
#define VALA_LAMBDA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpression)) | #define VALA_LAMBDA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpression)) | |||
#define VALA_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpressionClass)) | #define VALA_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpressionClass)) | |||
#define VALA_IS_LAMBDA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LAMBDA_EXPRESSION)) | #define VALA_IS_LAMBDA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LAMBDA_EXPRESSION)) | |||
#define VALA_IS_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_LAMBDA_EXPRESSION)) | #define VALA_IS_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_LAMBDA_EXPRESSION)) | |||
#define VALA_LAMBDA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpressionClass)) | #define VALA_LAMBDA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpressionClass)) | |||
typedef struct _ValaLambdaExpressionPrivate ValaLambdaExpressionPrivate; | ||||
/** | /** | |||
* Represents a lambda expression in the source code. Lambda expressions ar e | * Represents a lambda expression in the source code. Lambda expressions ar e | |||
* anonymous methods with implicitly typed parameters. | * anonymous methods with implicitly typed parameters. | |||
*/ | */ | |||
struct _ValaLambdaExpression { | struct _ValaLambdaExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaLambdaExpressionPrivate * priv; | ValaLambdaExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaLambdaExpressionClass { | struct _ValaLambdaExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valaliteral.h | valaliteral.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALALITERAL_H__ | #ifndef __VALALITERAL_H__ | |||
#define __VALALITERAL_H__ | #define __VALALITERAL_H__ | |||
typedef struct _ValaLiteralPrivate ValaLiteralPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_LITERAL (vala_literal_get_type ()) | #define VALA_TYPE_LITERAL (vala_literal_get_type ()) | |||
#define VALA_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_LIT ERAL, ValaLiteral)) | #define VALA_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_LIT ERAL, ValaLiteral)) | |||
#define VALA_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_T YPE_LITERAL, ValaLiteralClass)) | #define VALA_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_T YPE_LITERAL, ValaLiteralClass)) | |||
#define VALA_IS_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ LITERAL)) | #define VALA_IS_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ LITERAL)) | |||
#define VALA_IS_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VAL A_TYPE_LITERAL)) | #define VALA_IS_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VAL A_TYPE_LITERAL)) | |||
#define VALA_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA _TYPE_LITERAL, ValaLiteralClass)) | #define VALA_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA _TYPE_LITERAL, ValaLiteralClass)) | |||
typedef struct _ValaLiteralPrivate ValaLiteralPrivate; | ||||
/** | /** | |||
* Base class for all literals in the source code. | * Base class for all literals in the source code. | |||
*/ | */ | |||
struct _ValaLiteral { | struct _ValaLiteral { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaLiteralPrivate * priv; | ValaLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaLiteralClass { | struct _ValaLiteralClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaliteralexpression.h | valaliteralexpression.h | |||
---|---|---|---|---|
/* valaliteralexpression.vala | /* valaliteralexpression.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALALITERALEXPRESSION_H__ | #ifndef __VALALITERALEXPRESSION_H__ | |||
#define __VALALITERALEXPRESSION_H__ | #define __VALALITERALEXPRESSION_H__ | |||
typedef struct _ValaLiteralExpressionPrivate ValaLiteralExpressionPrivate; | ||||
#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/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_LITERAL_EXPRESSION (vala_literal_expression_get_type ()) | #define VALA_TYPE_LITERAL_EXPRESSION (vala_literal_expression_get_type ()) | |||
#define VALA_LITERAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_LITERAL_EXPRESSION, ValaLiteralExpression)) | #define VALA_LITERAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_LITERAL_EXPRESSION, ValaLiteralExpression)) | |||
#define VALA_LITERAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_LITERAL_EXPRESSION, ValaLiteralExpressionClass)) | #define VALA_LITERAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_LITERAL_EXPRESSION, ValaLiteralExpressionClass)) | |||
#define VALA_IS_LITERAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LITERAL_EXPRESSION)) | #define VALA_IS_LITERAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LITERAL_EXPRESSION)) | |||
#define VALA_IS_LITERAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_LITERAL_EXPRESSION)) | #define VALA_IS_LITERAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_LITERAL_EXPRESSION)) | |||
#define VALA_LITERAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_LITERAL_EXPRESSION, ValaLiteralExpressionClass)) | #define VALA_LITERAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_LITERAL_EXPRESSION, ValaLiteralExpressionClass)) | |||
typedef struct _ValaLiteralExpressionPrivate ValaLiteralExpressionPrivate; | ||||
/** | /** | |||
* Represents a literal expression in the source code. | * Represents a literal expression in the source code. | |||
*/ | */ | |||
struct _ValaLiteralExpression { | struct _ValaLiteralExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaLiteralExpressionPrivate * priv; | ValaLiteralExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaLiteralExpressionClass { | struct _ValaLiteralExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valalocalvariabledeclaration.h | valalocalvariabledeclaration.h | |||
---|---|---|---|---|
/* valalocalvariabledeclaration.vala | /* valalocalvariabledeclaration.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALALOCALVARIABLEDECLARATION_H__ | #ifndef __VALALOCALVARIABLEDECLARATION_H__ | |||
#define __VALALOCALVARIABLEDECLARATION_H__ | #define __VALALOCALVARIABLEDECLARATION_H__ | |||
typedef struct _ValaLocalVariableDeclarationPrivate ValaLocalVariableDeclar ationPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_LOCAL_VARIABLE_DECLARATION (vala_local_variable_declarati on_get_type ()) | #define VALA_TYPE_LOCAL_VARIABLE_DECLARATION (vala_local_variable_declarati on_get_type ()) | |||
#define VALA_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_CAST (( obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDeclaration)) | #define VALA_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_CAST (( obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDeclaration)) | |||
#define VALA_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA ST ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDeclara tionClass)) | #define VALA_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA ST ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDeclara tionClass)) | |||
#define VALA_IS_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | #define VALA_IS_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | |||
#define VALA_IS_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | #define VALA_IS_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | |||
#define VALA_LOCAL_VARIABLE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDecla rationClass)) | #define VALA_LOCAL_VARIABLE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDecla rationClass)) | |||
typedef struct _ValaLocalVariableDeclarationPrivate ValaLocalVariableDeclar | ||||
ationPrivate; | ||||
/** | /** | |||
* Represents a local variable declaration in the source code. | * Represents a local variable declaration in the source code. | |||
*/ | */ | |||
struct _ValaLocalVariableDeclaration { | struct _ValaLocalVariableDeclaration { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaLocalVariableDeclarationPrivate * priv; | ValaLocalVariableDeclarationPrivate * priv; | |||
}; | }; | |||
struct _ValaLocalVariableDeclarationClass { | struct _ValaLocalVariableDeclarationClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 2 lines changed or added | |||
valalockable.h | valalockable.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALALOCKABLE_H__ | #ifndef __VALALOCKABLE_H__ | |||
#define __VALALOCKABLE_H__ | #define __VALALOCKABLE_H__ | |||
typedef struct _ValaLockable ValaLockable; | ||||
typedef struct _ValaLockableIface ValaLockableIface; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_LOCKABLE (vala_lockable_get_type ()) | #define VALA_TYPE_LOCKABLE (vala_lockable_get_type ()) | |||
#define VALA_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_LO CKABLE, ValaLockable)) | #define VALA_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_LO CKABLE, ValaLockable)) | |||
#define VALA_IS_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _LOCKABLE)) | #define VALA_IS_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _LOCKABLE)) | |||
#define VALA_LOCKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((o bj), VALA_TYPE_LOCKABLE, ValaLockableIface)) | #define VALA_LOCKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((o bj), VALA_TYPE_LOCKABLE, ValaLockableIface)) | |||
typedef struct _ValaLockable ValaLockable; | ||||
typedef struct _ValaLockableIface ValaLockableIface; | ||||
/** | /** | |||
* Represents a lockable object. | * Represents a lockable object. | |||
*/ | */ | |||
struct _ValaLockableIface { | struct _ValaLockableIface { | |||
GTypeInterface parent; | GTypeInterface parent; | |||
gboolean (*get_lock_used) (ValaLockable* self); | gboolean (*get_lock_used) (ValaLockable* self); | |||
void (*set_lock_used) (ValaLockable* self, gboolean used); | void (*set_lock_used) (ValaLockable* self, gboolean used); | |||
}; | }; | |||
gboolean vala_lockable_get_lock_used (ValaLockable* self); | gboolean vala_lockable_get_lock_used (ValaLockable* self); | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valalockstatement.h | valalockstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALALOCKSTATEMENT_H__ | #ifndef __VALALOCKSTATEMENT_H__ | |||
#define __VALALOCKSTATEMENT_H__ | #define __VALALOCKSTATEMENT_H__ | |||
typedef struct _ValaLockStatementPrivate ValaLockStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_LOCK_STATEMENT (vala_lock_statement_get_type ()) | #define VALA_TYPE_LOCK_STATEMENT (vala_lock_statement_get_type ()) | |||
#define VALA_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_LOCK_STATEMENT, ValaLockStatement)) | #define VALA_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_LOCK_STATEMENT, ValaLockStatement)) | |||
#define VALA_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | #define VALA_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | |||
#define VALA_IS_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_LOCK_STATEMENT)) | #define VALA_IS_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_LOCK_STATEMENT)) | |||
#define VALA_IS_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_LOCK_STATEMENT)) | #define VALA_IS_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_LOCK_STATEMENT)) | |||
#define VALA_LOCK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | #define VALA_LOCK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | |||
typedef struct _ValaLockStatementPrivate ValaLockStatementPrivate; | ||||
/** | /** | |||
* Represents a lock statement e.g. "lock (a) { f(a) }". | * Represents a lock statement e.g. "lock (a) { f(a) }". | |||
*/ | */ | |||
struct _ValaLockStatement { | struct _ValaLockStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaLockStatementPrivate * priv; | ValaLockStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaLockStatementClass { | struct _ValaLockStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valamember.h | valamember.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALAMEMBER_H__ | #ifndef __VALAMEMBER_H__ | |||
#define __VALAMEMBER_H__ | #define __VALAMEMBER_H__ | |||
typedef struct _ValaMemberPrivate ValaMemberPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_MEMBER (vala_member_get_type ()) | #define VALA_TYPE_MEMBER (vala_member_get_type ()) | |||
#define VALA_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_MEMB ER, ValaMember)) | #define VALA_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_MEMB ER, ValaMember)) | |||
#define VALA_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_MEMBER, ValaMemberClass)) | #define VALA_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_MEMBER, ValaMemberClass)) | |||
#define VALA_IS_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M EMBER)) | #define VALA_IS_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M EMBER)) | |||
#define VALA_IS_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_MEMBER)) | #define VALA_IS_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_MEMBER)) | |||
#define VALA_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_MEMBER, ValaMemberClass)) | #define VALA_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_MEMBER, ValaMemberClass)) | |||
typedef struct _ValaMemberPrivate ValaMemberPrivate; | ||||
/** | /** | |||
* Represents a general class member. | * Represents a general class member. | |||
*/ | */ | |||
struct _ValaMember { | struct _ValaMember { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaMemberPrivate * priv; | ValaMemberPrivate * priv; | |||
}; | }; | |||
struct _ValaMemberClass { | struct _ValaMemberClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valamemberaccess.h | valamemberaccess.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAMEMBERACCESS_H__ | #ifndef __VALAMEMBERACCESS_H__ | |||
#define __VALAMEMBERACCESS_H__ | #define __VALAMEMBERACCESS_H__ | |||
typedef struct _ValaMemberAccessPrivate ValaMemberAccessPrivate; | ||||
#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/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_MEMBER_ACCESS (vala_member_access_get_type ()) | #define VALA_TYPE_MEMBER_ACCESS (vala_member_access_get_type ()) | |||
#define VALA_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_MEMBER_ACCESS, ValaMemberAccess)) | #define VALA_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_MEMBER_ACCESS, ValaMemberAccess)) | |||
#define VALA_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | #define VALA_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | |||
#define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_MEMBER_ACCESS)) | #define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_MEMBER_ACCESS)) | |||
#define VALA_IS_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_MEMBER_ACCESS)) | #define VALA_IS_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_MEMBER_ACCESS)) | |||
#define VALA_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | #define VALA_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | |||
typedef struct _ValaMemberAccessPrivate ValaMemberAccessPrivate; | ||||
/** | /** | |||
* Represents an access to a type member in the source code. | * Represents an access to a type member in the source code. | |||
*/ | */ | |||
struct _ValaMemberAccess { | struct _ValaMemberAccess { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaMemberAccessPrivate * priv; | ValaMemberAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaMemberAccessClass { | struct _ValaMemberAccessClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valamemberaccessibility.h | valamemberaccessibility.h | |||
---|---|---|---|---|
skipping to change at line 35 | skipping to change at line 35 | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
typedef enum { | typedef enum { | |||
VALA_MEMBER_ACCESSIBILITY_PRIVATE, | VALA_MEMBER_ACCESSIBILITY_PRIVATE, | |||
VALA_MEMBER_ACCESSIBILITY_INTERNAL, | VALA_MEMBER_ACCESSIBILITY_INTERNAL, | |||
VALA_MEMBER_ACCESSIBILITY_PROTECTED, | VALA_MEMBER_ACCESSIBILITY_PROTECTED, | |||
VALA_MEMBER_ACCESSIBILITY_PUBLIC, | VALA_MEMBER_ACCESSIBILITY_PUBLIC | |||
} ValaMemberAccessibility; | } ValaMemberAccessibility; | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valamemorymanager.h | valamemorymanager.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALAMEMORYMANAGER_H__ | #ifndef __VALAMEMORYMANAGER_H__ | |||
#define __VALAMEMORYMANAGER_H__ | #define __VALAMEMORYMANAGER_H__ | |||
typedef struct _ValaMemoryManager ValaMemoryManager; | ||||
typedef struct _ValaMemoryManagerClass ValaMemoryManagerClass; | ||||
typedef struct _ValaMemoryManagerPrivate ValaMemoryManagerPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valasourcefile.h> | ||||
#include <vala/valanamespace.h> | ||||
#include <vala/valaclass.h> | ||||
#include <vala/valastruct.h> | ||||
#include <vala/valainterface.h> | ||||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | ||||
#include <vala/valaconstructor.h> | ||||
#include <vala/valadestructor.h> | ||||
#include <vala/valanamedargument.h> | #include <vala/valanamedargument.h> | |||
#include <vala/valavariabledeclarator.h> | #include <vala/valavariabledeclarator.h> | |||
#include <vala/valaexpressionstatement.h> | #include <vala/valaexpressionstatement.h> | |||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valamemberaccess.h> | #include <vala/valamemberaccess.h> | |||
#include <vala/valainvocationexpression.h> | #include <vala/valainvocationexpression.h> | |||
#include <vala/valabinaryexpression.h> | #include <vala/valabinaryexpression.h> | |||
#include <vala/valaassignment.h> | #include <vala/valaassignment.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_MEMORY_MANAGER (vala_memory_manager_get_type ()) | #define VALA_TYPE_MEMORY_MANAGER (vala_memory_manager_get_type ()) | |||
#define VALA_MEMORY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_MEMORY_MANAGER, ValaMemoryManager)) | #define VALA_MEMORY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_MEMORY_MANAGER, ValaMemoryManager)) | |||
#define VALA_MEMORY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_MEMORY_MANAGER, ValaMemoryManagerClass)) | #define VALA_MEMORY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_MEMORY_MANAGER, ValaMemoryManagerClass)) | |||
#define VALA_IS_MEMORY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_MEMORY_MANAGER)) | #define VALA_IS_MEMORY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_MEMORY_MANAGER)) | |||
#define VALA_IS_MEMORY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_MEMORY_MANAGER)) | #define VALA_IS_MEMORY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_MEMORY_MANAGER)) | |||
#define VALA_MEMORY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_MEMORY_MANAGER, ValaMemoryManagerClass)) | #define VALA_MEMORY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_MEMORY_MANAGER, ValaMemoryManagerClass)) | |||
typedef struct _ValaMemoryManager ValaMemoryManager; | ||||
typedef struct _ValaMemoryManagerClass ValaMemoryManagerClass; | ||||
typedef struct _ValaMemoryManagerPrivate ValaMemoryManagerPrivate; | ||||
/** | /** | |||
* Code visitor analyzing memory usage. The memory manager finds leaked and | * Code visitor analyzing memory usage. The memory manager finds leaked and | |||
* copied references. | * copied references. | |||
*/ | */ | |||
struct _ValaMemoryManager { | struct _ValaMemoryManager { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent; | |||
ValaMemoryManagerPrivate * priv; | ValaMemoryManagerPrivate * priv; | |||
}; | }; | |||
struct _ValaMemoryManagerClass { | struct _ValaMemoryManagerClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent; | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 11 lines changed or added | |||
valamethod.h | valamethod.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALAMETHOD_H__ | #ifndef __VALAMETHOD_H__ | |||
#define __VALAMETHOD_H__ | #define __VALAMETHOD_H__ | |||
typedef struct _ValaMethodPrivate ValaMethodPrivate; | ||||
#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/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valainvokable.h> | #include <vala/valainvokable.h> | |||
#include <vala/valamemberaccessibility.h> | #include <vala/valamemberaccessibility.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_METHOD (vala_method_get_type ()) | #define VALA_TYPE_METHOD (vala_method_get_type ()) | |||
#define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH OD, ValaMethod)) | #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH OD, ValaMethod)) | |||
#define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_METHOD, ValaMethodClass)) | #define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_METHOD, ValaMethodClass)) | |||
#define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M ETHOD)) | #define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M ETHOD)) | |||
#define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_METHOD)) | #define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_METHOD)) | |||
#define VALA_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_METHOD, ValaMethodClass)) | #define VALA_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_METHOD, ValaMethodClass)) | |||
typedef struct _ValaMethodPrivate ValaMethodPrivate; | ||||
/** | /** | |||
* Represents a type or namespace method. | * Represents a type or namespace method. | |||
*/ | */ | |||
struct _ValaMethod { | struct _ValaMethod { | |||
ValaMember parent; | ValaMember parent; | |||
ValaMethodPrivate * priv; | ValaMethodPrivate * priv; | |||
ValaMemberAccessibility access; | ValaMemberAccessibility access; | |||
}; | }; | |||
struct _ValaMethodClass { | struct _ValaMethodClass { | |||
ValaMemberClass parent; | ValaMemberClass parent; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valanamedargument.h | valanamedargument.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALANAMEDARGUMENT_H__ | #ifndef __VALANAMEDARGUMENT_H__ | |||
#define __VALANAMEDARGUMENT_H__ | #define __VALANAMEDARGUMENT_H__ | |||
typedef struct _ValaNamedArgumentPrivate ValaNamedArgumentPrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_NAMED_ARGUMENT (vala_named_argument_get_type ()) | #define VALA_TYPE_NAMED_ARGUMENT (vala_named_argument_get_type ()) | |||
#define VALA_NAMED_ARGUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_NAMED_ARGUMENT, ValaNamedArgument)) | #define VALA_NAMED_ARGUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_NAMED_ARGUMENT, ValaNamedArgument)) | |||
#define VALA_NAMED_ARGUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_NAMED_ARGUMENT, ValaNamedArgumentClass)) | #define VALA_NAMED_ARGUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_NAMED_ARGUMENT, ValaNamedArgumentClass)) | |||
#define VALA_IS_NAMED_ARGUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_NAMED_ARGUMENT)) | #define VALA_IS_NAMED_ARGUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_NAMED_ARGUMENT)) | |||
#define VALA_IS_NAMED_ARGUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_NAMED_ARGUMENT)) | #define VALA_IS_NAMED_ARGUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_NAMED_ARGUMENT)) | |||
#define VALA_NAMED_ARGUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_NAMED_ARGUMENT, ValaNamedArgumentClass)) | #define VALA_NAMED_ARGUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_NAMED_ARGUMENT, ValaNamedArgumentClass)) | |||
typedef struct _ValaNamedArgumentPrivate ValaNamedArgumentPrivate; | ||||
/** | /** | |||
* Represents a named argument in the source code. A named argument may be used | * Represents a named argument in the source code. A named argument may be used | |||
* when creating objects and attributes where no parameter list exists. | * when creating objects and attributes where no parameter list exists. | |||
*/ | */ | |||
struct _ValaNamedArgument { | struct _ValaNamedArgument { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaNamedArgumentPrivate * priv; | ValaNamedArgumentPrivate * priv; | |||
}; | }; | |||
struct _ValaNamedArgumentClass { | struct _ValaNamedArgumentClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valanamespace.h | valanamespace.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALANAMESPACE_H__ | #ifndef __VALANAMESPACE_H__ | |||
#define __VALANAMESPACE_H__ | #define __VALANAMESPACE_H__ | |||
typedef struct _ValaNamespacePrivate ValaNamespacePrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_NAMESPACE (vala_namespace_get_type ()) | #define VALA_TYPE_NAMESPACE (vala_namespace_get_type ()) | |||
#define VALA_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_N AMESPACE, ValaNamespace)) | #define VALA_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_N AMESPACE, ValaNamespace)) | |||
#define VALA_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_NAMESPACE, ValaNamespaceClass)) | #define VALA_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_NAMESPACE, ValaNamespaceClass)) | |||
#define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_NAMESPACE)) | #define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_NAMESPACE)) | |||
#define VALA_IS_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_NAMESPACE)) | #define VALA_IS_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_NAMESPACE)) | |||
#define VALA_NAMESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_NAMESPACE, ValaNamespaceClass)) | #define VALA_NAMESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_NAMESPACE, ValaNamespaceClass)) | |||
typedef struct _ValaNamespacePrivate ValaNamespacePrivate; | ||||
/** | /** | |||
* Represents a namespace declaration in the source code. | * Represents a namespace declaration in the source code. | |||
*/ | */ | |||
struct _ValaNamespace { | struct _ValaNamespace { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaNamespacePrivate * priv; | ValaNamespacePrivate * priv; | |||
}; | }; | |||
struct _ValaNamespaceClass { | struct _ValaNamespaceClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
skipping to change at line 70 | skipping to change at line 69 | |||
void vala_namespace_add_flags (ValaNamespace* self, ValaFlags* fl); | void vala_namespace_add_flags (ValaNamespace* self, ValaFlags* fl); | |||
void vala_namespace_add_callback (ValaNamespace* self, ValaCallback* cb); | void vala_namespace_add_callback (ValaNamespace* self, ValaCallback* cb); | |||
GList* vala_namespace_get_structs (ValaNamespace* self); | GList* vala_namespace_get_structs (ValaNamespace* self); | |||
GList* vala_namespace_get_classes (ValaNamespace* self); | GList* vala_namespace_get_classes (ValaNamespace* self); | |||
GList* vala_namespace_get_interfaces (ValaNamespace* self); | GList* vala_namespace_get_interfaces (ValaNamespace* self); | |||
void vala_namespace_add_constant (ValaNamespace* self, ValaConstant* consta nt); | void vala_namespace_add_constant (ValaNamespace* self, ValaConstant* consta nt); | |||
void vala_namespace_add_field (ValaNamespace* self, ValaField* f); | void vala_namespace_add_field (ValaNamespace* self, ValaField* f); | |||
void vala_namespace_add_method (ValaNamespace* self, ValaMethod* m); | void vala_namespace_add_method (ValaNamespace* self, ValaMethod* m); | |||
char* vala_namespace_camel_case_to_lower_case (const char* camel_case); | char* vala_namespace_camel_case_to_lower_case (const char* camel_case); | |||
char* vala_namespace_get_cprefix (ValaNamespace* self); | char* vala_namespace_get_cprefix (ValaNamespace* self); | |||
void vala_namespace_set_cprefix (ValaNamespace* self, const char* cprefix); | ||||
char* vala_namespace_get_lower_case_cprefix (ValaNamespace* self); | char* vala_namespace_get_lower_case_cprefix (ValaNamespace* self); | |||
void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char * cprefix); | ||||
GList* vala_namespace_get_cheader_filenames (ValaNamespace* self); | GList* vala_namespace_get_cheader_filenames (ValaNamespace* self); | |||
char* vala_namespace_get_cheader_filename (ValaNamespace* self); | char* vala_namespace_get_cheader_filename (ValaNamespace* self); | |||
void vala_namespace_set_cheader_filename (ValaNamespace* self, const char* cheader_filename); | void vala_namespace_set_cheader_filename (ValaNamespace* self, const char* cheader_filename); | |||
void vala_namespace_process_attributes (ValaNamespace* self); | void vala_namespace_process_attributes (ValaNamespace* self); | |||
char* vala_namespace_get_name (ValaNamespace* self); | char* vala_namespace_get_name (ValaNamespace* self); | |||
void vala_namespace_set_name (ValaNamespace* self, const char* value); | void vala_namespace_set_name (ValaNamespace* self, const char* value); | |||
GType vala_namespace_get_type (); | GType vala_namespace_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 4 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||
valanamespacereference.h | valanamespacereference.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALANAMESPACEREFERENCE_H__ | #ifndef __VALANAMESPACEREFERENCE_H__ | |||
#define __VALANAMESPACEREFERENCE_H__ | #define __VALANAMESPACEREFERENCE_H__ | |||
typedef struct _ValaNamespaceReferencePrivate ValaNamespaceReferencePrivate ; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_NAMESPACE_REFERENCE (vala_namespace_reference_get_type () ) | #define VALA_TYPE_NAMESPACE_REFERENCE (vala_namespace_reference_get_type () ) | |||
#define VALA_NAMESPACE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_NAMESPACE_REFERENCE, ValaNamespaceReference)) | #define VALA_NAMESPACE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_NAMESPACE_REFERENCE, ValaNamespaceReference)) | |||
#define VALA_NAMESPACE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_NAMESPACE_REFERENCE, ValaNamespaceReferenceClass)) | #define VALA_NAMESPACE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_NAMESPACE_REFERENCE, ValaNamespaceReferenceClass)) | |||
#define VALA_IS_NAMESPACE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_NAMESPACE_REFERENCE)) | #define VALA_IS_NAMESPACE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_NAMESPACE_REFERENCE)) | |||
#define VALA_IS_NAMESPACE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_NAMESPACE_REFERENCE)) | #define VALA_IS_NAMESPACE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_NAMESPACE_REFERENCE)) | |||
#define VALA_NAMESPACE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NAMESPACE_REFERENCE, ValaNamespaceReferenceClass)) | #define VALA_NAMESPACE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NAMESPACE_REFERENCE, ValaNamespaceReferenceClass)) | |||
typedef struct _ValaNamespaceReferencePrivate ValaNamespaceReferencePrivate | ||||
; | ||||
/** | /** | |||
* A reference to a namespace symbol. | * A reference to a namespace symbol. | |||
*/ | */ | |||
struct _ValaNamespaceReference { | struct _ValaNamespaceReference { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaNamespaceReferencePrivate * priv; | ValaNamespaceReferencePrivate * priv; | |||
}; | }; | |||
struct _ValaNamespaceReferenceClass { | struct _ValaNamespaceReferenceClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valanullliteral.h | valanullliteral.h | |||
---|---|---|---|---|
/* valanullliteral.vala | /* valanullliteral.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALANULLLITERAL_H__ | #ifndef __VALANULLLITERAL_H__ | |||
#define __VALANULLLITERAL_H__ | #define __VALANULLLITERAL_H__ | |||
typedef struct _ValaNullLiteralPrivate ValaNullLiteralPrivate; | ||||
#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/valaliteral.h> | #include <vala/valaliteral.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_NULL_LITERAL (vala_null_literal_get_type ()) | #define VALA_TYPE_NULL_LITERAL (vala_null_literal_get_type ()) | |||
#define VALA_NULL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_NULL_LITERAL, ValaNullLiteral)) | #define VALA_NULL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_NULL_LITERAL, ValaNullLiteral)) | |||
#define VALA_NULL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_NULL_LITERAL, ValaNullLiteralClass)) | #define VALA_NULL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_NULL_LITERAL, ValaNullLiteralClass)) | |||
#define VALA_IS_NULL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_NULL_LITERAL)) | #define VALA_IS_NULL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_NULL_LITERAL)) | |||
#define VALA_IS_NULL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_NULL_LITERAL)) | #define VALA_IS_NULL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_NULL_LITERAL)) | |||
#define VALA_NULL_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NULL_LITERAL, ValaNullLiteralClass)) | #define VALA_NULL_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NULL_LITERAL, ValaNullLiteralClass)) | |||
typedef struct _ValaNullLiteralPrivate ValaNullLiteralPrivate; | ||||
/** | /** | |||
* Represents a literal `null' in the source code. | * Represents a literal `null' in the source code. | |||
*/ | */ | |||
struct _ValaNullLiteral { | struct _ValaNullLiteral { | |||
ValaLiteral parent; | ValaLiteral parent; | |||
ValaNullLiteralPrivate * priv; | ValaNullLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaNullLiteralClass { | struct _ValaNullLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valaobjectcreationexpression.h | valaobjectcreationexpression.h | |||
---|---|---|---|---|
/* valaobjectcreationexpression.vala | /* valaobjectcreationexpression.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAOBJECTCREATIONEXPRESSION_H__ | #ifndef __VALAOBJECTCREATIONEXPRESSION_H__ | |||
#define __VALAOBJECTCREATIONEXPRESSION_H__ | #define __VALAOBJECTCREATIONEXPRESSION_H__ | |||
typedef struct _ValaObjectCreationExpressionPrivate ValaObjectCreationExpre ssionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_OBJECT_CREATION_EXPRESSION (vala_object_creation_expressi on_get_type ()) | #define VALA_TYPE_OBJECT_CREATION_EXPRESSION (vala_object_creation_expressi on_get_type ()) | |||
#define VALA_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST (( obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpression)) | #define VALA_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST (( obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpression)) | |||
#define VALA_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA ST ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpres sionClass)) | #define VALA_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA ST ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpres sionClass)) | |||
#define VALA_IS_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | #define VALA_IS_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | |||
#define VALA_IS_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | #define VALA_IS_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | |||
#define VALA_OBJECT_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpr essionClass)) | #define VALA_OBJECT_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpr essionClass)) | |||
typedef struct _ValaObjectCreationExpressionPrivate ValaObjectCreationExpre | ||||
ssionPrivate; | ||||
/** | /** | |||
* Represents an object creation expression in the source code. | * Represents an object creation expression in the source code. | |||
*/ | */ | |||
struct _ValaObjectCreationExpression { | struct _ValaObjectCreationExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaObjectCreationExpressionPrivate * priv; | ValaObjectCreationExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaObjectCreationExpressionClass { | struct _ValaObjectCreationExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 2 lines changed or added | |||
valaparenthesizedexpression.h | valaparenthesizedexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAPARENTHESIZEDEXPRESSION_H__ | #ifndef __VALAPARENTHESIZEDEXPRESSION_H__ | |||
#define __VALAPARENTHESIZEDEXPRESSION_H__ | #define __VALAPARENTHESIZEDEXPRESSION_H__ | |||
typedef struct _ValaParenthesizedExpressionPrivate ValaParenthesizedExpress ionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_PARENTHESIZED_EXPRESSION (vala_parenthesized_expression_g et_type ()) | #define VALA_TYPE_PARENTHESIZED_EXPRESSION (vala_parenthesized_expression_g et_type ()) | |||
#define VALA_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob j), VALA_TYPE_PARENTHESIZED_EXPRESSION, ValaParenthesizedExpression)) | #define VALA_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob j), VALA_TYPE_PARENTHESIZED_EXPRESSION, ValaParenthesizedExpression)) | |||
#define VALA_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_PARENTHESIZED_EXPRESSION, ValaParenthesizedExpressionC lass)) | #define VALA_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_PARENTHESIZED_EXPRESSION, ValaParenthesizedExpressionC lass)) | |||
#define VALA_IS_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_PARENTHESIZED_EXPRESSION)) | #define VALA_IS_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_PARENTHESIZED_EXPRESSION)) | |||
#define VALA_IS_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_PARENTHESIZED_EXPRESSION)) | #define VALA_IS_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_PARENTHESIZED_EXPRESSION)) | |||
#define VALA_PARENTHESIZED_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_PARENTHESIZED_EXPRESSION, ValaParenthesizedExpressio nClass)) | #define VALA_PARENTHESIZED_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_PARENTHESIZED_EXPRESSION, ValaParenthesizedExpressio nClass)) | |||
typedef struct _ValaParenthesizedExpressionPrivate ValaParenthesizedExpress | ||||
ionPrivate; | ||||
/** | /** | |||
* Represents a parenthesized expression in the source code. | * Represents a parenthesized expression in the source code. | |||
*/ | */ | |||
struct _ValaParenthesizedExpression { | struct _ValaParenthesizedExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaParenthesizedExpressionPrivate * priv; | ValaParenthesizedExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaParenthesizedExpressionClass { | struct _ValaParenthesizedExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valaparser.h | valaparser.h | |||
---|---|---|---|---|
/* valaparser.vala | /* valaparser.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAPARSER_H__ | #ifndef __VALAPARSER_H__ | |||
#define __VALAPARSER_H__ | #define __VALAPARSER_H__ | |||
typedef struct _ValaParser ValaParser; | ||||
typedef struct _ValaParserClass ValaParserClass; | ||||
typedef struct _ValaParserPrivate ValaParserPrivate; | ||||
#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/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_PARSER (vala_parser_get_type ()) | #define VALA_TYPE_PARSER (vala_parser_get_type ()) | |||
#define VALA_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PARS ER, ValaParser)) | #define VALA_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PARS ER, ValaParser)) | |||
#define VALA_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_PARSER, ValaParserClass)) | #define VALA_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_PARSER, ValaParserClass)) | |||
#define VALA_IS_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_P ARSER)) | #define VALA_IS_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_P ARSER)) | |||
#define VALA_IS_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_PARSER)) | #define VALA_IS_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_PARSER)) | |||
#define VALA_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_PARSER, ValaParserClass)) | #define VALA_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_PARSER, ValaParserClass)) | |||
typedef struct _ValaParser ValaParser; | ||||
typedef struct _ValaParserClass ValaParserClass; | ||||
typedef struct _ValaParserPrivate ValaParserPrivate; | ||||
/** | /** | |||
* Code visitor parsing all Vala source files. | * Code visitor parsing all Vala source files. | |||
*/ | */ | |||
struct _ValaParser { | struct _ValaParser { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent; | |||
ValaParserPrivate * priv; | ValaParserPrivate * priv; | |||
}; | }; | |||
struct _ValaParserClass { | struct _ValaParserClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valapointer.h | valapointer.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAPOINTER_H__ | #ifndef __VALAPOINTER_H__ | |||
#define __VALAPOINTER_H__ | #define __VALAPOINTER_H__ | |||
typedef struct _ValaPointerPrivate ValaPointerPrivate; | ||||
#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/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_POINTER (vala_pointer_get_type ()) | #define VALA_TYPE_POINTER (vala_pointer_get_type ()) | |||
#define VALA_POINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_POI NTER, ValaPointer)) | #define VALA_POINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_POI NTER, ValaPointer)) | |||
#define VALA_POINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_T YPE_POINTER, ValaPointerClass)) | #define VALA_POINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_T YPE_POINTER, ValaPointerClass)) | |||
#define VALA_IS_POINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ POINTER)) | #define VALA_IS_POINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ POINTER)) | |||
#define VALA_IS_POINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VAL A_TYPE_POINTER)) | #define VALA_IS_POINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VAL A_TYPE_POINTER)) | |||
#define VALA_POINTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA _TYPE_POINTER, ValaPointerClass)) | #define VALA_POINTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA _TYPE_POINTER, ValaPointerClass)) | |||
typedef struct _ValaPointerPrivate ValaPointerPrivate; | ||||
/** | /** | |||
* Represents a pointer-type. | * Represents a pointer-type. | |||
*/ | */ | |||
struct _ValaPointer { | struct _ValaPointer { | |||
ValaDataType parent; | ValaDataType parent; | |||
ValaPointerPrivate * priv; | ValaPointerPrivate * priv; | |||
}; | }; | |||
struct _ValaPointerClass { | struct _ValaPointerClass { | |||
ValaDataTypeClass parent; | ValaDataTypeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valapointerindirection.h | valapointerindirection.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAPOINTERINDIRECTION_H__ | #ifndef __VALAPOINTERINDIRECTION_H__ | |||
#define __VALAPOINTERINDIRECTION_H__ | #define __VALAPOINTERINDIRECTION_H__ | |||
typedef struct _ValaPointerIndirectionPrivate ValaPointerIndirectionPrivate ; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_POINTER_INDIRECTION (vala_pointer_indirection_get_type () ) | #define VALA_TYPE_POINTER_INDIRECTION (vala_pointer_indirection_get_type () ) | |||
#define VALA_POINTER_INDIRECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_POINTER_INDIRECTION, ValaPointerIndirection)) | #define VALA_POINTER_INDIRECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_POINTER_INDIRECTION, ValaPointerIndirection)) | |||
#define VALA_POINTER_INDIRECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_POINTER_INDIRECTION, ValaPointerIndirectionClass)) | #define VALA_POINTER_INDIRECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_POINTER_INDIRECTION, ValaPointerIndirectionClass)) | |||
#define VALA_IS_POINTER_INDIRECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_POINTER_INDIRECTION)) | #define VALA_IS_POINTER_INDIRECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_POINTER_INDIRECTION)) | |||
#define VALA_IS_POINTER_INDIRECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_POINTER_INDIRECTION)) | #define VALA_IS_POINTER_INDIRECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_POINTER_INDIRECTION)) | |||
#define VALA_POINTER_INDIRECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_POINTER_INDIRECTION, ValaPointerIndirectionClass)) | #define VALA_POINTER_INDIRECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_POINTER_INDIRECTION, ValaPointerIndirectionClass)) | |||
typedef struct _ValaPointerIndirectionPrivate ValaPointerIndirectionPrivate | ||||
; | ||||
/** | /** | |||
* Represents a pointer indirection in the source code, e.g. `*pointer'. | * Represents a pointer indirection in the source code, e.g. `*pointer'. | |||
*/ | */ | |||
struct _ValaPointerIndirection { | struct _ValaPointerIndirection { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaPointerIndirectionPrivate * priv; | ValaPointerIndirectionPrivate * priv; | |||
}; | }; | |||
struct _ValaPointerIndirectionClass { | struct _ValaPointerIndirectionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valapostfixexpression.h | valapostfixexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAPOSTFIXEXPRESSION_H__ | #ifndef __VALAPOSTFIXEXPRESSION_H__ | |||
#define __VALAPOSTFIXEXPRESSION_H__ | #define __VALAPOSTFIXEXPRESSION_H__ | |||
typedef struct _ValaPostfixExpressionPrivate ValaPostfixExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_POSTFIX_EXPRESSION (vala_postfix_expression_get_type ()) | #define VALA_TYPE_POSTFIX_EXPRESSION (vala_postfix_expression_get_type ()) | |||
#define VALA_POSTFIX_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_POSTFIX_EXPRESSION, ValaPostfixExpression)) | #define VALA_POSTFIX_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA LA_TYPE_POSTFIX_EXPRESSION, ValaPostfixExpression)) | |||
#define VALA_POSTFIX_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_POSTFIX_EXPRESSION, ValaPostfixExpressionClass)) | #define VALA_POSTFIX_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla ss), VALA_TYPE_POSTFIX_EXPRESSION, ValaPostfixExpressionClass)) | |||
#define VALA_IS_POSTFIX_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_POSTFIX_EXPRESSION)) | #define VALA_IS_POSTFIX_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_POSTFIX_EXPRESSION)) | |||
#define VALA_IS_POSTFIX_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_POSTFIX_EXPRESSION)) | #define VALA_IS_POSTFIX_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_POSTFIX_EXPRESSION)) | |||
#define VALA_POSTFIX_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_POSTFIX_EXPRESSION, ValaPostfixExpressionClass)) | #define VALA_POSTFIX_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_POSTFIX_EXPRESSION, ValaPostfixExpressionClass)) | |||
typedef struct _ValaPostfixExpressionPrivate ValaPostfixExpressionPrivate; | ||||
/** | /** | |||
* Represents a postfix increment or decrement expression. | * Represents a postfix increment or decrement expression. | |||
*/ | */ | |||
struct _ValaPostfixExpression { | struct _ValaPostfixExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaPostfixExpressionPrivate * priv; | ValaPostfixExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaPostfixExpressionClass { | struct _ValaPostfixExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaproperty.h | valaproperty.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAPROPERTY_H__ | #ifndef __VALAPROPERTY_H__ | |||
#define __VALAPROPERTY_H__ | #define __VALAPROPERTY_H__ | |||
typedef struct _ValaPropertyPrivate ValaPropertyPrivate; | ||||
#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/valaccodeconstant.h> | #include <ccode/valaccodeconstant.h> | |||
#include <vala/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valalockable.h> | #include <vala/valalockable.h> | |||
#include <vala/valamemberaccessibility.h> | #include <vala/valamemberaccessibility.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_PROPERTY (vala_property_get_type ()) | #define VALA_TYPE_PROPERTY (vala_property_get_type ()) | |||
#define VALA_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PR OPERTY, ValaProperty)) | #define VALA_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PR OPERTY, ValaProperty)) | |||
#define VALA_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_ TYPE_PROPERTY, ValaPropertyClass)) | #define VALA_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_ TYPE_PROPERTY, ValaPropertyClass)) | |||
#define VALA_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _PROPERTY)) | #define VALA_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _PROPERTY)) | |||
#define VALA_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_PROPERTY)) | #define VALA_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_PROPERTY)) | |||
#define VALA_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_PROPERTY, ValaPropertyClass)) | #define VALA_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_PROPERTY, ValaPropertyClass)) | |||
typedef struct _ValaPropertyPrivate ValaPropertyPrivate; | ||||
/** | /** | |||
* Represents a property declaration in the source code. | * Represents a property declaration in the source code. | |||
*/ | */ | |||
struct _ValaProperty { | struct _ValaProperty { | |||
ValaMember parent; | ValaMember parent; | |||
ValaPropertyPrivate * priv; | ValaPropertyPrivate * priv; | |||
}; | }; | |||
struct _ValaPropertyClass { | struct _ValaPropertyClass { | |||
ValaMemberClass parent; | ValaMemberClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valapropertyaccessor.h | valapropertyaccessor.h | |||
---|---|---|---|---|
/* valapropertyaccessor.vala | /* valapropertyaccessor.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAPROPERTYACCESSOR_H__ | #ifndef __VALAPROPERTYACCESSOR_H__ | |||
#define __VALAPROPERTYACCESSOR_H__ | #define __VALAPROPERTYACCESSOR_H__ | |||
typedef struct _ValaPropertyAccessorPrivate ValaPropertyAccessorPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_PROPERTY_ACCESSOR (vala_property_accessor_get_type ()) | #define VALA_TYPE_PROPERTY_ACCESSOR (vala_property_accessor_get_type ()) | |||
#define VALA_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessor)) | #define VALA_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessor)) | |||
#define VALA_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | #define VALA_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | |||
#define VALA_IS_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_PROPERTY_ACCESSOR)) | #define VALA_IS_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_PROPERTY_ACCESSOR)) | |||
#define VALA_IS_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_PROPERTY_ACCESSOR)) | #define VALA_IS_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_PROPERTY_ACCESSOR)) | |||
#define VALA_PROPERTY_ACCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | #define VALA_PROPERTY_ACCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | |||
typedef struct _ValaPropertyAccessorPrivate ValaPropertyAccessorPrivate; | ||||
/** | /** | |||
* Represents a get or set accessor of a property in the source code. | * Represents a get or set accessor of a property in the source code. | |||
*/ | */ | |||
struct _ValaPropertyAccessor { | struct _ValaPropertyAccessor { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaPropertyAccessorPrivate * priv; | ValaPropertyAccessorPrivate * priv; | |||
}; | }; | |||
struct _ValaPropertyAccessorClass { | struct _ValaPropertyAccessorClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valarealliteral.h | valarealliteral.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAREALLITERAL_H__ | #ifndef __VALAREALLITERAL_H__ | |||
#define __VALAREALLITERAL_H__ | #define __VALAREALLITERAL_H__ | |||
typedef struct _ValaRealLiteralPrivate ValaRealLiteralPrivate; | ||||
#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/valaliteral.h> | #include <vala/valaliteral.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_REAL_LITERAL (vala_real_literal_get_type ()) | #define VALA_TYPE_REAL_LITERAL (vala_real_literal_get_type ()) | |||
#define VALA_REAL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_REAL_LITERAL, ValaRealLiteral)) | #define VALA_REAL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_REAL_LITERAL, ValaRealLiteral)) | |||
#define VALA_REAL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_REAL_LITERAL, ValaRealLiteralClass)) | #define VALA_REAL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_REAL_LITERAL, ValaRealLiteralClass)) | |||
#define VALA_IS_REAL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_REAL_LITERAL)) | #define VALA_IS_REAL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_REAL_LITERAL)) | |||
#define VALA_IS_REAL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_REAL_LITERAL)) | #define VALA_IS_REAL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_REAL_LITERAL)) | |||
#define VALA_REAL_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_REAL_LITERAL, ValaRealLiteralClass)) | #define VALA_REAL_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_REAL_LITERAL, ValaRealLiteralClass)) | |||
typedef struct _ValaRealLiteralPrivate ValaRealLiteralPrivate; | ||||
/** | /** | |||
* Represents a real literal in the source code. | * Represents a real literal in the source code. | |||
*/ | */ | |||
struct _ValaRealLiteral { | struct _ValaRealLiteral { | |||
ValaLiteral parent; | ValaLiteral parent; | |||
ValaRealLiteralPrivate * priv; | ValaRealLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaRealLiteralClass { | struct _ValaRealLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valareferencetransferexpression.h | valareferencetransferexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAREFERENCETRANSFEREXPRESSION_H__ | #ifndef __VALAREFERENCETRANSFEREXPRESSION_H__ | |||
#define __VALAREFERENCETRANSFEREXPRESSION_H__ | #define __VALAREFERENCETRANSFEREXPRESSION_H__ | |||
typedef struct _ValaReferenceTransferExpressionPrivate ValaReferenceTransfe rExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION (vala_reference_transfer_ex pression_get_type ()) | #define VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION (vala_reference_transfer_ex pression_get_type ()) | |||
#define VALA_REFERENCE_TRANSFER_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTransferExpr ession)) | #define VALA_REFERENCE_TRANSFER_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTransferExpr ession)) | |||
#define VALA_REFERENCE_TRANSFER_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS _CAST ((klass), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTrans ferExpressionClass)) | #define VALA_REFERENCE_TRANSFER_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS _CAST ((klass), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTrans ferExpressionClass)) | |||
#define VALA_IS_REFERENCE_TRANSFER_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_T YPE ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION)) | #define VALA_IS_REFERENCE_TRANSFER_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_T YPE ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION)) | |||
#define VALA_IS_REFERENCE_TRANSFER_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CL ASS_TYPE ((klass), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION)) | #define VALA_IS_REFERENCE_TRANSFER_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CL ASS_TYPE ((klass), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION)) | |||
#define VALA_REFERENCE_TRANSFER_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_ GET_CLASS ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTra nsferExpressionClass)) | #define VALA_REFERENCE_TRANSFER_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_ GET_CLASS ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTra nsferExpressionClass)) | |||
typedef struct _ValaReferenceTransferExpressionPrivate ValaReferenceTransfe | ||||
rExpressionPrivate; | ||||
/** | /** | |||
* Represents a reference transfer expression in the source code, e.g. `#fo o'. | * Represents a reference transfer expression in the source code, e.g. `#fo o'. | |||
*/ | */ | |||
struct _ValaReferenceTransferExpression { | struct _ValaReferenceTransferExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaReferenceTransferExpressionPrivate * priv; | ValaReferenceTransferExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaReferenceTransferExpressionClass { | struct _ValaReferenceTransferExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valareport.h | valareport.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAREPORT_H__ | #ifndef __VALAREPORT_H__ | |||
#define __VALAREPORT_H__ | #define __VALAREPORT_H__ | |||
typedef struct _ValaReport ValaReport; | ||||
typedef struct _ValaReportClass ValaReportClass; | ||||
typedef struct _ValaReportPrivate ValaReportPrivate; | ||||
#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 | |||
#define VALA_TYPE_REPORT (vala_report_get_type ()) | #define VALA_TYPE_REPORT (vala_report_get_type ()) | |||
#define VALA_REPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_REPO RT, ValaReport)) | #define VALA_REPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_REPO RT, ValaReport)) | |||
#define VALA_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_REPORT, ValaReportClass)) | #define VALA_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_REPORT, ValaReportClass)) | |||
#define VALA_IS_REPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_R EPORT)) | #define VALA_IS_REPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_R EPORT)) | |||
#define VALA_IS_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_REPORT)) | #define VALA_IS_REPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_REPORT)) | |||
#define VALA_REPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_REPORT, ValaReportClass)) | #define VALA_REPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_REPORT, ValaReportClass)) | |||
typedef struct _ValaReport ValaReport; | ||||
typedef struct _ValaReportClass ValaReportClass; | ||||
typedef struct _ValaReportPrivate ValaReportPrivate; | ||||
/** | /** | |||
* Static class to centralize reporting warnings and errors. | * Static class to centralize reporting warnings and errors. | |||
*/ | */ | |||
struct _ValaReport { | struct _ValaReport { | |||
GObject parent; | GObject parent; | |||
ValaReportPrivate * priv; | ValaReportPrivate * priv; | |||
}; | }; | |||
struct _ValaReportClass { | struct _ValaReportClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valareturnstatement.h | valareturnstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALARETURNSTATEMENT_H__ | #ifndef __VALARETURNSTATEMENT_H__ | |||
#define __VALARETURNSTATEMENT_H__ | #define __VALARETURNSTATEMENT_H__ | |||
typedef struct _ValaReturnStatementPrivate ValaReturnStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_RETURN_STATEMENT (vala_return_statement_get_type ()) | #define VALA_TYPE_RETURN_STATEMENT (vala_return_statement_get_type ()) | |||
#define VALA_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_RETURN_STATEMENT, ValaReturnStatement)) | #define VALA_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_RETURN_STATEMENT, ValaReturnStatement)) | |||
#define VALA_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | #define VALA_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | |||
#define VALA_IS_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_RETURN_STATEMENT)) | #define VALA_IS_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_RETURN_STATEMENT)) | |||
#define VALA_IS_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_RETURN_STATEMENT)) | #define VALA_IS_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_RETURN_STATEMENT)) | |||
#define VALA_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | #define VALA_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | |||
typedef struct _ValaReturnStatementPrivate ValaReturnStatementPrivate; | ||||
/** | /** | |||
* Represents a return statement in the source code. | * Represents a return statement in the source code. | |||
*/ | */ | |||
struct _ValaReturnStatement { | struct _ValaReturnStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaReturnStatementPrivate * priv; | ValaReturnStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaReturnStatementClass { | struct _ValaReturnStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valasemanticanalyzer.h | valasemanticanalyzer.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALASEMANTICANALYZER_H__ | #ifndef __VALASEMANTICANALYZER_H__ | |||
#define __VALASEMANTICANALYZER_H__ | #define __VALASEMANTICANALYZER_H__ | |||
typedef struct _ValaSemanticAnalyzer ValaSemanticAnalyzer; | ||||
typedef struct _ValaSemanticAnalyzerClass ValaSemanticAnalyzerClass; | ||||
typedef struct _ValaSemanticAnalyzerPrivate ValaSemanticAnalyzerPrivate; | ||||
#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/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valacallback.h> | ||||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valasignal.h> | ||||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
#include <vala/valanamedargument.h> | #include <vala/valanamedargument.h> | |||
#include <vala/valablock.h> | #include <vala/valablock.h> | |||
#include <vala/valavariabledeclarator.h> | #include <vala/valavariabledeclarator.h> | |||
#include <vala/valainitializerlist.h> | #include <vala/valainitializerlist.h> | |||
#include <vala/valaexpressionstatement.h> | #include <vala/valaexpressionstatement.h> | |||
#include <vala/valaifstatement.h> | #include <vala/valaifstatement.h> | |||
#include <vala/valawhilestatement.h> | #include <vala/valawhilestatement.h> | |||
#include <vala/valaforstatement.h> | #include <vala/valaforstatement.h> | |||
skipping to change at line 78 | skipping to change at line 83 | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
#include <vala/valaparenthesizedexpression.h> | #include <vala/valaparenthesizedexpression.h> | |||
#include <vala/valamemberaccess.h> | #include <vala/valamemberaccess.h> | |||
#include <vala/valainvocationexpression.h> | #include <vala/valainvocationexpression.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valaelementaccess.h> | #include <vala/valaelementaccess.h> | |||
#include <vala/valabaseaccess.h> | #include <vala/valabaseaccess.h> | |||
#include <vala/valapostfixexpression.h> | #include <vala/valapostfixexpression.h> | |||
#include <vala/valaobjectcreationexpression.h> | #include <vala/valaobjectcreationexpression.h> | |||
#include <vala/valasizeofexpression.h> | ||||
#include <vala/valatypeofexpression.h> | #include <vala/valatypeofexpression.h> | |||
#include <vala/valaunaryexpression.h> | #include <vala/valaunaryexpression.h> | |||
#include <vala/valacastexpression.h> | #include <vala/valacastexpression.h> | |||
#include <vala/valapointerindirection.h> | #include <vala/valapointerindirection.h> | |||
#include <vala/valaaddressofexpression.h> | #include <vala/valaaddressofexpression.h> | |||
#include <vala/valareferencetransferexpression.h> | #include <vala/valareferencetransferexpression.h> | |||
#include <vala/valabinaryexpression.h> | #include <vala/valabinaryexpression.h> | |||
#include <vala/valatypecheck.h> | #include <vala/valatypecheck.h> | |||
#include <vala/valaconditionalexpression.h> | #include <vala/valaconditionalexpression.h> | |||
#include <vala/valalambdaexpression.h> | #include <vala/valalambdaexpression.h> | |||
skipping to change at line 99 | skipping to change at line 105 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SEMANTIC_ANALYZER (vala_semantic_analyzer_get_type ()) | #define VALA_TYPE_SEMANTIC_ANALYZER (vala_semantic_analyzer_get_type ()) | |||
#define VALA_SEMANTIC_ANALYZER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzer)) | #define VALA_SEMANTIC_ANALYZER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzer)) | |||
#define VALA_SEMANTIC_ANALYZER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzerClass)) | #define VALA_SEMANTIC_ANALYZER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzerClass)) | |||
#define VALA_IS_SEMANTIC_ANALYZER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SEMANTIC_ANALYZER)) | #define VALA_IS_SEMANTIC_ANALYZER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SEMANTIC_ANALYZER)) | |||
#define VALA_IS_SEMANTIC_ANALYZER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_SEMANTIC_ANALYZER)) | #define VALA_IS_SEMANTIC_ANALYZER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_SEMANTIC_ANALYZER)) | |||
#define VALA_SEMANTIC_ANALYZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzerClass)) | #define VALA_SEMANTIC_ANALYZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzerClass)) | |||
typedef struct _ValaSemanticAnalyzer ValaSemanticAnalyzer; | ||||
typedef struct _ValaSemanticAnalyzerClass ValaSemanticAnalyzerClass; | ||||
typedef struct _ValaSemanticAnalyzerPrivate ValaSemanticAnalyzerPrivate; | ||||
/** | /** | |||
* Code visitor analyzing and checking code. | * Code visitor analyzing and checking code. | |||
*/ | */ | |||
struct _ValaSemanticAnalyzer { | struct _ValaSemanticAnalyzer { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent; | |||
ValaSemanticAnalyzerPrivate * priv; | ValaSemanticAnalyzerPrivate * priv; | |||
}; | }; | |||
struct _ValaSemanticAnalyzerClass { | struct _ValaSemanticAnalyzerClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent; | |||
}; | }; | |||
End of changes. 5 change blocks. | ||||
4 lines changed or deleted | 6 lines changed or added | |||
valasignal.h | valasignal.h | |||
---|---|---|---|---|
/* valasignal.vala | /* valasignal.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASIGNAL_H__ | #ifndef __VALASIGNAL_H__ | |||
#define __VALASIGNAL_H__ | #define __VALASIGNAL_H__ | |||
typedef struct _ValaSignalPrivate ValaSignalPrivate; | ||||
#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/valaccodeconstant.h> | #include <ccode/valaccodeconstant.h> | |||
#include <vala/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valainvokable.h> | #include <vala/valainvokable.h> | |||
#include <vala/valalockable.h> | #include <vala/valalockable.h> | |||
#include <vala/valamemberaccessibility.h> | #include <vala/valamemberaccessibility.h> | |||
skipping to change at line 46 | skipping to change at line 47 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SIGNAL (vala_signal_get_type ()) | #define VALA_TYPE_SIGNAL (vala_signal_get_type ()) | |||
#define VALA_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SIGN AL, ValaSignal)) | #define VALA_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SIGN AL, ValaSignal)) | |||
#define VALA_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_SIGNAL, ValaSignalClass)) | #define VALA_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_SIGNAL, ValaSignalClass)) | |||
#define VALA_IS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S IGNAL)) | #define VALA_IS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S IGNAL)) | |||
#define VALA_IS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_SIGNAL)) | #define VALA_IS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_SIGNAL)) | |||
#define VALA_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_SIGNAL, ValaSignalClass)) | #define VALA_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_SIGNAL, ValaSignalClass)) | |||
typedef struct _ValaSignalPrivate ValaSignalPrivate; | ||||
/** | /** | |||
* Represents an object signal. Signals enable objects to provide notificat ions. | * Represents an object signal. Signals enable objects to provide notificat ions. | |||
*/ | */ | |||
struct _ValaSignal { | struct _ValaSignal { | |||
ValaMember parent; | ValaMember parent; | |||
ValaSignalPrivate * priv; | ValaSignalPrivate * priv; | |||
}; | }; | |||
struct _ValaSignalClass { | struct _ValaSignalClass { | |||
ValaMemberClass parent; | ValaMemberClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valasourcefile.h | valasourcefile.h | |||
---|---|---|---|---|
/* valasourcefile.vala | /* valasourcefile.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASOURCEFILE_H__ | #ifndef __VALASOURCEFILE_H__ | |||
#define __VALASOURCEFILE_H__ | #define __VALASOURCEFILE_H__ | |||
typedef struct _ValaSourceFilePrivate ValaSourceFilePrivate; | ||||
#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/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SOURCE_FILE (vala_source_file_get_type ()) | #define VALA_TYPE_SOURCE_FILE (vala_source_file_get_type ()) | |||
#define VALA_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _SOURCE_FILE, ValaSourceFile)) | #define VALA_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _SOURCE_FILE, ValaSourceFile)) | |||
#define VALA_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | #define VALA_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | |||
#define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_SOURCE_FILE)) | #define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_SOURCE_FILE)) | |||
#define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SOURCE_FILE)) | #define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SOURCE_FILE)) | |||
#define VALA_SOURCE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | #define VALA_SOURCE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | |||
typedef struct _ValaSourceFilePrivate ValaSourceFilePrivate; | ||||
/** | /** | |||
* Represents a Vala source or VAPI package file. | * Represents a Vala source or VAPI package file. | |||
*/ | */ | |||
struct _ValaSourceFile { | struct _ValaSourceFile { | |||
GObject parent; | GObject parent; | |||
ValaSourceFilePrivate * priv; | ValaSourceFilePrivate * priv; | |||
}; | }; | |||
struct _ValaSourceFileClass { | struct _ValaSourceFileClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | |||
VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | |||
VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE, | VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | |||
} ValaSourceFileDependencyType; | } ValaSourceFileDependencyType; | |||
ValaSourceFile* vala_source_file_new (ValaCodeContext* _context, const char * _filename, gboolean _pkg); | ValaSourceFile* vala_source_file_new (ValaCodeContext* _context, const char * _filename, gboolean _pkg); | |||
void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp aceReference* ns); | void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp aceReference* ns); | |||
GList* vala_source_file_get_using_directives (ValaSourceFile* self); | GList* vala_source_file_get_using_directives (ValaSourceFile* self); | |||
void vala_source_file_add_namespace (ValaSourceFile* self, ValaNamespace* n s); | void vala_source_file_add_namespace (ValaSourceFile* self, ValaNamespace* n s); | |||
ValaNamespace* vala_source_file_get_global_namespace (ValaSourceFile* self) ; | ValaNamespace* vala_source_file_get_global_namespace (ValaSourceFile* self) ; | |||
GList* vala_source_file_get_namespaces (ValaSourceFile* self); | GList* vala_source_file_get_namespaces (ValaSourceFile* self); | |||
void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito r); | void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito r); | |||
void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito r* visitor); | ||||
char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | |||
char* vala_source_file_get_csource_filename (ValaSourceFile* self); | char* vala_source_file_get_csource_filename (ValaSourceFile* self); | |||
char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | |||
void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb ol* sym, ValaSourceFileDependencyType dep_type); | void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb ol* sym, ValaSourceFileDependencyType dep_type); | |||
GList* vala_source_file_get_header_external_includes (ValaSourceFile* self) ; | GList* vala_source_file_get_header_external_includes (ValaSourceFile* self) ; | |||
void vala_source_file_add_header_internal_include (ValaSourceFile* self, co nst char* include); | void vala_source_file_add_header_internal_include (ValaSourceFile* self, co nst char* include); | |||
GList* vala_source_file_get_header_internal_includes (ValaSourceFile* self) ; | GList* vala_source_file_get_header_internal_includes (ValaSourceFile* self) ; | |||
GList* vala_source_file_get_source_external_includes (ValaSourceFile* self) ; | GList* vala_source_file_get_source_external_includes (ValaSourceFile* self) ; | |||
GList* vala_source_file_get_source_internal_includes (ValaSourceFile* self) ; | GList* vala_source_file_get_source_internal_includes (ValaSourceFile* self) ; | |||
GList* vala_source_file_get_header_internal_full_dependencies (ValaSourceFi le* self); | GList* vala_source_file_get_header_internal_full_dependencies (ValaSourceFi le* self); | |||
End of changes. 5 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
valasourcefilecycle.h | valasourcefilecycle.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASOURCEFILECYCLE_H__ | #ifndef __VALASOURCEFILECYCLE_H__ | |||
#define __VALASOURCEFILECYCLE_H__ | #define __VALASOURCEFILECYCLE_H__ | |||
typedef struct _ValaSourceFileCyclePrivate ValaSourceFileCyclePrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SOURCE_FILE_CYCLE (vala_source_file_cycle_get_type ()) | #define VALA_TYPE_SOURCE_FILE_CYCLE (vala_source_file_cycle_get_type ()) | |||
#define VALA_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycle)) | #define VALA_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycle)) | |||
#define VALA_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | #define VALA_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | |||
#define VALA_IS_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SOURCE_FILE_CYCLE)) | #define VALA_IS_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SOURCE_FILE_CYCLE)) | |||
#define VALA_IS_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_SOURCE_FILE_CYCLE)) | #define VALA_IS_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_SOURCE_FILE_CYCLE)) | |||
#define VALA_SOURCE_FILE_CYCLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | #define VALA_SOURCE_FILE_CYCLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | |||
typedef struct _ValaSourceFileCyclePrivate ValaSourceFileCyclePrivate; | ||||
/** | /** | |||
* Represents a dependency cycle of source files. | * Represents a dependency cycle of source files. | |||
*/ | */ | |||
struct _ValaSourceFileCycle { | struct _ValaSourceFileCycle { | |||
GObject parent; | GObject parent; | |||
ValaSourceFileCyclePrivate * priv; | ValaSourceFileCyclePrivate * priv; | |||
GList* files; | GList* files; | |||
ValaSourceFile* head; | ValaSourceFile* head; | |||
}; | }; | |||
struct _ValaSourceFileCycleClass { | struct _ValaSourceFileCycleClass { | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valasourcereference.h | valasourcereference.h | |||
---|---|---|---|---|
/* valasourcereference.vala | /* valasourcereference.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASOURCEREFERENCE_H__ | #ifndef __VALASOURCEREFERENCE_H__ | |||
#define __VALASOURCEREFERENCE_H__ | #define __VALASOURCEREFERENCE_H__ | |||
typedef struct _ValaSourceReferencePrivate ValaSourceReferencePrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SOURCE_REFERENCE (vala_source_reference_get_type ()) | #define VALA_TYPE_SOURCE_REFERENCE (vala_source_reference_get_type ()) | |||
#define VALA_SOURCE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_SOURCE_REFERENCE, ValaSourceReference)) | #define VALA_SOURCE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_SOURCE_REFERENCE, ValaSourceReference)) | |||
#define VALA_SOURCE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReferenceClass)) | #define VALA_SOURCE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReferenceClass)) | |||
#define VALA_IS_SOURCE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_SOURCE_REFERENCE)) | #define VALA_IS_SOURCE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_SOURCE_REFERENCE)) | |||
#define VALA_IS_SOURCE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_SOURCE_REFERENCE)) | #define VALA_IS_SOURCE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_SOURCE_REFERENCE)) | |||
#define VALA_SOURCE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReferenceClass)) | #define VALA_SOURCE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReferenceClass)) | |||
typedef struct _ValaSourceReferencePrivate ValaSourceReferencePrivate; | ||||
/** | /** | |||
* Represents a reference to a location in a source file. | * Represents a reference to a location in a source file. | |||
*/ | */ | |||
struct _ValaSourceReference { | struct _ValaSourceReference { | |||
GObject parent; | GObject parent; | |||
ValaSourceReferencePrivate * priv; | ValaSourceReferencePrivate * priv; | |||
}; | }; | |||
struct _ValaSourceReferenceClass { | struct _ValaSourceReferenceClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valastatement.h | valastatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASTATEMENT_H__ | #ifndef __VALASTATEMENT_H__ | |||
#define __VALASTATEMENT_H__ | #define __VALASTATEMENT_H__ | |||
typedef struct _ValaStatementPrivate ValaStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_STATEMENT (vala_statement_get_type ()) | #define VALA_TYPE_STATEMENT (vala_statement_get_type ()) | |||
#define VALA_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_S TATEMENT, ValaStatement)) | #define VALA_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_S TATEMENT, ValaStatement)) | |||
#define VALA_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_STATEMENT, ValaStatementClass)) | #define VALA_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_STATEMENT, ValaStatementClass)) | |||
#define VALA_IS_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_STATEMENT)) | #define VALA_IS_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_STATEMENT)) | |||
#define VALA_IS_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_STATEMENT)) | #define VALA_IS_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_STATEMENT)) | |||
#define VALA_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_STATEMENT, ValaStatementClass)) | #define VALA_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_STATEMENT, ValaStatementClass)) | |||
typedef struct _ValaStatementPrivate ValaStatementPrivate; | ||||
/** | /** | |||
* Base class for all statement types. | * Base class for all statement types. | |||
*/ | */ | |||
struct _ValaStatement { | struct _ValaStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaStatementPrivate * priv; | ValaStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaStatementClass { | struct _ValaStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
gint (*get_number_of_set_construction_parameters) (ValaStatement* se lf); | gint (*get_number_of_set_construction_parameters) (ValaStatement* se lf); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valastringliteral.h | valastringliteral.h | |||
---|---|---|---|---|
/* valastringliteral.vala | /* valastringliteral.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASTRINGLITERAL_H__ | #ifndef __VALASTRINGLITERAL_H__ | |||
#define __VALASTRINGLITERAL_H__ | #define __VALASTRINGLITERAL_H__ | |||
typedef struct _ValaStringLiteralPrivate ValaStringLiteralPrivate; | ||||
#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/valaliteral.h> | #include <vala/valaliteral.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_STRING_LITERAL (vala_string_literal_get_type ()) | #define VALA_TYPE_STRING_LITERAL (vala_string_literal_get_type ()) | |||
#define VALA_STRING_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_STRING_LITERAL, ValaStringLiteral)) | #define VALA_STRING_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_STRING_LITERAL, ValaStringLiteral)) | |||
#define VALA_STRING_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_STRING_LITERAL, ValaStringLiteralClass)) | #define VALA_STRING_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_STRING_LITERAL, ValaStringLiteralClass)) | |||
#define VALA_IS_STRING_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_STRING_LITERAL)) | #define VALA_IS_STRING_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_STRING_LITERAL)) | |||
#define VALA_IS_STRING_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_STRING_LITERAL)) | #define VALA_IS_STRING_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_STRING_LITERAL)) | |||
#define VALA_STRING_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_STRING_LITERAL, ValaStringLiteralClass)) | #define VALA_STRING_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_STRING_LITERAL, ValaStringLiteralClass)) | |||
typedef struct _ValaStringLiteralPrivate ValaStringLiteralPrivate; | ||||
/** | /** | |||
* Represents a string literal in the source code. | * Represents a string literal in the source code. | |||
*/ | */ | |||
struct _ValaStringLiteral { | struct _ValaStringLiteral { | |||
ValaLiteral parent; | ValaLiteral parent; | |||
ValaStringLiteralPrivate * priv; | ValaStringLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaStringLiteralClass { | struct _ValaStringLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valastruct.h | valastruct.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASTRUCT_H__ | #ifndef __VALASTRUCT_H__ | |||
#define __VALASTRUCT_H__ | #define __VALASTRUCT_H__ | |||
typedef struct _ValaStructPrivate ValaStructPrivate; | ||||
#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/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_STRUCT (vala_struct_get_type ()) | #define VALA_TYPE_STRUCT (vala_struct_get_type ()) | |||
#define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRU CT, ValaStruct)) | #define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRU CT, ValaStruct)) | |||
#define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_STRUCT, ValaStructClass)) | #define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_STRUCT, ValaStructClass)) | |||
#define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S TRUCT)) | #define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S TRUCT)) | |||
#define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_STRUCT)) | #define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_STRUCT)) | |||
#define VALA_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_STRUCT, ValaStructClass)) | #define VALA_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_STRUCT, ValaStructClass)) | |||
typedef struct _ValaStructPrivate ValaStructPrivate; | ||||
/** | /** | |||
* Represents a struct declaration in the source code. | * Represents a struct declaration in the source code. | |||
*/ | */ | |||
struct _ValaStruct { | struct _ValaStruct { | |||
ValaDataType parent; | ValaDataType parent; | |||
ValaStructPrivate * priv; | ValaStructPrivate * priv; | |||
}; | }; | |||
struct _ValaStructClass { | struct _ValaStructClass { | |||
ValaDataTypeClass parent; | ValaDataTypeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaswitchlabel.h | valaswitchlabel.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASWITCHLABEL_H__ | #ifndef __VALASWITCHLABEL_H__ | |||
#define __VALASWITCHLABEL_H__ | #define __VALASWITCHLABEL_H__ | |||
typedef struct _ValaSwitchLabelPrivate ValaSwitchLabelPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SWITCH_LABEL (vala_switch_label_get_type ()) | #define VALA_TYPE_SWITCH_LABEL (vala_switch_label_get_type ()) | |||
#define VALA_SWITCH_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_SWITCH_LABEL, ValaSwitchLabel)) | #define VALA_SWITCH_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP E_SWITCH_LABEL, ValaSwitchLabel)) | |||
#define VALA_SWITCH_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_SWITCH_LABEL, ValaSwitchLabelClass)) | #define VALA_SWITCH_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V ALA_TYPE_SWITCH_LABEL, ValaSwitchLabelClass)) | |||
#define VALA_IS_SWITCH_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_SWITCH_LABEL)) | #define VALA_IS_SWITCH_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_SWITCH_LABEL)) | |||
#define VALA_IS_SWITCH_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_SWITCH_LABEL)) | #define VALA_IS_SWITCH_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_SWITCH_LABEL)) | |||
#define VALA_SWITCH_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SWITCH_LABEL, ValaSwitchLabelClass)) | #define VALA_SWITCH_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SWITCH_LABEL, ValaSwitchLabelClass)) | |||
typedef struct _ValaSwitchLabelPrivate ValaSwitchLabelPrivate; | ||||
/** | /** | |||
* Represents a switch label in the source code. | * Represents a switch label in the source code. | |||
*/ | */ | |||
struct _ValaSwitchLabel { | struct _ValaSwitchLabel { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaSwitchLabelPrivate * priv; | ValaSwitchLabelPrivate * priv; | |||
}; | }; | |||
struct _ValaSwitchLabelClass { | struct _ValaSwitchLabelClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaswitchsection.h | valaswitchsection.h | |||
---|---|---|---|---|
/* valaswitchsection.vala | /* valaswitchsection.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASWITCHSECTION_H__ | #ifndef __VALASWITCHSECTION_H__ | |||
#define __VALASWITCHSECTION_H__ | #define __VALASWITCHSECTION_H__ | |||
typedef struct _ValaSwitchSectionPrivate ValaSwitchSectionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SWITCH_SECTION (vala_switch_section_get_type ()) | #define VALA_TYPE_SWITCH_SECTION (vala_switch_section_get_type ()) | |||
#define VALA_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_SWITCH_SECTION, ValaSwitchSection)) | #define VALA_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_SWITCH_SECTION, ValaSwitchSection)) | |||
#define VALA_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | #define VALA_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | |||
#define VALA_IS_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_SWITCH_SECTION)) | #define VALA_IS_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_SWITCH_SECTION)) | |||
#define VALA_IS_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_SWITCH_SECTION)) | #define VALA_IS_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_SWITCH_SECTION)) | |||
#define VALA_SWITCH_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | #define VALA_SWITCH_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | |||
typedef struct _ValaSwitchSectionPrivate ValaSwitchSectionPrivate; | ||||
/** | /** | |||
* Represents a switch section in the source code. | * Represents a switch section in the source code. | |||
*/ | */ | |||
struct _ValaSwitchSection { | struct _ValaSwitchSection { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaSwitchSectionPrivate * priv; | ValaSwitchSectionPrivate * priv; | |||
}; | }; | |||
struct _ValaSwitchSectionClass { | struct _ValaSwitchSectionClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valaswitchstatement.h | valaswitchstatement.h | |||
---|---|---|---|---|
/* valaswitchstatement.vala | /* valaswitchstatement.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASWITCHSTATEMENT_H__ | #ifndef __VALASWITCHSTATEMENT_H__ | |||
#define __VALASWITCHSTATEMENT_H__ | #define __VALASWITCHSTATEMENT_H__ | |||
typedef struct _ValaSwitchStatementPrivate ValaSwitchStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SWITCH_STATEMENT (vala_switch_statement_get_type ()) | #define VALA_TYPE_SWITCH_STATEMENT (vala_switch_statement_get_type ()) | |||
#define VALA_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_SWITCH_STATEMENT, ValaSwitchStatement)) | #define VALA_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_SWITCH_STATEMENT, ValaSwitchStatement)) | |||
#define VALA_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | #define VALA_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | |||
#define VALA_IS_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_SWITCH_STATEMENT)) | #define VALA_IS_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_SWITCH_STATEMENT)) | |||
#define VALA_IS_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_SWITCH_STATEMENT)) | #define VALA_IS_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_SWITCH_STATEMENT)) | |||
#define VALA_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | #define VALA_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | |||
typedef struct _ValaSwitchStatementPrivate ValaSwitchStatementPrivate; | ||||
/** | /** | |||
* Represents a switch selection statement in the source code. | * Represents a switch selection statement in the source code. | |||
*/ | */ | |||
struct _ValaSwitchStatement { | struct _ValaSwitchStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaSwitchStatementPrivate * priv; | ValaSwitchStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaSwitchStatementClass { | struct _ValaSwitchStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valasymbol.h | valasymbol.h | |||
---|---|---|---|---|
/* valasymbol.vala | /* valasymbol.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASYMBOL_H__ | #ifndef __VALASYMBOL_H__ | |||
#define __VALASYMBOL_H__ | #define __VALASYMBOL_H__ | |||
typedef struct _ValaSymbolPrivate ValaSymbolPrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SYMBOL (vala_symbol_get_type ()) | #define VALA_TYPE_SYMBOL (vala_symbol_get_type ()) | |||
#define VALA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SYMB OL, ValaSymbol)) | #define VALA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SYMB OL, ValaSymbol)) | |||
#define VALA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_SYMBOL, ValaSymbolClass)) | #define VALA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_SYMBOL, ValaSymbolClass)) | |||
#define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S YMBOL)) | #define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S YMBOL)) | |||
#define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_SYMBOL)) | #define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_SYMBOL)) | |||
#define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_SYMBOL, ValaSymbolClass)) | #define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_SYMBOL, ValaSymbolClass)) | |||
typedef struct _ValaSymbolPrivate ValaSymbolPrivate; | ||||
/** | /** | |||
* Represents a node in the symbol tree. | * Represents a node in the symbol tree. | |||
*/ | */ | |||
struct _ValaSymbol { | struct _ValaSymbol { | |||
GObject parent; | GObject parent; | |||
ValaSymbolPrivate * priv; | ValaSymbolPrivate * priv; | |||
}; | }; | |||
struct _ValaSymbolClass { | struct _ValaSymbolClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valasymbolbuilder.h | valasymbolbuilder.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALASYMBOLBUILDER_H__ | #ifndef __VALASYMBOLBUILDER_H__ | |||
#define __VALASYMBOLBUILDER_H__ | #define __VALASYMBOLBUILDER_H__ | |||
typedef struct _ValaSymbolBuilder ValaSymbolBuilder; | ||||
typedef struct _ValaSymbolBuilderClass ValaSymbolBuilderClass; | ||||
typedef struct _ValaSymbolBuilderPrivate ValaSymbolBuilderPrivate; | ||||
#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/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
skipping to change at line 67 | skipping to change at line 70 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SYMBOL_BUILDER (vala_symbol_builder_get_type ()) | #define VALA_TYPE_SYMBOL_BUILDER (vala_symbol_builder_get_type ()) | |||
#define VALA_SYMBOL_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_SYMBOL_BUILDER, ValaSymbolBuilder)) | #define VALA_SYMBOL_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_SYMBOL_BUILDER, ValaSymbolBuilder)) | |||
#define VALA_SYMBOL_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SYMBOL_BUILDER, ValaSymbolBuilderClass)) | #define VALA_SYMBOL_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SYMBOL_BUILDER, ValaSymbolBuilderClass)) | |||
#define VALA_IS_SYMBOL_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_SYMBOL_BUILDER)) | #define VALA_IS_SYMBOL_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_SYMBOL_BUILDER)) | |||
#define VALA_IS_SYMBOL_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_SYMBOL_BUILDER)) | #define VALA_IS_SYMBOL_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_SYMBOL_BUILDER)) | |||
#define VALA_SYMBOL_BUILDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_SYMBOL_BUILDER, ValaSymbolBuilderClass)) | #define VALA_SYMBOL_BUILDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_SYMBOL_BUILDER, ValaSymbolBuilderClass)) | |||
typedef struct _ValaSymbolBuilder ValaSymbolBuilder; | ||||
typedef struct _ValaSymbolBuilderClass ValaSymbolBuilderClass; | ||||
typedef struct _ValaSymbolBuilderPrivate ValaSymbolBuilderPrivate; | ||||
/** | /** | |||
* Code visitor building the symbol tree. | * Code visitor building the symbol tree. | |||
*/ | */ | |||
struct _ValaSymbolBuilder { | struct _ValaSymbolBuilder { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent; | |||
ValaSymbolBuilderPrivate * priv; | ValaSymbolBuilderPrivate * priv; | |||
}; | }; | |||
struct _ValaSymbolBuilderClass { | struct _ValaSymbolBuilderClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added | |||
valasymbolresolver.h | valasymbolresolver.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALASYMBOLRESOLVER_H__ | #ifndef __VALASYMBOLRESOLVER_H__ | |||
#define __VALASYMBOLRESOLVER_H__ | #define __VALASYMBOLRESOLVER_H__ | |||
typedef struct _ValaSymbolResolver ValaSymbolResolver; | ||||
typedef struct _ValaSymbolResolverClass ValaSymbolResolverClass; | ||||
typedef struct _ValaSymbolResolverPrivate ValaSymbolResolverPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valaenum.h> | ||||
#include <vala/valacallback.h> | #include <vala/valacallback.h> | |||
#include <vala/valaconstant.h> | ||||
#include <vala/valafield.h> | ||||
#include <vala/valamethod.h> | ||||
#include <vala/valacreationmethod.h> | ||||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | ||||
#include <vala/valapropertyaccessor.h> | ||||
#include <vala/valasignal.h> | ||||
#include <vala/valaconstructor.h> | ||||
#include <vala/valadestructor.h> | ||||
#include <vala/valanamespacereference.h> | #include <vala/valanamespacereference.h> | |||
#include <vala/valatypereference.h> | #include <vala/valatypereference.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SYMBOL_RESOLVER (vala_symbol_resolver_get_type ()) | #define VALA_TYPE_SYMBOL_RESOLVER (vala_symbol_resolver_get_type ()) | |||
#define VALA_SYMBOL_RESOLVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_SYMBOL_RESOLVER, ValaSymbolResolver)) | #define VALA_SYMBOL_RESOLVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_SYMBOL_RESOLVER, ValaSymbolResolver)) | |||
#define VALA_SYMBOL_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_SYMBOL_RESOLVER, ValaSymbolResolverClass)) | #define VALA_SYMBOL_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_SYMBOL_RESOLVER, ValaSymbolResolverClass)) | |||
#define VALA_IS_SYMBOL_RESOLVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_SYMBOL_RESOLVER)) | #define VALA_IS_SYMBOL_RESOLVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_SYMBOL_RESOLVER)) | |||
#define VALA_IS_SYMBOL_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_SYMBOL_RESOLVER)) | #define VALA_IS_SYMBOL_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_SYMBOL_RESOLVER)) | |||
#define VALA_SYMBOL_RESOLVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_SYMBOL_RESOLVER, ValaSymbolResolverClass)) | #define VALA_SYMBOL_RESOLVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_SYMBOL_RESOLVER, ValaSymbolResolverClass)) | |||
typedef struct _ValaSymbolResolver ValaSymbolResolver; | ||||
typedef struct _ValaSymbolResolverClass ValaSymbolResolverClass; | ||||
typedef struct _ValaSymbolResolverPrivate ValaSymbolResolverPrivate; | ||||
/** | /** | |||
* Code visitor resolving symbol names. | * Code visitor resolving symbol names. | |||
*/ | */ | |||
struct _ValaSymbolResolver { | struct _ValaSymbolResolver { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent; | |||
ValaSymbolResolverPrivate * priv; | ValaSymbolResolverPrivate * priv; | |||
}; | }; | |||
struct _ValaSymbolResolverClass { | struct _ValaSymbolResolverClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent; | |||
}; | }; | |||
End of changes. 5 change blocks. | ||||
4 lines changed or deleted | 13 lines changed or added | |||
valathrowstatement.h | valathrowstatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALATHROWSTATEMENT_H__ | #ifndef __VALATHROWSTATEMENT_H__ | |||
#define __VALATHROWSTATEMENT_H__ | #define __VALATHROWSTATEMENT_H__ | |||
typedef struct _ValaThrowStatementPrivate ValaThrowStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_THROW_STATEMENT (vala_throw_statement_get_type ()) | #define VALA_TYPE_THROW_STATEMENT (vala_throw_statement_get_type ()) | |||
#define VALA_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_THROW_STATEMENT, ValaThrowStatement)) | #define VALA_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_THROW_STATEMENT, ValaThrowStatement)) | |||
#define VALA_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | #define VALA_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | |||
#define VALA_IS_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_THROW_STATEMENT)) | #define VALA_IS_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_THROW_STATEMENT)) | |||
#define VALA_IS_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_THROW_STATEMENT)) | #define VALA_IS_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_THROW_STATEMENT)) | |||
#define VALA_THROW_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | #define VALA_THROW_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | |||
typedef struct _ValaThrowStatementPrivate ValaThrowStatementPrivate; | ||||
/** | /** | |||
* Represents a throw statement in the source code. | * Represents a throw statement in the source code. | |||
*/ | */ | |||
struct _ValaThrowStatement { | struct _ValaThrowStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaThrowStatementPrivate * priv; | ValaThrowStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaThrowStatementClass { | struct _ValaThrowStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valatrystatement.h | valatrystatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALATRYSTATEMENT_H__ | #ifndef __VALATRYSTATEMENT_H__ | |||
#define __VALATRYSTATEMENT_H__ | #define __VALATRYSTATEMENT_H__ | |||
typedef struct _ValaTryStatementPrivate ValaTryStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TRY_STATEMENT (vala_try_statement_get_type ()) | #define VALA_TYPE_TRY_STATEMENT (vala_try_statement_get_type ()) | |||
#define VALA_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_TRY_STATEMENT, ValaTryStatement)) | #define VALA_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_TRY_STATEMENT, ValaTryStatement)) | |||
#define VALA_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | #define VALA_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | |||
#define VALA_IS_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_TRY_STATEMENT)) | #define VALA_IS_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_TRY_STATEMENT)) | |||
#define VALA_IS_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_TRY_STATEMENT)) | #define VALA_IS_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_TRY_STATEMENT)) | |||
#define VALA_TRY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | #define VALA_TRY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | |||
typedef struct _ValaTryStatementPrivate ValaTryStatementPrivate; | ||||
/** | /** | |||
* Represents a try statement in the source code. | * Represents a try statement in the source code. | |||
*/ | */ | |||
struct _ValaTryStatement { | struct _ValaTryStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaTryStatementPrivate * priv; | ValaTryStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaTryStatementClass { | struct _ValaTryStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valatypecheck.h | valatypecheck.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALATYPECHECK_H__ | #ifndef __VALATYPECHECK_H__ | |||
#define __VALATYPECHECK_H__ | #define __VALATYPECHECK_H__ | |||
typedef struct _ValaTypeCheckPrivate ValaTypeCheckPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TYPE_CHECK (vala_type_check_get_type ()) | #define VALA_TYPE_TYPE_CHECK (vala_type_check_get_type ()) | |||
#define VALA_TYPE_CHECK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ TYPE_CHECK, ValaTypeCheck)) | #define VALA_TYPE_CHECK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ TYPE_CHECK, ValaTypeCheck)) | |||
#define VALA_TYPE_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_TYPE_CHECK, ValaTypeCheckClass)) | #define VALA_TYPE_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_TYPE_CHECK, ValaTypeCheckClass)) | |||
#define VALA_IS_TYPE_CHECK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_TYPE_CHECK)) | #define VALA_IS_TYPE_CHECK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_TYPE_CHECK)) | |||
#define VALA_IS_TYPE_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_TYPE_CHECK)) | #define VALA_IS_TYPE_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_TYPE_CHECK)) | |||
#define VALA_TYPE_CHECK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_TYPE_CHECK, ValaTypeCheckClass)) | #define VALA_TYPE_CHECK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_TYPE_CHECK, ValaTypeCheckClass)) | |||
typedef struct _ValaTypeCheckPrivate ValaTypeCheckPrivate; | ||||
/** | /** | |||
* Represents a type check (`is') expression in the source code. | * Represents a type check (`is') expression in the source code. | |||
*/ | */ | |||
struct _ValaTypeCheck { | struct _ValaTypeCheck { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaTypeCheckPrivate * priv; | ValaTypeCheckPrivate * priv; | |||
}; | }; | |||
struct _ValaTypeCheckClass { | struct _ValaTypeCheckClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valatypeofexpression.h | valatypeofexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALATYPEOFEXPRESSION_H__ | #ifndef __VALATYPEOFEXPRESSION_H__ | |||
#define __VALATYPEOFEXPRESSION_H__ | #define __VALATYPEOFEXPRESSION_H__ | |||
typedef struct _ValaTypeofExpressionPrivate ValaTypeofExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TYPEOF_EXPRESSION (vala_typeof_expression_get_type ()) | #define VALA_TYPE_TYPEOF_EXPRESSION (vala_typeof_expression_get_type ()) | |||
#define VALA_TYPEOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_TYPEOF_EXPRESSION, ValaTypeofExpression)) | #define VALA_TYPEOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL A_TYPE_TYPEOF_EXPRESSION, ValaTypeofExpression)) | |||
#define VALA_TYPEOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_TYPEOF_EXPRESSION, ValaTypeofExpressionClass)) | #define VALA_TYPEOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas s), VALA_TYPE_TYPEOF_EXPRESSION, ValaTypeofExpressionClass)) | |||
#define VALA_IS_TYPEOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_TYPEOF_EXPRESSION)) | #define VALA_IS_TYPEOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_TYPEOF_EXPRESSION)) | |||
#define VALA_IS_TYPEOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_TYPEOF_EXPRESSION)) | #define VALA_IS_TYPEOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_TYPEOF_EXPRESSION)) | |||
#define VALA_TYPEOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_TYPEOF_EXPRESSION, ValaTypeofExpressionClass)) | #define VALA_TYPEOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_TYPEOF_EXPRESSION, ValaTypeofExpressionClass)) | |||
typedef struct _ValaTypeofExpressionPrivate ValaTypeofExpressionPrivate; | ||||
/** | /** | |||
* Represents a typeof expression in the source code. | * Represents a typeof expression in the source code. | |||
*/ | */ | |||
struct _ValaTypeofExpression { | struct _ValaTypeofExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaTypeofExpressionPrivate * priv; | ValaTypeofExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaTypeofExpressionClass { | struct _ValaTypeofExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valatypeparameter.h | valatypeparameter.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALATYPEPARAMETER_H__ | #ifndef __VALATYPEPARAMETER_H__ | |||
#define __VALATYPEPARAMETER_H__ | #define __VALATYPEPARAMETER_H__ | |||
typedef struct _ValaTypeParameterPrivate ValaTypeParameterPrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TYPE_PARAMETER (vala_type_parameter_get_type ()) | #define VALA_TYPE_TYPE_PARAMETER (vala_type_parameter_get_type ()) | |||
#define VALA_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_TYPE_PARAMETER, ValaTypeParameter)) | #define VALA_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_TYPE_PARAMETER, ValaTypeParameter)) | |||
#define VALA_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | #define VALA_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | |||
#define VALA_IS_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_TYPE_PARAMETER)) | #define VALA_IS_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_TYPE_PARAMETER)) | |||
#define VALA_IS_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_TYPE_PARAMETER)) | #define VALA_IS_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_TYPE_PARAMETER)) | |||
#define VALA_TYPE_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | #define VALA_TYPE_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | |||
typedef struct _ValaTypeParameterPrivate ValaTypeParameterPrivate; | ||||
/** | /** | |||
* Represents a generic type parameter in the source code. | * Represents a generic type parameter in the source code. | |||
*/ | */ | |||
struct _ValaTypeParameter { | struct _ValaTypeParameter { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaTypeParameterPrivate * priv; | ValaTypeParameterPrivate * priv; | |||
ValaDataType* type; | ValaDataType* type; | |||
}; | }; | |||
struct _ValaTypeParameterClass { | struct _ValaTypeParameterClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valatypereference.h | valatypereference.h | |||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALATYPEREFERENCE_H__ | #ifndef __VALATYPEREFERENCE_H__ | |||
#define __VALATYPEREFERENCE_H__ | #define __VALATYPEREFERENCE_H__ | |||
typedef struct _ValaTypeReferencePrivate ValaTypeReferencePrivate; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TYPE_REFERENCE (vala_type_reference_get_type ()) | #define VALA_TYPE_TYPE_REFERENCE (vala_type_reference_get_type ()) | |||
#define VALA_TYPE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_TYPE_REFERENCE, ValaTypeReference)) | #define VALA_TYPE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T YPE_TYPE_REFERENCE, ValaTypeReference)) | |||
#define VALA_TYPE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_TYPE_REFERENCE, ValaTypeReferenceClass)) | #define VALA_TYPE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_TYPE_REFERENCE, ValaTypeReferenceClass)) | |||
#define VALA_IS_TYPE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_TYPE_REFERENCE)) | #define VALA_IS_TYPE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_TYPE_REFERENCE)) | |||
#define VALA_IS_TYPE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_TYPE_REFERENCE)) | #define VALA_IS_TYPE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_TYPE_REFERENCE)) | |||
#define VALA_TYPE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_TYPE_REFERENCE, ValaTypeReferenceClass)) | #define VALA_TYPE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_TYPE_REFERENCE, ValaTypeReferenceClass)) | |||
typedef struct _ValaTypeReferencePrivate ValaTypeReferencePrivate; | ||||
/** | /** | |||
* A reference to a data type. This is used to specify static types of | * A reference to a data type. This is used to specify static types of | |||
* expressions. | * expressions. | |||
*/ | */ | |||
struct _ValaTypeReference { | struct _ValaTypeReference { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaTypeReferencePrivate * priv; | ValaTypeReferencePrivate * priv; | |||
}; | }; | |||
struct _ValaTypeReferenceClass { | struct _ValaTypeReferenceClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
skipping to change at line 72 | skipping to change at line 71 | |||
ValaTypeReference* vala_type_reference_new_from_expression (ValaExpression* expr); | ValaTypeReference* vala_type_reference_new_from_expression (ValaExpression* expr); | |||
void vala_type_reference_add_type_argument (ValaTypeReference* self, ValaTy peReference* arg); | void vala_type_reference_add_type_argument (ValaTypeReference* self, ValaTy peReference* arg); | |||
GList* vala_type_reference_get_type_arguments (ValaTypeReference* self); | GList* vala_type_reference_get_type_arguments (ValaTypeReference* self); | |||
void vala_type_reference_remove_all_type_arguments (ValaTypeReference* self ); | void vala_type_reference_remove_all_type_arguments (ValaTypeReference* self ); | |||
char* vala_type_reference_get_cname (ValaTypeReference* self, gboolean var_ type, gboolean const_type); | char* vala_type_reference_get_cname (ValaTypeReference* self, gboolean var_ type, gboolean const_type); | |||
char* vala_type_reference_get_const_cname (ValaTypeReference* self); | char* vala_type_reference_get_const_cname (ValaTypeReference* self); | |||
char* vala_type_reference_to_string (ValaTypeReference* self); | char* vala_type_reference_to_string (ValaTypeReference* self); | |||
ValaTypeReference* vala_type_reference_copy (ValaTypeReference* self); | ValaTypeReference* vala_type_reference_copy (ValaTypeReference* self); | |||
gboolean vala_type_reference_equals (ValaTypeReference* self, ValaTypeRefer ence* type2); | gboolean vala_type_reference_equals (ValaTypeReference* self, ValaTypeRefer ence* type2); | |||
gboolean vala_type_reference_stricter (ValaTypeReference* self, ValaTypeRef erence* type2); | gboolean vala_type_reference_stricter (ValaTypeReference* self, ValaTypeRef erence* type2); | |||
gboolean vala_type_reference_get_reference_to_value_type (ValaTypeReference | ||||
* self); | ||||
void vala_type_reference_set_reference_to_value_type (ValaTypeReference* se | ||||
lf, gboolean value); | ||||
gboolean vala_type_reference_get_transfers_ownership (ValaTypeReference* se lf); | gboolean vala_type_reference_get_transfers_ownership (ValaTypeReference* se lf); | |||
void vala_type_reference_set_transfers_ownership (ValaTypeReference* self, gboolean value); | void vala_type_reference_set_transfers_ownership (ValaTypeReference* self, gboolean value); | |||
gboolean vala_type_reference_get_takes_ownership (ValaTypeReference* self); | gboolean vala_type_reference_get_takes_ownership (ValaTypeReference* self); | |||
void vala_type_reference_set_takes_ownership (ValaTypeReference* self, gboo lean value); | void vala_type_reference_set_takes_ownership (ValaTypeReference* self, gboo lean value); | |||
gboolean vala_type_reference_get_is_out (ValaTypeReference* self); | gboolean vala_type_reference_get_is_out (ValaTypeReference* self); | |||
void vala_type_reference_set_is_out (ValaTypeReference* self, gboolean valu e); | void vala_type_reference_set_is_out (ValaTypeReference* self, gboolean valu e); | |||
gboolean vala_type_reference_get_non_null (ValaTypeReference* self); | gboolean vala_type_reference_get_non_null (ValaTypeReference* self); | |||
void vala_type_reference_set_non_null (ValaTypeReference* self, gboolean va lue); | void vala_type_reference_set_non_null (ValaTypeReference* self, gboolean va lue); | |||
gboolean vala_type_reference_get_is_null (ValaTypeReference* self); | gboolean vala_type_reference_get_is_null (ValaTypeReference* self); | |||
void vala_type_reference_set_is_null (ValaTypeReference* self, gboolean val ue); | void vala_type_reference_set_is_null (ValaTypeReference* self, gboolean val ue); | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 1 lines changed or added | |||
valatyperegisterfunction.h | valatyperegisterfunction.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALATYPEREGISTERFUNCTION_H__ | #ifndef __VALATYPEREGISTERFUNCTION_H__ | |||
#define __VALATYPEREGISTERFUNCTION_H__ | #define __VALATYPEREGISTERFUNCTION_H__ | |||
typedef struct _ValaTypeRegisterFunction ValaTypeRegisterFunction; | ||||
typedef struct _ValaTypeRegisterFunctionClass ValaTypeRegisterFunctionClass | ||||
; | ||||
typedef struct _ValaTypeRegisterFunctionPrivate ValaTypeRegisterFunctionPri | ||||
vate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valadatatype.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <ccode/valaccodefragment.h> | #include <ccode/valaccodefragment.h> | |||
#include <vala/valadatatype.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TYPE_REGISTER_FUNCTION (vala_type_register_function_get_t ype ()) | #define VALA_TYPE_TYPE_REGISTER_FUNCTION (vala_type_register_function_get_t ype ()) | |||
#define VALA_TYPE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunction)) | #define VALA_TYPE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) , VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunction)) | |||
#define VALA_TYPE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunctionClass)) | #define VALA_TYPE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( (klass), VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunctionClass)) | |||
#define VALA_IS_TYPE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_TYPE_REGISTER_FUNCTION)) | #define VALA_IS_TYPE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_TYPE_REGISTER_FUNCTION)) | |||
#define VALA_IS_TYPE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_TYPE_REGISTER_FUNCTION)) | #define VALA_IS_TYPE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_TYPE_REGISTER_FUNCTION)) | |||
#define VALA_TYPE_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunctionClass) ) | #define VALA_TYPE_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunctionClass) ) | |||
typedef struct _ValaTypeRegisterFunction ValaTypeRegisterFunction; | ||||
typedef struct _ValaTypeRegisterFunctionClass ValaTypeRegisterFunctionClass | ||||
; | ||||
typedef struct _ValaTypeRegisterFunctionPrivate ValaTypeRegisterFunctionPri | ||||
vate; | ||||
/** | /** | |||
* C function to register a type at runtime. | * C function to register a type at runtime. | |||
*/ | */ | |||
struct _ValaTypeRegisterFunction { | struct _ValaTypeRegisterFunction { | |||
GObject parent; | GObject parent; | |||
ValaTypeRegisterFunctionPrivate * priv; | ValaTypeRegisterFunctionPrivate * priv; | |||
}; | }; | |||
struct _ValaTypeRegisterFunctionClass { | struct _ValaTypeRegisterFunctionClass { | |||
GObjectClass parent; | GObjectClass parent; | |||
ValaDataType* (*get_type_declaration) (ValaTypeRegisterFunction* sel f); | ValaDataType* (*get_type_declaration) (ValaTypeRegisterFunction* sel f); | |||
char* (*get_type_struct_name) (ValaTypeRegisterFunction* self); | char* (*get_type_struct_name) (ValaTypeRegisterFunction* self); | |||
char* (*get_base_init_func_name) (ValaTypeRegisterFunction* self); | char* (*get_base_init_func_name) (ValaTypeRegisterFunction* self); | |||
char* (*get_class_init_func_name) (ValaTypeRegisterFunction* self); | char* (*get_class_init_func_name) (ValaTypeRegisterFunction* self); | |||
char* (*get_instance_struct_size) (ValaTypeRegisterFunction* self); | char* (*get_instance_struct_size) (ValaTypeRegisterFunction* self); | |||
char* (*get_instance_init_func_name) (ValaTypeRegisterFunction* self ); | char* (*get_instance_init_func_name) (ValaTypeRegisterFunction* self ); | |||
char* (*get_parent_type_name) (ValaTypeRegisterFunction* self); | char* (*get_parent_type_name) (ValaTypeRegisterFunction* self); | |||
char* (*get_type_flags) (ValaTypeRegisterFunction* self); | char* (*get_type_flags) (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* (*get_type_interface_init_declaration) (ValaTypeR egisterFunction* self); | ||||
ValaCCodeFragment* (*get_type_interface_init_statements) (ValaTypeRe gisterFunction* self); | ValaCCodeFragment* (*get_type_interface_init_statements) (ValaTypeRe gisterFunction* self); | |||
}; | }; | |||
void vala_type_register_function_init_from_type (ValaTypeRegisterFunction* self, gboolean plugin); | void vala_type_register_function_init_from_type (ValaTypeRegisterFunction* self, gboolean plugin); | |||
ValaDataType* vala_type_register_function_get_type_declaration (ValaTypeReg isterFunction* self); | ValaDataType* vala_type_register_function_get_type_declaration (ValaTypeReg isterFunction* self); | |||
char* vala_type_register_function_get_type_struct_name (ValaTypeRegisterFun ction* self); | char* vala_type_register_function_get_type_struct_name (ValaTypeRegisterFun ction* self); | |||
char* vala_type_register_function_get_base_init_func_name (ValaTypeRegister Function* self); | char* vala_type_register_function_get_base_init_func_name (ValaTypeRegister Function* self); | |||
char* vala_type_register_function_get_class_init_func_name (ValaTypeRegiste rFunction* self); | char* vala_type_register_function_get_class_init_func_name (ValaTypeRegiste rFunction* self); | |||
char* vala_type_register_function_get_instance_struct_size (ValaTypeRegiste rFunction* self); | char* vala_type_register_function_get_instance_struct_size (ValaTypeRegiste rFunction* self); | |||
char* vala_type_register_function_get_instance_init_func_name (ValaTypeRegi sterFunction* self); | char* vala_type_register_function_get_instance_init_func_name (ValaTypeRegi sterFunction* self); | |||
char* vala_type_register_function_get_parent_type_name (ValaTypeRegisterFun ction* self); | char* vala_type_register_function_get_parent_type_name (ValaTypeRegisterFun ction* self); | |||
char* vala_type_register_function_get_type_flags (ValaTypeRegisterFunction* self); | char* vala_type_register_function_get_type_flags (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* vala_type_register_function_get_type_interface_init_decl aration (ValaTypeRegisterFunction* self); | ||||
ValaCCodeFragment* vala_type_register_function_get_type_interface_init_stat ements (ValaTypeRegisterFunction* self); | ValaCCodeFragment* vala_type_register_function_get_type_interface_init_stat ements (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* vala_type_register_function_get_declaration (ValaTypeReg isterFunction* self); | ValaCCodeFragment* vala_type_register_function_get_declaration (ValaTypeReg isterFunction* self); | |||
ValaCCodeFragment* vala_type_register_function_get_definition (ValaTypeRegi sterFunction* self); | ValaCCodeFragment* vala_type_register_function_get_definition (ValaTypeRegi sterFunction* self); | |||
GType vala_type_register_function_get_type (); | GType vala_type_register_function_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 6 change blocks. | ||||
7 lines changed or deleted | 8 lines changed or added | |||
valaunaryexpression.h | valaunaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAUNARYEXPRESSION_H__ | #ifndef __VALAUNARYEXPRESSION_H__ | |||
#define __VALAUNARYEXPRESSION_H__ | #define __VALAUNARYEXPRESSION_H__ | |||
typedef struct _ValaUnaryExpressionPrivate ValaUnaryExpressionPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valaunaryexpression.h> | #include <vala/valaunaryexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_UNARY_EXPRESSION (vala_unary_expression_get_type ()) | #define VALA_TYPE_UNARY_EXPRESSION (vala_unary_expression_get_type ()) | |||
#define VALA_UNARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_UNARY_EXPRESSION, ValaUnaryExpression)) | #define VALA_UNARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_UNARY_EXPRESSION, ValaUnaryExpression)) | |||
#define VALA_UNARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_UNARY_EXPRESSION, ValaUnaryExpressionClass)) | #define VALA_UNARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_UNARY_EXPRESSION, ValaUnaryExpressionClass)) | |||
#define VALA_IS_UNARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_UNARY_EXPRESSION)) | #define VALA_IS_UNARY_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_UNARY_EXPRESSION)) | |||
#define VALA_IS_UNARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_UNARY_EXPRESSION)) | #define VALA_IS_UNARY_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_UNARY_EXPRESSION)) | |||
#define VALA_UNARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_UNARY_EXPRESSION, ValaUnaryExpressionClass)) | #define VALA_UNARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_UNARY_EXPRESSION, ValaUnaryExpressionClass)) | |||
typedef struct _ValaUnaryExpressionPrivate ValaUnaryExpressionPrivate; | ||||
/** | /** | |||
* Represents an expression with one operand in the source code. | * Represents an expression with one operand in the source code. | |||
* | * | |||
* Supports +, -, !, ~, ref, out. | * Supports +, -, !, ~, ref, out. | |||
*/ | */ | |||
struct _ValaUnaryExpression { | struct _ValaUnaryExpression { | |||
ValaExpression parent; | ValaExpression parent; | |||
ValaUnaryExpressionPrivate * priv; | ValaUnaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaUnaryExpressionClass { | struct _ValaUnaryExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_UNARY_OPERATOR_PLUS, | VALA_UNARY_OPERATOR_PLUS, | |||
VALA_UNARY_OPERATOR_MINUS, | VALA_UNARY_OPERATOR_MINUS, | |||
VALA_UNARY_OPERATOR_LOGICAL_NEGATION, | VALA_UNARY_OPERATOR_LOGICAL_NEGATION, | |||
VALA_UNARY_OPERATOR_BITWISE_COMPLEMENT, | VALA_UNARY_OPERATOR_BITWISE_COMPLEMENT, | |||
VALA_UNARY_OPERATOR_INCREMENT, | VALA_UNARY_OPERATOR_INCREMENT, | |||
VALA_UNARY_OPERATOR_DECREMENT, | VALA_UNARY_OPERATOR_DECREMENT, | |||
VALA_UNARY_OPERATOR_REF, | VALA_UNARY_OPERATOR_REF, | |||
VALA_UNARY_OPERATOR_OUT, | VALA_UNARY_OPERATOR_OUT | |||
} ValaUnaryOperator; | } ValaUnaryOperator; | |||
ValaUnaryExpression* vala_unary_expression_new (ValaUnaryOperator op, ValaE xpression* _inner, ValaSourceReference* source); | ValaUnaryExpression* vala_unary_expression_new (ValaUnaryOperator op, ValaE xpression* _inner, ValaSourceReference* source); | |||
ValaUnaryOperator vala_unary_expression_get_operator (ValaUnaryExpression* self); | ValaUnaryOperator vala_unary_expression_get_operator (ValaUnaryExpression* self); | |||
void vala_unary_expression_set_operator (ValaUnaryExpression* self, ValaUna ryOperator value); | void vala_unary_expression_set_operator (ValaUnaryExpression* self, ValaUna ryOperator value); | |||
ValaExpression* vala_unary_expression_get_inner (ValaUnaryExpression* self) ; | ValaExpression* vala_unary_expression_get_inner (ValaUnaryExpression* self) ; | |||
void vala_unary_expression_set_inner (ValaUnaryExpression* self, ValaExpres sion* value); | void vala_unary_expression_set_inner (ValaUnaryExpression* self, ValaExpres sion* value); | |||
GType vala_unary_expression_get_type (); | GType vala_unary_expression_get_type (); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valavariabledeclarator.h | valavariabledeclarator.h | |||
---|---|---|---|---|
/* valavariabledeclarator.vala | /* valavariabledeclarator.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 of the License, or (at your option) any later version. | * version 2 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 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAVARIABLEDECLARATOR_H__ | #ifndef __VALAVARIABLEDECLARATOR_H__ | |||
#define __VALAVARIABLEDECLARATOR_H__ | #define __VALAVARIABLEDECLARATOR_H__ | |||
typedef struct _ValaVariableDeclaratorPrivate ValaVariableDeclaratorPrivate ; | ||||
#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/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valainvokable.h> | #include <vala/valainvokable.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_VARIABLE_DECLARATOR (vala_variable_declarator_get_type () ) | #define VALA_TYPE_VARIABLE_DECLARATOR (vala_variable_declarator_get_type () ) | |||
#define VALA_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclarator)) | #define VALA_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclarator)) | |||
#define VALA_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | #define VALA_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | |||
#define VALA_IS_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_VARIABLE_DECLARATOR)) | #define VALA_IS_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_VARIABLE_DECLARATOR)) | |||
#define VALA_IS_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_VARIABLE_DECLARATOR)) | #define VALA_IS_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_VARIABLE_DECLARATOR)) | |||
#define VALA_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | #define VALA_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | |||
typedef struct _ValaVariableDeclaratorPrivate ValaVariableDeclaratorPrivate | ||||
; | ||||
/** | /** | |||
* Represents a variable declarator in the source code. | * Represents a variable declarator in the source code. | |||
*/ | */ | |||
struct _ValaVariableDeclarator { | struct _ValaVariableDeclarator { | |||
ValaCodeNode parent; | ValaCodeNode parent; | |||
ValaVariableDeclaratorPrivate * priv; | ValaVariableDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaVariableDeclaratorClass { | struct _ValaVariableDeclaratorClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent; | |||
}; | }; | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 2 lines changed or added | |||
valawhilestatement.h | valawhilestatement.h | |||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALAWHILESTATEMENT_H__ | #ifndef __VALAWHILESTATEMENT_H__ | |||
#define __VALAWHILESTATEMENT_H__ | #define __VALAWHILESTATEMENT_H__ | |||
typedef struct _ValaWhileStatementPrivate ValaWhileStatementPrivate; | ||||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valastatement.h> | #include <vala/valastatement.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_WHILE_STATEMENT (vala_while_statement_get_type ()) | #define VALA_TYPE_WHILE_STATEMENT (vala_while_statement_get_type ()) | |||
#define VALA_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_WHILE_STATEMENT, ValaWhileStatement)) | #define VALA_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_WHILE_STATEMENT, ValaWhileStatement)) | |||
#define VALA_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | #define VALA_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | |||
#define VALA_IS_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_WHILE_STATEMENT)) | #define VALA_IS_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_WHILE_STATEMENT)) | |||
#define VALA_IS_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_WHILE_STATEMENT)) | #define VALA_IS_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_WHILE_STATEMENT)) | |||
#define VALA_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | #define VALA_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | |||
typedef struct _ValaWhileStatementPrivate ValaWhileStatementPrivate; | ||||
/** | /** | |||
* Represents a while iteration statement in the source code. | * Represents a while iteration statement in the source code. | |||
*/ | */ | |||
struct _ValaWhileStatement { | struct _ValaWhileStatement { | |||
ValaStatement parent; | ValaStatement parent; | |||
ValaWhileStatementPrivate * priv; | ValaWhileStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaWhileStatementClass { | struct _ValaWhileStatementClass { | |||
ValaStatementClass parent; | ValaStatementClass parent; | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||