changeset 414:49b669422ad8

- introducing version number - todo cleanup
author Tassilo Philipp
date Thu, 16 Dec 2021 15:58:03 +0100
parents d73dc7ad37e4
children 4f6c9d3962a5
files ToDo dyncall/dyncall_version.h
diffstat 2 files changed, 45 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ToDo	Thu Oct 07 11:29:36 2021 +0200
+++ b/ToDo	Thu Dec 16 15:58:03 2021 +0100
@@ -140,7 +140,7 @@
 - add godoc for godc
 - add javadoc to java
 - add more bindings
-- add callback support for erlang, go, java, lua, python and ruby (and shell? how?)
+- add callback support for erlang, go, java, lua and ruby (and shell? how?)
 - add call-conv-mode-support for rbdc through signature
 
 manual:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dyncall/dyncall_version.h	Thu Dec 16 15:58:03 2021 +0100
@@ -0,0 +1,44 @@
+/*
+
+ Package: dyncall
+ Library: dyncall
+ File: dyncall/dyncall_utils.h
+ Description: Type and calling-convention signature character defines
+ License:
+
+   Copyright (c) 2021 Tassilo Philipp <tphilipp@potion-studios.com>
+
+   Permission to use, copy, modify, and distribute this software for any
+   purpose with or without fee is hereby granted, provided that the above
+   copyright notice and this permission notice appear in all copies.
+
+   THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+   WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+   MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+   ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+   ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+*/
+
+
+
+#ifndef DYNCALL_VERSION_H
+#define DYNCALL_VERSION_H
+
+/* version scheme is using hex number, with last nibble being either 'c'
+   or 'f' for current or release version, respectively; next nibbles are
+   only using decimal numbers (0-9), one for teeny (usually 0 as not used),
+   one for minor and rest for major version number; e.g.:
+
+   0x120c = v1.2-current
+   0x40f = v0.4-release
+
+   this macro was introduced while working on v1.3, (so 0x130c)
+*/
+
+#define DYNCALL_VERSION  0x130c
+
+#endif /* DYNCALL_VERSION_H */
+