Add header for foced fork variable. Don't know what it is good for yet. But why not...
This commit is contained in:
parent
246695610c
commit
9eed1ac33d
@ -73,6 +73,18 @@
|
||||
*/
|
||||
#define EXPORTED_VAR_DECL(VAR) EXPORT_VAR VAR
|
||||
|
||||
/**
|
||||
* @brief Define for declaring variables based on a define expansion
|
||||
* @note If you want to declare an exported variable use @ref EXPORTED_VAR_DECL
|
||||
*/
|
||||
#define VAR_DECL(VAR) VAR
|
||||
|
||||
/**
|
||||
* @brief Define for declaring functions based on a define expansion
|
||||
* @note If you want to declare an exported function use @ref EXPORTED_FUNC_DECL
|
||||
*/
|
||||
#define FUNC_DECL(FUNC) FUNC
|
||||
|
||||
/** @} */
|
||||
|
||||
#endif /* __EXTERNAL_RENDERER_INTERFACES_H__ */
|
||||
|
43
plugins/python-renderer/include/python-renderer/force-fork.h
Normal file
43
plugins/python-renderer/include/python-renderer/force-fork.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 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 force-fork.h
|
||||
* @brief Header file force fork variabel definition.
|
||||
*
|
||||
* This file makes the force fork variable accessible.
|
||||
* Actually this is kind of useless. However, here it is :)
|
||||
* @author Mario Hüttel <mario.huettel@gmx.net>
|
||||
*/
|
||||
|
||||
#ifndef __PYTHON_PLUGIN_FORCE_FORK_H__
|
||||
#define __PYTHON_PLUGIN_FORCE_FORK_H__
|
||||
|
||||
/**
|
||||
* @addtogroup python-plugin
|
||||
* @{
|
||||
*/
|
||||
#include <gds-render/output-renderers/external-renderer-interfaces.h>
|
||||
|
||||
extern const int VAR_DECL(EXTERNAL_LIBRARY_FORK_REQUEST);
|
||||
|
||||
/** @} */
|
||||
|
||||
#endif /* __PYTHON_PLUGIN_FORCE_FORK_H__ */
|
||||
|
@ -22,13 +22,13 @@
|
||||
* @author Mario Hüttel <mario.huettel@gmx.net>
|
||||
*/
|
||||
|
||||
#include <python-renderer/force-fork.h>
|
||||
|
||||
/**
|
||||
* @addtogroup python-plugin
|
||||
* @{
|
||||
*/
|
||||
|
||||
#include <gds-render/output-renderers/external-renderer-interfaces.h>
|
||||
|
||||
/* The precense of this variable tells the gds-render application to execute this plugin in a separate process
|
||||
* The variable's value is don't care
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user