Mercurial > pub > dyncall > bindings
changeset 1:5e159be89d73
- ruby and sh binding updates for dc r0.9
author | cslag |
---|---|
date | Thu, 31 Dec 2015 20:17:37 +0100 |
parents | 0cfcc391201f |
children | a27ef6fdc275 |
files | ruby/rbdc/README.txt ruby/rbdc/examples/unix_math.rb ruby/rbdc/examples/win32msgbox.rb ruby/rbdc/examples/win32screenres.rb ruby/rbdc/extconf.rb ruby/rbdc/rbdc.c ruby/rbdc/rbdc.gemspec shell/shdc/shdc.c |
diffstat | 8 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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 #
--- 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
--- 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(...).
--- 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 <dadler@uni-goettingen.de>, +# Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>, # Tassilo Philipp <tphilipp@potion-studios.com> # # Permission to use, copy, modify, and distribute this software for any
--- 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 <dadler@uni-goettingen.de>, + Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any
--- 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 <dadler@uni-goettingen.de>, +# Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>, # Tassilo Philipp <tphilipp@potion-studios.com> # # 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'
--- 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 <dadler@uni-goettingen.de>, + Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>, Tassilo Philipp <tphilipp@potion-studios.com> Permission to use, copy, modify, and distribute this software for any @@ -26,7 +26,7 @@ #include <stdio.h> #include <stdlib.h> /* 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)