comparison dyncall/dyncall_version.h @ 414:49b669422ad8

- introducing version number - todo cleanup
author Tassilo Philipp
date Thu, 16 Dec 2021 15:58:03 +0100
parents
children 13475895a79b
comparison
equal deleted inserted replaced
413:d73dc7ad37e4 414:49b669422ad8
1 /*
2
3 Package: dyncall
4 Library: dyncall
5 File: dyncall/dyncall_utils.h
6 Description: Type and calling-convention signature character defines
7 License:
8
9 Copyright (c) 2021 Tassilo Philipp <tphilipp@potion-studios.com>
10
11 Permission to use, copy, modify, and distribute this software for any
12 purpose with or without fee is hereby granted, provided that the above
13 copyright notice and this permission notice appear in all copies.
14
15 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
16 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
17 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
18 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
21 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22
23 */
24
25
26
27 #ifndef DYNCALL_VERSION_H
28 #define DYNCALL_VERSION_H
29
30 /* version scheme is using hex number, with last nibble being either 'c'
31 or 'f' for current or release version, respectively; next nibbles are
32 only using decimal numbers (0-9), one for teeny (usually 0 as not used),
33 one for minor and rest for major version number; e.g.:
34
35 0x120c = v1.2-current
36 0x40f = v0.4-release
37
38 this macro was introduced while working on v1.3, (so 0x130c)
39 */
40
41 #define DYNCALL_VERSION 0x130c
42
43 #endif /* DYNCALL_VERSION_H */
44