bzr branch
http://gegoxaren.bato24.eu/bzr/%2Bjunk/libbreezy
|
1
by Gustav Hartvigsson
the start of this dumb experiment |
1 |
#pragma once
|
2 |
#include <python3.8/Python.h> |
|
3 |
||
4 |
typedef struct _BRZ_cxt { |
|
5 |
PyObject * program; |
|
6 |
PyObject * global; |
|
7 |
PyObject * local; |
|
8 |
|
|
9 |
} BRZ_Ctx; |
|
10 |
||
11 |
BRZ_Ctx * __brz_context__; |
|
12 |
||
13 |
||
14 |
static const char * __BRZ_PY_PROGRAM__ = |
|
15 |
"import breezy\n" |
|
16 |
"from breezy import bzr\n" |
|
17 |
"breezy.initalize ()\n" |
|
18 |
""; |