# HG changeset patch
# User Tassilo Philipp
# Date 1586881393 -7200
# Node ID 3abd4f1ab473916769011d63b7e9cca16784e118
# Parent  1d50532dce128105454128beb8e85ce5dd23984b
- erlang binding: update to dc 1.1 and added note about missing feature

diff -r 1d50532dce12 -r 3abd4f1ab473 erlang/erldc/Makefile
--- a/erlang/erldc/Makefile	Tue Apr 14 17:44:04 2020 +0200
+++ b/erlang/erldc/Makefile	Tue Apr 14 18:23:13 2020 +0200
@@ -1,5 +1,5 @@
 # Be sure to 'make clean' after changing the version
-VERSION=1.0
+VERSION=1.1
 
 OUTPUTS = priv/erldc.so ebin/dyncall.beam ebin/erldc.app
 
diff -r 1d50532dce12 -r 3abd4f1ab473 erlang/erldc/README.txt
--- a/erlang/erldc/README.txt	Tue Apr 14 17:44:04 2020 +0200
+++ b/erlang/erldc/README.txt	Tue Apr 14 18:23:13 2020 +0200
@@ -47,6 +47,7 @@
 
 TODO
 ====
+- signature chars used to indicate calling conventions are not supported yet!
 - callback support
 
 
diff -r 1d50532dce12 -r 3abd4f1ab473 erlang/erldc/include/dyncall.hrl
--- a/erlang/erldc/include/dyncall.hrl	Tue Apr 14 17:44:04 2020 +0200
+++ b/erlang/erldc/include/dyncall.hrl	Tue Apr 14 18:23:13 2020 +0200
@@ -40,9 +40,15 @@
 -define(DC_CALL_C_X86_PLAN9,           19).
 -define(DC_CALL_C_SPARC32,             20).
 -define(DC_CALL_C_SPARC64,             21).
+-define(DC_CALL_C_ARM64,               22).
+-define(DC_CALL_C_PPC64,               23).
+-define(DC_CALL_C_PPC64_LINUX,        ?DC_CALL_C_PPC64).
 -define(DC_CALL_SYS_DEFAULT,          200).
 -define(DC_CALL_SYS_X86_INT80H_LINUX, 201).
 -define(DC_CALL_SYS_X86_INT80H_BSD,   202).
+-define(DC_CALL_SYS_X64_SYSCALL_SYSV, 204).
+-define(DC_CALL_SYS_PPC32,            210).
+-define(DC_CALL_SYS_PPC64,            211).
 
 -define(DC_ERROR_NONE,               0).
 -define(DC_ERROR_UNSUPPORTED_MODE,  -1).