/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to views/script.h

  • Committer: Vasilii Chernov
  • Date: 2016-02-11 09:37:24 UTC
  • mto: This revision was merged to the branch mainline in revision 353.
  • Revision ID: vchernov@inr.ru-20160211093724-ipw54n5wxts1jt2i
Merge script and transform view. Add get register and properties info to python wrap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _PCILIB_VIEW_SCRIPT_H
2
 
#define _PCILIB_VIEW_SCRIPT_H
3
 
 
4
 
#include <pcilib.h>
5
 
#include <pcilib/view.h>
6
 
#include <Python.h>
7
 
 
8
 
typedef struct {
9
 
    pcilib_view_description_t base;
10
 
    PyObject *py_script_module; /**< PyModule object, contains script enviroment */
11
 
        char* script_name;
12
 
} pcilib_script_view_description_t;
13
 
 
14
 
#ifndef _PCILIB_VIEW_SCRIPT_C
15
 
const pcilib_view_api_description_t pcilib_script_view_api;
16
 
#endif /* _PCILIB_VIEW_SCRIPT_C */
17
 
 
18
 
#endif /* _PCILIB_VIEW_SCRIPT_H */