/+junk/libbreezy

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/libbreezy

« back to all changes in this revision

Viewing changes to src/libbreezy_private.h

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-13 15:54:51 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210113155451-b8bj2e5saxiysvqc
the start of this dumb experiment

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
"";