~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to vector/v.mapcalc/mapcalc.h

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef MAPCALC_H
2
 
#define MAPCALC_H
3
 
 
4
 
typedef enum Styp               /* Symbol Type */
5
 
{
6
 
    st_none = 0,
7
 
    st_map,
8
 
    st_any,
9
 
    st_num,
10
 
    st_str,
11
 
    st_arg,
12
 
    st_pnt,
13
 
    st_nfunc,
14
 
    st_mfunc,
15
 
    st_pfunc,
16
 
    st_afunc
17
 
} STYP;
18
 
 
19
 
typedef struct Symbol
20
 
{
21
 
    struct Symbol *next;
22
 
    char *name;
23
 
    STYP type;                  /* type as seen by the parser */
24
 
    STYP itype;                 /* when type == st_any or st_arg */
25
 
    union
26
 
    {
27
 
        double d;               /* nummeric value (always double) */
28
 
        void *p;                /* pointer value */
29
 
    } v;
30
 
    char *proto;
31
 
    STYP rettype;               /* if function, return type */
32
 
} SYMBOL;
33
 
 
34
 
extern int parseerror;
35
 
extern SYMBOL *symtab;
36
 
 
37
 
extern void freesym(const void *elt);
38
 
extern SYMBOL *delsym(SYMBOL * head);
39
 
extern int cmpsymsym(const void *A, const void *B);
40
 
extern int cmpsymname(const void *data, const void *elt);
41
 
extern void symcpy(const void *Dst, const void *Src);
42
 
extern SYMBOL *getsym(const char *name);
43
 
extern SYMBOL *putsym(const char *name);
44
 
extern SYMBOL *argapp(SYMBOL * head, SYMBOL * arg);
45
 
 
46
 
#endif