# HG changeset patch # User cslag # Date 1451589457 -3600 # Node ID 5e159be89d73afb0a596bf8e9330b9d71f26404c # Parent 0cfcc391201f2ac02c293fdb9e6efc2f18b40259 - ruby and sh binding updates for dc r0.9 diff -r 0cfcc391201f -r 5e159be89d73 ruby/rbdc/README.txt --- a/ruby/rbdc/README.txt Thu Mar 19 22:26:28 2015 +0100 +++ b/ruby/rbdc/README.txt Thu Dec 31 20:17:37 2015 +0100 @@ -1,11 +1,11 @@ dyncall ruby bindings -Copyright 2007-2014 Tassilo Philipp +Copyright 2007-2015 Tassilo Philipp BUILD Build and install this gem with: - (cd ../../../dyncall; make distclean) || (gem build rbdc.gemspec && gem install ../../../rbdc-*.gem) + (cd $DYNCALL_DIR; make distclean) || (gem build rbdc.gemspec && gem install ../../../rbdc-*.gem) SIGNATURE FORMAT diff -r 0cfcc391201f -r 5e159be89d73 ruby/rbdc/examples/unix_math.rb --- a/ruby/rbdc/examples/unix_math.rb Thu Mar 19 22:26:28 2015 +0100 +++ b/ruby/rbdc/examples/unix_math.rb Thu Dec 31 20:17:37 2015 +0100 @@ -1,7 +1,7 @@ #////////////////////////////////////////////////////////////////////// # # unix_math.rb -# Copyright 2014 Tassilo Philipp +# Copyright 2015 Tassilo Philipp # # Dyncall sample loading libm and calling functions # diff -r 0cfcc391201f -r 5e159be89d73 ruby/rbdc/examples/win32msgbox.rb --- a/ruby/rbdc/examples/win32msgbox.rb Thu Mar 19 22:26:28 2015 +0100 +++ b/ruby/rbdc/examples/win32msgbox.rb Thu Dec 31 20:17:37 2015 +0100 @@ -1,7 +1,7 @@ #////////////////////////////////////////////////////////////////////// # # win32msgbox.rb -# Copyright 2007-2014 Tassilo Philipp +# Copyright 2007-2015 Tassilo Philipp # # Dyncall sample loading user32.dll on windows, listing all user32 # symbols and displaying a # native windows message box by calling diff -r 0cfcc391201f -r 5e159be89d73 ruby/rbdc/examples/win32screenres.rb --- a/ruby/rbdc/examples/win32screenres.rb Thu Mar 19 22:26:28 2015 +0100 +++ b/ruby/rbdc/examples/win32screenres.rb Thu Dec 31 20:17:37 2015 +0100 @@ -1,7 +1,7 @@ #////////////////////////////////////////////////////////////////////// # # win32screeninfo.rb -# Copyright 2007 Tassilo Philipp +# Copyright 2015 Tassilo Philipp # # Dyncall sample loading user32.dll on windows and displaying a # native windows message box by calling MessageBoxA(...). diff -r 0cfcc391201f -r 5e159be89d73 ruby/rbdc/extconf.rb --- a/ruby/rbdc/extconf.rb Thu Mar 19 22:26:28 2015 +0100 +++ b/ruby/rbdc/extconf.rb Thu Dec 31 20:17:37 2015 +0100 @@ -1,7 +1,7 @@ #////////////////////////////////////////////////////////////////////// # # extconf.rb -# Copyright (c) 2007-2014 Daniel Adler , +# Copyright (c) 2007-2015 Daniel Adler , # Tassilo Philipp # # Permission to use, copy, modify, and distribute this software for any diff -r 0cfcc391201f -r 5e159be89d73 ruby/rbdc/rbdc.c --- a/ruby/rbdc/rbdc.c Thu Mar 19 22:26:28 2015 +0100 +++ b/ruby/rbdc/rbdc.c Thu Dec 31 20:17:37 2015 +0100 @@ -1,7 +1,7 @@ /* rbdc.c - Copyright (c) 2007-2014 Daniel Adler , + Copyright (c) 2007-2015 Daniel Adler , Tassilo Philipp Permission to use, copy, modify, and distribute this software for any diff -r 0cfcc391201f -r 5e159be89d73 ruby/rbdc/rbdc.gemspec --- a/ruby/rbdc/rbdc.gemspec Thu Mar 19 22:26:28 2015 +0100 +++ b/ruby/rbdc/rbdc.gemspec Thu Dec 31 20:17:37 2015 +0100 @@ -1,7 +1,7 @@ #////////////////////////////////////////////////////////////////////// # # rbdc.gemspec -# Copyright (c) 2007-2009 Daniel Adler , +# Copyright (c) 2007-2015 Daniel Adler , # Tassilo Philipp # # Permission to use, copy, modify, and distribute this software for any @@ -33,7 +33,7 @@ spec.summary = 'foreign function interface for C calls' spec.description = 'Ruby interface to dyncall, allowing programmers to call C functions in shared libraries from ruby without writing any glue code at all (e.g. "l.load(\'/usr/lib/libm.so\'); puts \'pow(2.0, 10.0) = \' + l.call(:pow, \'dd)d\', 2.0, 10.0).to_s")' - spec.version = '0.8.7' + spec.version = '0.9.0' spec.required_ruby_version = '>= 1.9.1' spec.license = 'ISC' diff -r 0cfcc391201f -r 5e159be89d73 shell/shdc/shdc.c --- a/shell/shdc/shdc.c Thu Mar 19 22:26:28 2015 +0100 +++ b/shell/shdc/shdc.c Thu Dec 31 20:17:37 2015 +0100 @@ -3,7 +3,7 @@ File: bindings/shell.c Description: printf(1) style function call mechanism License: - Copyright (c) 2007-2014 Daniel Adler , + Copyright (c) 2007-2015 Daniel Adler , Tassilo Philipp Permission to use, copy, modify, and distribute this software for any @@ -26,7 +26,7 @@ #include #include /* needed on some platforms to make atof work _at_runtime_ */ -#define SHDC_VERSION "0.8" +#define SHDC_VERSION "0.9" void usage(const char* s)