summaryrefslogtreecommitdiffstats
path: root/views/transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/transform.h')
-rw-r--r--views/transform.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/transform.h b/views/transform.h
index 8c9321d..774a019 100644
--- a/views/transform.h
+++ b/views/transform.h
@@ -3,13 +3,12 @@
#include <pcilib.h>
#include <pcilib/view.h>
-#include <py.h>
typedef struct {
pcilib_view_description_t base;
+ const char *script; /**< Python script module name */
const char *read_from_reg; /**< Formula explaining how to convert the register value to the view value */
const char *write_to_reg; /**< Formula explaining how to convert from the view value to the register value */
- const char *module; /**< Python script module name (without extension) */
} pcilib_transform_view_description_t;
#ifndef _PCILIB_VIEW_TRANSFORM_C