Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
configuration.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2013, 2016-2017 Jérémy Rosen.
4 Copyright (C) 2014, 2016 Tobias Ellinghaus.
5 Copyright (C) 2018 luzpaz.
6 Copyright (C) 2019-2021 Pascal Obry.
7 Copyright (C) 2020-2021 Bill Ferguson.
8 Copyright (C) 2020-2021 wpferguson.
9 Copyright (C) 2022 Martin Bařinka.
10
11 darktable is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
15
16 darktable is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with darktable. If not, see <http://www.gnu.org/licenses/>.
23 */
24
25#pragma once
26
27#include <lua/lua.h>
28
29/*
30 * LUA API VERSIONING
31 * This API versioning follows semantic versioning as defined in
32 * http://semver.org
33 * only stable releases are considered "released"
34 * => no need to increase API version with every commit,
35 * however, beware of stable releases and API changes
36 */
37// 1.6 was 2.0.1
38// 1.6.1 was 2.0.2
39// 2.0.0 was 3.0.0
40// 2.2.0 was 4.0.0 ( removed the ugly yield functions make scripts incompatible)
41// 2.4.0 was 5.0.0 (going to lua 5.3 is a major API bump)
42// 3.2.0 was 6.0.0 (removed facebook, flickr, and picasa from types.dt_imageio_storage_module_t)
43// 3.6.0 was 7.0.0 (added naming to events, selections, and actions)
44// 3.8.0 was 8.0.0 (moved to lua 5.4 and added some events)
45/* incompatible API change */
46#define LUA_API_VERSION_MAJOR 8
47/* backward compatible API change */
48#define LUA_API_VERSION_MINOR 0
49/* bugfixes that should not change anything to the API */
50#define LUA_API_VERSION_PATCH 0
51/* suffix for unstable version */
52#define LUA_API_VERSION_SUFFIX ""
53
56
57// clang-format off
58// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
59// vim: shiftwidth=2 expandtab tabstop=2 cindent
60// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
61// clang-format on
62
const float L
Definition colorspaces_inline_conversions.h:724
int dt_lua_init_configuration(lua_State *L)
Definition configuration.c:95
int lua_State
Definition lua.h:95