~ubuntu-branches/ubuntu/utopic/wcslib/utopic

« back to all changes in this revision

Viewing changes to C/test/twcshdr.c

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-05-13 10:29:41 UTC
  • mfrom: (15.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140513102941-c8643128v6rews10
Tags: 4.23-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*============================================================================
2
2
 
3
 
  WCSLIB 4.22 - an implementation of the FITS WCS standard.
 
3
  WCSLIB 4.23 - an implementation of the FITS WCS standard.
4
4
  Copyright (C) 1995-2014, Mark Calabretta
5
5
 
6
6
  This file is part of WCSLIB.
22
22
 
23
23
  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
24
24
  http://www.atnf.csiro.au/people/Mark.Calabretta
25
 
  $Id: twcshdr.c,v 4.22 2014/04/12 15:03:53 mcalabre Exp $
 
25
  $Id: twcshdr.c,v 4.23 2014/05/13 05:50:52 mcalabre Exp $
26
26
*=============================================================================
27
27
*
28
28
* twcshdr illustrates the steps required to read WCS information (including
141
141
  }
142
142
 
143
143
  if (dohdr) {
144
 
    if ((status = wcshdo(WCSHDO_all, wcs+2, &nkeyrec, &header))) {
 
144
    if ((status = wcshdo(WCSHDO_all, wcs, &nkeyrec, &header))) {
145
145
      return 1;
146
146
    }
147
147