~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to raster/r.to.vect/global.h

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
/*    write_boundary  write a line out to the digit files */
21
21
/*    write_area    make table of area mappings and write dlg label file */
22
22
 
23
 
#ifdef MAIN
24
 
#define Global
25
 
#else
26
 
#define Global extern
27
 
#endif
28
 
 
29
23
#define BACKWARD 1
30
24
#define FORWARD 2
31
25
#define OPEN 1
38
32
#define CATNUM 0
39
33
#define CATLABEL 1
40
34
 
41
 
Global int data_type;
42
 
Global int data_size;
43
 
Global struct Map_info Map;
44
 
Global int input_fd;            /*    input_fd     input raster map descriptor */
45
 
Global struct line_cats *Cats;
46
 
Global struct Cell_head cell_head;
47
 
 
48
 
Global int direction;
49
 
Global int first_read, last_read;
50
 
Global int input_fd;
51
 
Global int row_length, row_count, n_rows;
52
 
Global int total_areas;
53
 
 
54
 
Global int smooth_flag;         /* this is 0 for no smoothing, 1 for smoothing of lines */
55
 
Global int value_flag;          /* use raster values as categories */
56
 
 
57
 
Global struct Categories RastCats;
58
 
Global int has_cats;            /* Category labels available */
59
 
Global struct field_info *Fi;
60
 
Global dbDriver *driver;
61
 
Global dbString sql, label;
 
35
extern int data_type;
 
36
extern int data_size;
 
37
extern struct Map_info Map;
 
38
extern int input_fd;            /*    input_fd     input raster map descriptor */
 
39
extern struct line_cats *Cats;
 
40
extern struct Cell_head cell_head;
 
41
 
 
42
extern int direction;
 
43
extern int first_read, last_read;
 
44
extern int input_fd;
 
45
extern int row_length, row_count, n_rows;
 
46
extern int total_areas;
 
47
 
 
48
extern int smooth_flag;         /* this is 0 for no smoothing, 1 for smoothing of lines */
 
49
extern int value_flag;          /* use raster values as categories */
 
50
 
 
51
extern struct Categories RastCats;
 
52
extern int has_cats;            /* Category labels available */
 
53
extern struct field_info *Fi;
 
54
extern dbDriver *driver;
 
55
extern dbString sql, label;
62
56
 
63
57
struct COOR
64
58
{