changeset 41:3abd4f1ab473

- erlang binding: update to dc 1.1 and added note about missing feature
author Tassilo Philipp
date Tue, 14 Apr 2020 18:23:13 +0200
parents 1d50532dce12
children 1e3d929e43be
files erlang/erldc/Makefile erlang/erldc/README.txt erlang/erldc/include/dyncall.hrl
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 
--- 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
 
 
--- 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).