/+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.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
/* libbreezy.h
 
2
 *
 
3
 * Copyright 2021 Gustav Hartvigsson
 
4
 *
 
5
 * This program is free software: you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License as published by
 
7
 * the Free Software Foundation, either version 3 of the License, or
 
8
 * (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
#pragma once
 
20
 
 
21
#include "decls.h"
 
22
 
 
23
 
 
24
BRZ_BEGIN_DECLS
 
25
 
 
26
#include <python3.8/Python.h>
 
27
 
 
28
#define LIBBREEZY_INSIDE
 
29
# include "libbreezy-version.h"
 
30
#undef LIBBREEZY_INSIDE
 
31
 
 
32
 
 
33
/**
 
34
 * brz_init ():
 
35
 * 
 
36
 * Initalise libbreezy. This is needed for Breezy to function.
 
37
 */
 
38
void brz_init ();
 
39
 
 
40
/**
 
41
 * brz_deinit ();
 
42
 * Deintialize the Library.
 
43
 */
 
44
void brz_deinit ();
 
45
 
 
46
/**
 
47
 * brz_get_version:
 
48
 * 
 
49
 * returns the current version of Breezy
 
50
 */
 
51
char * brz_get_version_str ();
 
52
 
 
53
 
 
54
 
 
55
 
 
56
BRZ_END_DECLS