plugins: python renderer: Add fork request to python renderer library, so it wont destory the base application

This commit is contained in:
Mario Hüttel 2019-11-18 21:43:49 +01:00
parent 447d583103
commit 2aa1fffa8e
2 changed files with 39 additions and 0 deletions

View File

@ -55,6 +55,11 @@
*/ */
#define FUNC_DECL(FUNC) FUNC #define FUNC_DECL(FUNC) FUNC
/**
* @brief Define for declaring exported variables
*/
#define VAR_DECL(VAR) VAR
/** @} */ /** @} */
#endif /* __EXTERNAL_RENDERER_INTERFACES_H__ */ #endif /* __EXTERNAL_RENDERER_INTERFACES_H__ */

View File

@ -0,0 +1,34 @@
/*
* GDSII-Converter Python Plugin
* Copyright (C) 2019 Mario Hüttel <mario.huettel@gmx.net>
*
* This file is part of GDSII-Converter.
*
* GDSII-Converter is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* GDSII-Converter 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 GDSII-Converter. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file python-renderer/force-fork.c
* @author Mario Hüttel <mario.huettel@gmx.net>
*/
/**
* @addtogroup python-plugin
* @{
*/
#include <gds-render/output-renderers/external-renderer-interfaces.h>
const int VAR_DECL(EXTERNAL_LIBRARY_FORK_REQUEST) = 0;
/** @} */