| ast.h | | ast.h | |
| | | | |
| skipping to change at line 48 | | skipping to change at line 48 | |
| * along with this program; if not, write to the Free Software | | * along with this program; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street,Fifth Floor, Boston, MA | | * Foundation, Inc., 51 Franklin Street,Fifth Floor, Boston, MA | |
| * 02110-1301, USA | | * 02110-1301, USA | |
| | | | |
| * Authors: | | * Authors: | |
| * DSB: D.S. Berry (STARLINK) | | * DSB: D.S. Berry (STARLINK) | |
| * RFWS: R.F. Warren-Smith (STARLINK) | | * RFWS: R.F. Warren-Smith (STARLINK) | |
| * {enter_new_authors_here} | | * {enter_new_authors_here} | |
| | | | |
| * History: | | * History: | |
|
| * 10-JAN-2014 (makeh): | | * 17-APR-2014 (makeh): | |
| * Original version, generated automatically from the internal header | | * Original version, generated automatically from the internal header | |
| * files by the "makeh" script. | | * files by the "makeh" script. | |
| * {enter_changes_here} | | * {enter_changes_here} | |
| *- | | *- | |
| */ | | */ | |
| | | | |
| /* Define a dummy __attribute__ macro for use on non-GNU compilers. */ | | /* Define a dummy __attribute__ macro for use on non-GNU compilers. */ | |
| #ifndef __GNUC__ | | #ifndef __GNUC__ | |
| # define __attribute__(x) /*NOTHING*/ | | # define __attribute__(x) /*NOTHING*/ | |
| #endif | | #endif | |
| | | | |
| skipping to change at line 534 | | skipping to change at line 534 | |
| /* ====== */ | | /* ====== */ | |
| /* globals. */ | | /* globals. */ | |
| /* ======== */ | | /* ======== */ | |
| #define astDECLARE_GLOBALS | | #define astDECLARE_GLOBALS | |
| #define astGET_GLOBALS(This) | | #define astGET_GLOBALS(This) | |
| #define astINIT_GLOBALS | | #define astINIT_GLOBALS | |
| /* unit. */ | | /* unit. */ | |
| /* ===== */ | | /* ===== */ | |
| #define AST__VMAJOR 7 | | #define AST__VMAJOR 7 | |
| #define AST__VMINOR 3 | | #define AST__VMINOR 3 | |
|
| #define AST__RELEASE 3 | | #define AST__RELEASE 4 | |
| | | | |
| #define AST_MAJOR_VERS 7 | | #define AST_MAJOR_VERS 7 | |
| #define AST_MINOR_VERS 3 | | #define AST_MINOR_VERS 3 | |
|
| #define AST_RELEASE 3 | | #define AST_RELEASE 4 | |
| | | | |
| #include <stdarg.h> | | #include <stdarg.h> | |
| #include <float.h> | | #include <float.h> | |
| #include <stdio.h> | | #include <stdio.h> | |
| #define STATUS_PTR astGetStatusPtr | | #define STATUS_PTR astGetStatusPtr | |
| #define AST__THREADSAFE 1 | | #define AST__THREADSAFE 1 | |
| #define astINVOKE(rettype,function) astERROR_INVOKE(astRet##rettype##_(func
tion)) | | #define astINVOKE(rettype,function) astERROR_INVOKE(astRet##rettype##_(func
tion)) | |
| | | | |
| #define astRetF_(x) (x) | | #define astRetF_(x) (x) | |
| #define astRetV_(x) (x) | | #define astRetV_(x) (x) | |
| | | | |
| skipping to change at line 3186 | | skipping to change at line 3186 | |
| AstRegion region; | | AstRegion region; | |
| | | | |
| double in[2]; | | double in[2]; | |
| double lbnd[2]; | | double lbnd[2]; | |
| double ubnd[2]; | | double ubnd[2]; | |
| AstLineDef **edges; | | AstLineDef **edges; | |
| double *startsat; | | double *startsat; | |
| double totlen; | | double totlen; | |
| int acw; | | int acw; | |
| int stale; | | int stale; | |
|
| | | int simp_vertices; | |
| } AstPolygon; | | } AstPolygon; | |
| astPROTO_CHECK(Polygon) | | astPROTO_CHECK(Polygon) | |
| astPROTO_ISA(Polygon) | | astPROTO_ISA(Polygon) | |
| | | | |
| AstPolygon *astPolygonId_( void *, int, int, const double *, AstRegion *, c
onst char *, ... )__attribute__((format(printf,6,7))); | | AstPolygon *astPolygonId_( void *, int, int, const double *, AstRegion *, c
onst char *, ... )__attribute__((format(printf,6,7))); | |
| AstPolygon *astDownsize_( AstPolygon *, double, int, int * ); | | AstPolygon *astDownsize_( AstPolygon *, double, int, int * ); | |
| | | | |
| AstPolygon *astOutlineLD_( long double, int, const long double[], const int
[2], const int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineLD_( long double, int, const long double[], const int
[2], const int[2], double, int, const int[2], int, int * ); | |
| | | | |
| AstPolygon *astOutlineB_( signed char, int, const signed char[], const int[
2], const int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineB_( signed char, int, const signed char[], const int[
2], const int[2], double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineD_( double, int, const double[], const int[2], const
int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineD_( double, int, const double[], const int[2], const
int[2], double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineF_( float, int, const float[], const int[2], const in
t[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineF_( float, int, const float[], const int[2], const in
t[2], double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineI_( int, int, const int[], const int[2], const int[2]
, double, int, const int[2], int, int * ); | | AstPolygon *astOutlineI_( int, int, const int[], const int[2], const int[2]
, double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineL_( long int, int, const long int[], const int[2], co
nst int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineL_( long int, int, const long int[], const int[2], co
nst int[2], double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineS_( short int, int, const short int[], const int[2],
const int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineS_( short int, int, const short int[], const int[2],
const int[2], double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineUB_( unsigned char, int, const unsigned char[], const
int[2], const int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineUB_( unsigned char, int, const unsigned char[], const
int[2], const int[2], double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineUI_( unsigned int, int, const unsigned int[], const i
nt[2], const int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineUI_( unsigned int, int, const unsigned int[], const i
nt[2], const int[2], double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineUL_( unsigned long int, int, const unsigned long int[
], const int[2], const int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineUL_( unsigned long int, int, const unsigned long int[
], const int[2], const int[2], double, int, const int[2], int, int * ); | |
| AstPolygon *astOutlineUS_( unsigned short int, int, const unsigned short in
t[], const int[2], const int[2], double, int, const int[2], int, int * ); | | AstPolygon *astOutlineUS_( unsigned short int, int, const unsigned short in
t[], const int[2], const int[2], double, int, const int[2], int, int * ); | |
|
| | | | |
| | | AstPolygon *astConvexLD_( long double, int, const long double[], const int[ | |
| | | 2], const int[2], int, int * ); | |
| | | | |
| | | AstPolygon *astConvexB_( signed char, int, const signed char[], const int[2 | |
| | | ], const int[2], int, int * ); | |
| | | AstPolygon *astConvexD_( double, int, const double[], const int[2], const i | |
| | | nt[2], int, int * ); | |
| | | AstPolygon *astConvexF_( float, int, const float[], const int[2], const int | |
| | | [2], int, int * ); | |
| | | AstPolygon *astConvexI_( int, int, const int[], const int[2], const int[2], | |
| | | int, int * ); | |
| | | AstPolygon *astConvexL_( long int, int, const long int[], const int[2], con | |
| | | st int[2], int, int * ); | |
| | | AstPolygon *astConvexS_( short int, int, const short int[], const int[2], c | |
| | | onst int[2], int, int * ); | |
| | | AstPolygon *astConvexUB_( unsigned char, int, const unsigned char[], const | |
| | | int[2], const int[2], int, int * ); | |
| | | AstPolygon *astConvexUI_( unsigned int, int, const unsigned int[], const in | |
| | | t[2], const int[2], int, int * ); | |
| | | AstPolygon *astConvexUL_( unsigned long int, int, const unsigned long int[] | |
| | | , const int[2], const int[2], int, int * ); | |
| | | AstPolygon *astConvexUS_( unsigned short int, int, const unsigned short int | |
| | | [], const int[2], const int[2], int, int * ); | |
| #define astCheckPolygon(this) astINVOKE_CHECK(Polygon,this,0) | | #define astCheckPolygon(this) astINVOKE_CHECK(Polygon,this,0) | |
| #define astVerifyPolygon(this) astINVOKE_CHECK(Polygon,this,1) | | #define astVerifyPolygon(this) astINVOKE_CHECK(Polygon,this,1) | |
| | | | |
| #define astIsAPolygon(this) astINVOKE_ISA(Polygon,this) | | #define astIsAPolygon(this) astINVOKE_ISA(Polygon,this) | |
| | | | |
| #define astPolygon astINVOKE(F,astPolygonId_) | | #define astPolygon astINVOKE(F,astPolygonId_) | |
| #define astDownsize(this,maxerr,maxvert) astINVOKE(O,astDownsize_(astCheckP
olygon(this),maxerr,maxvert,STATUS_PTR)) | | #define astDownsize(this,maxerr,maxvert) astINVOKE(O,astDownsize_(astCheckP
olygon(this),maxerr,maxvert,STATUS_PTR)) | |
| | | | |
| #define astOutlineLD(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineLD_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | | #define astOutlineLD(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineLD_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | |
| | | | |
| #define astOutlineB(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineB_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | | #define astOutlineB(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineB_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | |
| #define astOutlineD(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineD_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | | #define astOutlineD(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineD_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | |
| #define astOutlineF(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineF_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | | #define astOutlineF(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineF_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | |
| #define astOutlineI(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineI_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | | #define astOutlineI(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineI_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | |
| #define astOutlineL(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineL_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | | #define astOutlineL(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineL_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | |
| #define astOutlineS(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineS_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | | #define astOutlineS(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starpi
x) astINVOKE(O,astOutlineS_(value,oper,array,lbnd,ubnd,maxerr,maxvert,insid
e,starpix,STATUS_PTR)) | |
| #define astOutlineUB(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineUB_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | | #define astOutlineUB(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineUB_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | |
| #define astOutlineUI(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineUI_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | | #define astOutlineUI(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineUI_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | |
| #define astOutlineUL(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineUL_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | | #define astOutlineUL(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineUL_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | |
| #define astOutlineUS(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineUS_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | | #define astOutlineUS(value,oper,array,lbnd,ubnd,maxerr,maxvert,inside,starp
ix) astINVOKE(O,astOutlineUS_(value,oper,array,lbnd,ubnd,maxerr,maxvert,ins
ide,starpix,STATUS_PTR)) | |
|
| | | | |
| | | #define astConvexLD(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O,astConv | |
| | | exLD_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | | |
| | | #define astConvexB(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astConv | |
| | | exB_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexD(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astConv | |
| | | exD_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexF(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astConv | |
| | | exF_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexI(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astConv | |
| | | exI_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexL(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astConv | |
| | | exL_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexS(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astConv | |
| | | exS_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexUB(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astCon | |
| | | vexUB_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexUI(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astCon | |
| | | vexUI_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexUL(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astCon | |
| | | vexUL_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| | | #define astConvexUS(value,oper,array,lbnd,ubnd,starpix) astINVOKE(O, astCon | |
| | | vexUS_(value,oper,array,lbnd,ubnd,starpix,STATUS_PTR)) | |
| /* prism. */ | | /* prism. */ | |
| /* ====== */ | | /* ====== */ | |
| #define STATUS_PTR astGetStatusPtr | | #define STATUS_PTR astGetStatusPtr | |
| | | | |
| typedef struct AstPrism { | | typedef struct AstPrism { | |
| | | | |
| AstRegion region; | | AstRegion region; | |
| | | | |
| AstRegion *region1; | | AstRegion *region1; | |
| AstRegion *region2; | | AstRegion *region2; | |
| | | | |
End of changes. 6 change blocks. |
| 3 lines changed or deleted | | 52 lines changed or added | |
|