summaryrefslogtreecommitdiffstats
path: root/views/script.h
blob: 2929f4cdc9af321b8c3ef6fabf2e7211808820d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _PCILIB_VIEW_SCRIPT_H
#define _PCILIB_VIEW_SCRIPT_H

#include <pcilib.h>
#include <pcilib/view.h>
#include <Python.h>

typedef struct {
    pcilib_view_description_t base;
    PyObject *py_script_module;	/**< PyModule object, contains script enviroment */
	char* script_name;
} pcilib_script_view_description_t;

#ifndef _PCILIB_VIEW_SCRIPT_C
const pcilib_view_api_description_t pcilib_script_view_api;
#endif /* _PCILIB_VIEW_SCRIPT_C */

#endif /* _PCILIB_VIEW_SCRIPT_H */