/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 pcilib/py.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
1
#ifndef _PCILIB_PY_H
2
2
#define _PCILIB_PY_H
3
3
 
 
4
#include "pcilib.h"
 
5
 
4
6
typedef struct pcilib_py_s pcilib_py_t;
 
7
typedef struct pcilib_script_s pcilib_script_t;
5
8
 
6
9
#ifdef __cplusplus
7
10
extern "C" {
11
14
int pcilib_py_eval_string(pcilib_t *ctx, const char *codestr, pcilib_value_t *value);
12
15
void pcilib_free_py(pcilib_t *ctx);
13
16
 
 
17
 
 
18
int pcilib_init_py_script(pcilib_t *ctx, char* module_name, pcilib_script_t **module, pcilib_access_mode_t *mode);
 
19
int pcilib_free_py_script(pcilib_script_t *module);
 
20
int pcilib_script_read(pcilib_t *ctx, pcilib_script_t *module, pcilib_value_t *val);
 
21
int pcilib_script_write(pcilib_t *ctx, pcilib_script_t *module, pcilib_value_t *val);
 
22
 
14
23
#ifdef __cplusplus
15
24
}
16
25
#endif