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-2021 darktable developers.
4
5
darktable is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
darktable is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with darktable. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#pragma once
20
21
#include <
lua/lua.h
>
22
23
/*
24
* LUA API VERSIONING
25
* This API versioning follows semantic versioning as defined in
26
* http://semver.org
27
* only stable releases are considered "released"
28
* => no need to increase API version with every commit,
29
* however, beware of stable releases and API changes
30
*/
31
// 1.6 was 2.0.1
32
// 1.6.1 was 2.0.2
33
// 2.0.0 was 3.0.0
34
// 2.2.0 was 4.0.0 ( removed the ugly yield functions make scripts incompatible)
35
// 2.4.0 was 5.0.0 (going to lua 5.3 is a major API bump)
36
// 3.2.0 was 6.0.0 (removed facebook, flickr, and picasa from types.dt_imageio_storage_module_t)
37
// 3.6.0 was 7.0.0 (added naming to events, selections, and actions)
38
// 3.8.0 was 8.0.0 (moved to lua 5.4 and added some events)
39
/* incompatible API change */
40
#define LUA_API_VERSION_MAJOR 8
41
/* backward compatible API change */
42
#define LUA_API_VERSION_MINOR 0
43
/* bugfixes that should not change anything to the API */
44
#define LUA_API_VERSION_PATCH 0
45
/* suffix for unstable version */
46
#define LUA_API_VERSION_SUFFIX ""
47
49
int
dt_lua_init_configuration
(
lua_State
*L);
50
51
// clang-format off
52
// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
53
// vim: shiftwidth=2 expandtab tabstop=2 cindent
54
// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
55
// clang-format on
56
dt_lua_init_configuration
int dt_lua_init_configuration(lua_State *L)
Definition
configuration.c:91
lua.h
lua_State
int lua_State
Definition
lua.h:90
src
lua
configuration.h
Generated by
1.9.8