1 /* 2 Author: Michael Droettboom 3 mdroe@stsci.edu 4 */ 5 6 #ifndef __DISTORTION_WRAP_H__ 7 #define __DISTORTION_WRAP_H__ 8 9 #include "pyutil.h" 10 #include "distortion.h" 11 12 extern PyTypeObject PyDistLookupType; 13 14 typedef struct { 15 PyObject_HEAD 16 distortion_lookup_t x; 17 /*@null@*/ /*@shared@*/ PyArrayObject* py_data; 18 } PyDistLookup; 19 20 int 21 _setup_distortion_type( 22 PyObject* m); 23 24 #endif 25