Loading lwgeom/lwgparse.c +5 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,9 @@ */ #include <string.h> #include <stdio.h> #include <stdint.h> /* Solaris9 does not provide stdint.h */ /* #include <stdint.h> */ #include <inttypes.h> #include "liblwgeom.h" #include "wktparse.h" Loading @@ -23,6 +25,8 @@ void set_zm(char z, char m); void close_parser(void); typedef uint32_t int4; typedef struct tag_tuple tuple; struct tag_outputstate{ Loading lwgeom/wktparse.h +0 −5 Original line number Diff line number Diff line Loading @@ -10,9 +10,6 @@ #define _WKTPARSE_H #include <stdlib.h> /* Solaris9 does not provide stdint.h */ /* #include <stdint.h> */ #include <inttypes.h> #ifndef _LIBLWGEOM_H Loading @@ -23,8 +20,6 @@ typedef void (*freeor)(void* mem); typedef void (*report_error)(const char* string, ...); /*typedef unsigned long int4;*/ typedef uint32_t int4; /* How much memory is allocated at a time(bytes) for tuples */ #define ALLOC_CHUNKS 8192 Loading lwgeom/wktunparse.c +7 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ /* TO get byte order */ #include <sys/types.h> #include <sys/param.h> /* Solaris9 does not provide stdint.h */ /* #include <stdint.h> */ #include <inttypes.h> #include "liblwgeom.h" #include "wktparse.h" Loading @@ -21,6 +24,7 @@ /*-- Typedefs ---------------------------------------------- */ typedef uint32_t int4; typedef uchar* (*outfunc)(uchar*,int); typedef uchar* (*outwkbfunc)(uchar*); Loading Loading @@ -609,6 +613,9 @@ unparse_WKB(uchar* serialized, allocator alloc, freeor free, char endian, size_t /****************************************************************** * $Log$ * Revision 1.23 2006/02/06 11:12:22 strk * uint32_t typedef moved back from wktparse.h to lwgparse.c and wktunparse.c * * Revision 1.22 2006/02/03 20:53:37 strk * Swapped stdint.h (unavailable on Solaris9) with inttypes.h * Loading Loading
lwgeom/lwgparse.c +5 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,9 @@ */ #include <string.h> #include <stdio.h> #include <stdint.h> /* Solaris9 does not provide stdint.h */ /* #include <stdint.h> */ #include <inttypes.h> #include "liblwgeom.h" #include "wktparse.h" Loading @@ -23,6 +25,8 @@ void set_zm(char z, char m); void close_parser(void); typedef uint32_t int4; typedef struct tag_tuple tuple; struct tag_outputstate{ Loading
lwgeom/wktparse.h +0 −5 Original line number Diff line number Diff line Loading @@ -10,9 +10,6 @@ #define _WKTPARSE_H #include <stdlib.h> /* Solaris9 does not provide stdint.h */ /* #include <stdint.h> */ #include <inttypes.h> #ifndef _LIBLWGEOM_H Loading @@ -23,8 +20,6 @@ typedef void (*freeor)(void* mem); typedef void (*report_error)(const char* string, ...); /*typedef unsigned long int4;*/ typedef uint32_t int4; /* How much memory is allocated at a time(bytes) for tuples */ #define ALLOC_CHUNKS 8192 Loading
lwgeom/wktunparse.c +7 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,9 @@ /* TO get byte order */ #include <sys/types.h> #include <sys/param.h> /* Solaris9 does not provide stdint.h */ /* #include <stdint.h> */ #include <inttypes.h> #include "liblwgeom.h" #include "wktparse.h" Loading @@ -21,6 +24,7 @@ /*-- Typedefs ---------------------------------------------- */ typedef uint32_t int4; typedef uchar* (*outfunc)(uchar*,int); typedef uchar* (*outwkbfunc)(uchar*); Loading Loading @@ -609,6 +613,9 @@ unparse_WKB(uchar* serialized, allocator alloc, freeor free, char endian, size_t /****************************************************************** * $Log$ * Revision 1.23 2006/02/06 11:12:22 strk * uint32_t typedef moved back from wktparse.h to lwgparse.c and wktunparse.c * * Revision 1.22 2006/02/03 20:53:37 strk * Swapped stdint.h (unavailable on Solaris9) with inttypes.h * Loading