~ubuntu-branches/debian/sid/genius/sid

« back to all changes in this revision

Viewing changes to src/matrixw.h

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2014-04-07 15:43:04 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20140407154304-21r03zdnfc571kz0
Tags: 1.0.17-1
* Take over package from pkg-gnome
* New upstream release. Closes: #716731
* Bump standards version.
* Update Vcs fields to Git.
* Move to single-debian-patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* GENIUS Calculator
2
2
 * Copyright (C) 1997-2011 Jiri (George) Lebl
3
3
 *
4
 
 * Author: George Lebl
 
4
 * Author: Jiri (George) Lebl
5
5
 *
6
6
 * This file is part of Genius.
7
7
 *
134
134
#define gel_matrixw_elements(a) ((a)->regw*(a)->regh)
135
135
 
136
136
/*get the value at, make sure it's in the range*/
137
 
G_INLINE_FUNC GelETree *gel_matrixw_index(GelMatrixW *m, int x, int y);
 
137
G_INLINE_FUNC GelETree *gel_matrixw_index(GelMatrixW *m, int x, int y) G_GNUC_PURE;
138
138
/* Keep up to date with the one in the .c file */
139
139
#ifdef G_CAN_INLINE
140
140
G_INLINE_FUNC GelETree *
145
145
#endif
146
146
 
147
147
/*get the value at, make sure it's in the range*/
148
 
G_INLINE_FUNC GelETree *gel_matrixw_vindex(GelMatrixW *m, int i);
 
148
G_INLINE_FUNC GelETree *gel_matrixw_vindex(GelMatrixW *m, int i) G_GNUC_PURE;
149
149
/* Keep up to date with the one in the .c file */
150
150
#ifdef G_CAN_INLINE
151
151
G_INLINE_FUNC GelETree *
164
164
#endif
165
165
 
166
166
/*get the value at, make sure it's in the range*/
167
 
G_INLINE_FUNC GelETree *gel_matrixw_get_vindex(GelMatrixW *m, int i);
 
167
G_INLINE_FUNC GelETree *gel_matrixw_get_vindex(GelMatrixW *m, int i) G_GNUC_PURE;
168
168
/* Keep up to date with the one in the .c file */
169
169
#ifdef G_CAN_INLINE
170
170
G_INLINE_FUNC GelETree *