40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2020 Weber Yann
|
|
*
|
|
* This file is part of pyrpn.
|
|
*
|
|
* pyrpn is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* any later version.
|
|
*
|
|
* pyrpn is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with pyrpn. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef _PYTHON_CONST_H__
|
|
#define _PYTHON_CONST_H__
|
|
|
|
#include "config.h"
|
|
|
|
#include <errno.h>
|
|
|
|
#define PY_SSIZE_T_CLEAN
|
|
#include <Python.h>
|
|
#include "structmember.h"
|
|
|
|
#include "rpn_if_default.h"
|
|
|
|
/**@brief pyrpn.const module specs
|
|
* @ingroup python_module */
|
|
extern PyModuleDef rpnconstmodule;
|
|
|
|
/**@brief pyrpn.const module initialisation function
|
|
* @ingroup python_module */
|
|
PyObject *Py_rpnconst_init(void);
|
|
|
|
#endif
|