Displaying 1 result from an estimated 1 matches for "b814195".
2018 Oct 01
2
[PATCH nbdkit] plugins: Add scripting language version to --dump-plugin output.
...BY_API_VERSION_MINOR
+ printf (".%d", RUBY_API_VERSION_MINOR);
+#ifdef RUBY_API_VERSION_TEENY
+ printf (".%d", RUBY_API_VERSION_TEENY);
+#endif
+#endif
+ printf ("\n");
+#endif
+
if (!script)
return;
diff --git a/plugins/tcl/tcl.c b/plugins/tcl/tcl.c
index b814195..b30fefd 100644
--- a/plugins/tcl/tcl.c
+++ b/plugins/tcl/tcl.c
@@ -95,6 +95,14 @@ proc_defined (const char *name)
static void
tcl_dump_plugin (void)
{
+#ifdef TCL_VERSION
+ printf ("tcl_version=%s\n", TCL_VERSION);
+#endif
+
+#ifdef TCL_PATCH_LEVEL
+ printf ("tcl_patch_level=%s...