[GRASS5] dbCatVal

Radim Blazek radim.blazek at gmail.com
Fri Jul 15 04:19:21 EDT 2005


Is it harmless (for binary compatibility)  to change

typedef struct {
    int  cat;  /* category */
    int  isNull;
    union {
        int        i;
        double     d;
    } val;
} dbCatVal;

to

typedef struct {
    int  cat;  /* category */
    int  isNull;
    union {
        int        i;
        double     d;
        dbString   *s;
        dbDateTime *t;
    } val;
} dbCatVal;

?

Pointers should not take > 8 bytes (double) I believe.

Radim




More information about the grass-dev mailing list