HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/astropy/wcs/include/astropy_wcs/wcslib_units_wrap.h
/*
 Author: Michael Droettboom
         [email protected]
*/

#ifndef __WCSLIB_UNITS_WRAP_H__
#define __WCSLIB_UNITS_WRAP_H__

#include "pyutil.h"
#include "wcsunits.h"

extern PyTypeObject PyUnitsType;

typedef struct {
  PyObject_HEAD
  char have[80];
  char want[80];
  double scale;
  double offset;
  double power;
} PyUnits;

PyUnits*
PyUnits_cnew(
    const char* const have,
    const char* const want,
    const double scale,
    const double offset,
    const double power);

int _setup_units_type(PyObject* m);

#endif