You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2020/02/06 21:57:12 UTC

[couchdb-jiffy] branch master updated (0197cd3 -> bcf4a65)

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-jiffy.git.


    from 0197cd3  Merge remote-tracking branch 'davisp/master'
     new 265be33  Force Windows to export inlined functions
     new e60916f  Version 1.0.3
     new bcf4a65  Merge remote-tracking branch 'davisp/master'

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 c_src/termstack.h | 12 +++++++++---
 src/jiffy.app.src |  2 +-
 2 files changed, 10 insertions(+), 4 deletions(-)


[couchdb-jiffy] 01/03: Force Windows to export inlined functions

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-jiffy.git

commit 265be337f8c9dce338c09be80c3e9e91e2ea1d92
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Thu Feb 6 15:55:10 2020 -0500

    Force Windows to export inlined functions
---
 c_src/termstack.h | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/c_src/termstack.h b/c_src/termstack.h
index ce46769..d1f8ee4 100644
--- a/c_src/termstack.h
+++ b/c_src/termstack.h
@@ -6,6 +6,12 @@
 
 #include "erl_nif.h"
 
+#ifdef _WIN32
+#define JIFFY_EXPORT __declspec(dllexport)
+#else
+#define JIFFY_EXPORT
+#endif
+
 #define SMALL_TERMSTACK_SIZE 16
 
 typedef struct {
@@ -21,8 +27,8 @@ ERL_NIF_TERM termstack_save(ErlNifEnv* env, TermStack* stack);
 int termstack_restore(ErlNifEnv* env, ERL_NIF_TERM from, TermStack* stack);
 void termstack_destroy(TermStack* stack);
 
-void termstack_push(TermStack* stack, ERL_NIF_TERM term);
-ERL_NIF_TERM termstack_pop(TermStack* stack);
-int termstack_is_empty(TermStack* stack);
+JIFFY_EXPORT void termstack_push(TermStack* stack, ERL_NIF_TERM term);
+JIFFY_EXPORT ERL_NIF_TERM termstack_pop(TermStack* stack);
+JIFFY_EXPORT int termstack_is_empty(TermStack* stack);
 
 #endif


[couchdb-jiffy] 03/03: Merge remote-tracking branch 'davisp/master'

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-jiffy.git

commit bcf4a65c9b854fde666a5f8ef1a18080ab94e7ae
Merge: 0197cd3 e60916f
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Thu Feb 6 15:59:01 2020 -0600

    Merge remote-tracking branch 'davisp/master'

 c_src/termstack.h | 12 +++++++++---
 src/jiffy.app.src |  2 +-
 2 files changed, 10 insertions(+), 4 deletions(-)


[couchdb-jiffy] 02/03: Version 1.0.3

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-jiffy.git

commit e60916fb15604a7d4fed4f664cfa1aa0bc03dd28
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Thu Feb 6 15:52:59 2020 -0600

    Version 1.0.3
---
 src/jiffy.app.src | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/jiffy.app.src b/src/jiffy.app.src
index a055bfb..7d52feb 100644
--- a/src/jiffy.app.src
+++ b/src/jiffy.app.src
@@ -1,6 +1,6 @@
 {application, jiffy, [
     {description, "JSON Decoder/Encoder."},
-    {vsn, "1.0.1"},
+    {vsn, "1.0.3"},
     {registered, []},
     {applications, [kernel, stdlib, xmerl]},
     {maintainers, ["Paul J. Davis"]},