Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* This file is part of PyKrita, Krita' Python scripting plugin.
*
* SPDX-FileCopyrightText: 2013 Alex Turbov <[email protected]>
* SPDX-FileCopyrightText: 2014-2016 Boudewijn Rempt <[email protected]>
* SPDX-FileCopyrightText: 2021 L. E. Segovia <[email protected]>
*
* SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only
*/
#ifndef __PYKRITA_MODULE_H__
#define __PYKRITA_MODULE_H__
#include <Python.h>
#include "config.h"
#if SIP_VERSION >= 0x0500000
#define PYKRITA_INIT PyInit_krita
#else
#define PYKRITA_INIT PyInit_pykrita
#endif
/**
* Initializer for the built-in Python module.
*/
PyMODINIT_FUNC PYKRITA_INIT();
#endif