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: | |||
* 27-SEP-2013 (makeh): | * 10-JAN-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 2 | #define AST__RELEASE 3 | |||
#define AST_MAJOR_VERS 7 | #define AST_MAJOR_VERS 7 | |||
#define AST_MINOR_VERS 3 | #define AST_MINOR_VERS 3 | |||
#define AST_RELEASE 2 | #define AST_RELEASE 3 | |||
#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 1531 | skipping to change at line 1531 | |||
int astGetFitsCN_( AstFitsChan *, const char *, char **, int * ); | int astGetFitsCN_( AstFitsChan *, const char *, char **, int * ); | |||
int astGetFitsF_( AstFitsChan *, const char *, double *, int * ); | int astGetFitsF_( AstFitsChan *, const char *, double *, int * ); | |||
int astGetFitsI_( AstFitsChan *, const char *, int *, int * ); | int astGetFitsI_( AstFitsChan *, const char *, int *, int * ); | |||
int astGetFitsL_( AstFitsChan *, const char *, int *, int * ); | int astGetFitsL_( AstFitsChan *, const char *, int *, int * ); | |||
int astGetFitsS_( AstFitsChan *, const char *, char **, int * ); | int astGetFitsS_( AstFitsChan *, const char *, char **, int * ); | |||
int astTestFits_( AstFitsChan *, const char *, int *, int * ); | int astTestFits_( AstFitsChan *, const char *, int *, int * ); | |||
void astDelFits_( AstFitsChan *, int * ); | void astDelFits_( AstFitsChan *, int * ); | |||
void astReadFits_( AstFitsChan *, int * ); | void astReadFits_( AstFitsChan *, int * ); | |||
void astWriteFits_( AstFitsChan *, int * ); | void astWriteFits_( AstFitsChan *, int * ); | |||
void astEmptyFits_( AstFitsChan *, int * ); | void astEmptyFits_( AstFitsChan *, int * ); | |||
void astShowFits_( AstFitsChan *, int * ); | ||||
void astPurgeWCS_( AstFitsChan *, int * ); | void astPurgeWCS_( AstFitsChan *, int * ); | |||
void astPutCards_( AstFitsChan *, const char *, int * ); | void astPutCards_( AstFitsChan *, const char *, int * ); | |||
void astPutFits_( AstFitsChan *, const char [81], int, int * ); | void astPutFits_( AstFitsChan *, const char [81], int, int * ); | |||
void astPutTable_( AstFitsChan *, struct AstFitsTable *, const char *, i nt * ); | void astPutTable_( AstFitsChan *, struct AstFitsTable *, const char *, i nt * ); | |||
void astPutTables_( AstFitsChan *, AstKeyMap *, int * ); | void astPutTables_( AstFitsChan *, AstKeyMap *, int * ); | |||
void astRemoveTables_( AstFitsChan *, const char *, int * ); | void astRemoveTables_( AstFitsChan *, const char *, int * ); | |||
void astRetainFits_( AstFitsChan *, int * ); | void astRetainFits_( AstFitsChan *, int * ); | |||
void astSetFitsCF_( AstFitsChan *, const char *, double *, const char *, int, int * ); | void astSetFitsCF_( AstFitsChan *, const char *, double *, const char *, int, int * ); | |||
void astSetFitsCI_( AstFitsChan *, const char *, int *, const char *, in t, int * ); | void astSetFitsCI_( AstFitsChan *, const char *, int *, const char *, in t, int * ); | |||
void astSetFitsCM_( AstFitsChan *, const char *, int, int * ); | void astSetFitsCM_( AstFitsChan *, const char *, int, int * ); | |||
skipping to change at line 1619 | skipping to change at line 1620 | |||
#define astGetFitsS(this,name,value) astINVOKE(V,astGetFitsS_(astCheckFitsC han(this),name,value,STATUS_PTR)) | #define astGetFitsS(this,name,value) astINVOKE(V,astGetFitsS_(astCheckFitsC han(this),name,value,STATUS_PTR)) | |||
#define astGetFitsCN(this,name,value) astINVOKE(V,astGetFitsCN_(astCheckFit sChan(this),name,value,STATUS_PTR)) | #define astGetFitsCN(this,name,value) astINVOKE(V,astGetFitsCN_(astCheckFit sChan(this),name,value,STATUS_PTR)) | |||
#define astReadFits(this) astINVOKE(V,astReadFits_(astCheckFitsChan(this),S TATUS_PTR)) | #define astReadFits(this) astINVOKE(V,astReadFits_(astCheckFitsChan(this),S TATUS_PTR)) | |||
#define astWriteFits(this) astINVOKE(V,astWriteFits_(astCheckFitsChan(this) ,STATUS_PTR)) | #define astWriteFits(this) astINVOKE(V,astWriteFits_(astCheckFitsChan(this) ,STATUS_PTR)) | |||
#define astEmptyFits(this) astINVOKE(V,astEmptyFits_(astCheckFitsChan(this) ,STATUS_PTR)) | #define astEmptyFits(this) astINVOKE(V,astEmptyFits_(astCheckFitsChan(this) ,STATUS_PTR)) | |||
#define astShowFits(this) astINVOKE(V,astShowFits_(astCheckFitsChan(this),S | ||||
TATUS_PTR)) | ||||
#define astTableSource(this,tabsource) astINVOKE(V,astTableSource_(astCheck FitsChan(this),tabsource,STATUS_PTR)) | #define astTableSource(this,tabsource) astINVOKE(V,astTableSource_(astCheck FitsChan(this),tabsource,STATUS_PTR)) | |||
typedef struct AstFitsTable { | typedef struct AstFitsTable { | |||
AstTable table; | AstTable table; | |||
AstFitsChan *header; | AstFitsChan *header; | |||
} AstFitsTable; | } AstFitsTable; | |||
astPROTO_CHECK(FitsTable) | astPROTO_CHECK(FitsTable) | |||
astPROTO_ISA(FitsTable) | astPROTO_ISA(FitsTable) | |||
skipping to change at line 2286 | skipping to change at line 2289 | |||
struct AstRegion *defunc; | struct AstRegion *defunc; | |||
AstPointSet *basemesh; | AstPointSet *basemesh; | |||
AstPointSet *basegrid; | AstPointSet *basegrid; | |||
int adaptive; | int adaptive; | |||
int nomap; | int nomap; | |||
struct AstRegion *negation; | struct AstRegion *negation; | |||
} AstRegion; | } AstRegion; | |||
astPROTO_CHECK(Region) | astPROTO_CHECK(Region) | |||
astPROTO_ISA(Region) | astPROTO_ISA(Region) | |||
AstFrame *astGetRegionFrame_( AstRegion *, int * ); | AstFrame *astGetRegionFrame_( AstRegion *, int * ); | |||
AstFrameSet *astGetRegionFrameSet_( AstRegion *, int * ); | ||||
int astOverlap_( AstRegion *, AstRegion *, int * ); | int astOverlap_( AstRegion *, AstRegion *, int * ); | |||
void astNegate_( AstRegion *, int * ); | void astNegate_( AstRegion *, int * ); | |||
int astMaskLD_( AstRegion *, AstMapping *, int, int, const int[], const int [], long double [], long double, int * ); | int astMaskLD_( AstRegion *, AstMapping *, int, int, const int[], const int [], long double [], long double, int * ); | |||
int astMaskB_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], signed char[], signed char, int * ); | int astMaskB_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], signed char[], signed char, int * ); | |||
int astMaskD_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], double[], double, int * ); | int astMaskD_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], double[], double, int * ); | |||
int astMaskF_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], float[], float, int * ); | int astMaskF_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], float[], float, int * ); | |||
int astMaskI_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], int[], int, int * ); | int astMaskI_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], int[], int, int * ); | |||
int astMaskL_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], long int[], long int, int * ); | int astMaskL_( AstRegion *, AstMapping *, int, int, const int[], const int[ ], long int[], long int, int * ); | |||
skipping to change at line 2314 | skipping to change at line 2318 | |||
void astGetRegionBounds_( AstRegion *, double *, double *, int * ); | void astGetRegionBounds_( AstRegion *, double *, double *, int * ); | |||
void astShowMesh_( AstRegion *, int, const char *, int * ); | void astShowMesh_( AstRegion *, int, const char *, int * ); | |||
void astGetRegionMesh_( AstRegion *, int, int, int, int *, double *, int * ); | void astGetRegionMesh_( AstRegion *, int, int, int, int *, double *, int * ); | |||
void astGetRegionPoints_( AstRegion *, int, int, int *, double *, int * ); | void astGetRegionPoints_( AstRegion *, int, int, int *, double *, int * ); | |||
AstRegion *astMapRegionId_( AstRegion *, AstMapping *, AstFrame *, int * ); | AstRegion *astMapRegionId_( AstRegion *, AstMapping *, AstFrame *, int * ); | |||
#define astCheckRegion(this) astINVOKE_CHECK(Region,this,0) | #define astCheckRegion(this) astINVOKE_CHECK(Region,this,0) | |||
#define astVerifyRegion(this) astINVOKE_CHECK(Region,this,1) | #define astVerifyRegion(this) astINVOKE_CHECK(Region,this,1) | |||
#define astIsARegion(this) astINVOKE_ISA(Region,this) | #define astIsARegion(this) astINVOKE_ISA(Region,this) | |||
#define astGetRegionFrame(this) astINVOKE(O,astGetRegionFrame_(astCheckRegi on(this),STATUS_PTR)) | #define astGetRegionFrame(this) astINVOKE(O,astGetRegionFrame_(astCheckRegi on(this),STATUS_PTR)) | |||
#define astGetRegionFrameSet(this) astINVOKE(O,astGetRegionFrameSet_(astChe ckRegion(this),STATUS_PTR)) | ||||
#define astNegate(this) astINVOKE(V,astNegate_(astCheckRegion(this),STATUS_ PTR)) | #define astNegate(this) astINVOKE(V,astNegate_(astCheckRegion(this),STATUS_ PTR)) | |||
#define astOverlap(this,that) astINVOKE(V,astOverlap_(astCheckRegion(this), astCheckRegion(that),STATUS_PTR)) | #define astOverlap(this,that) astINVOKE(V,astOverlap_(astCheckRegion(this), astCheckRegion(that),STATUS_PTR)) | |||
#define astMaskLD(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMas kLD_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd, ubnd,in,val,STATUS_PTR)) | #define astMaskLD(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMas kLD_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd, ubnd,in,val,STATUS_PTR)) | |||
#define astMaskB(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask B_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | #define astMaskB(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask B_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | |||
#define astMaskD(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask D_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | #define astMaskD(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask D_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | |||
#define astMaskF(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask F_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | #define astMaskF(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask F_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | |||
#define astMaskI(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask I_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | #define astMaskI(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask I_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | |||
#define astMaskL(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask L_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | #define astMaskL(this,map,inside,ndim,lbnd,ubnd,in,val) astINVOKE(V,astMask L_(astCheckRegion(this),(map?astCheckMapping(map):NULL),inside,ndim,lbnd,ub nd,in,val,STATUS_PTR)) | |||
End of changes. 7 change blocks. | ||||
3 lines changed or deleted | 9 lines changed or added | |||