This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Foo | |
def a1 | |
puts "a1: I am a #{self.class.name}" | |
end | |
def Foo.a2 | |
puts "a2: I am a #{self.class.name}" | |
end | |
def self.a3 | |
puts "a3: I am a #{self.class.name}" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by libffi configure 3.0.10, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ /home/aaron/git/jffi/jni/libffi/configure --disable-static --with-pic=yes --disable-dependency-tracking | |
## --------- ## | |
## Platform. ## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def say_hi name | |
puts "hi #{name}" | |
end | |
say_hi "Aaron" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Talk | |
def self.hi name | |
puts "n1:#{name.object_id}" | |
name = "#{name}, welcome to the jungle." | |
puts "n2:#{name.object_id}" | |
end | |
end | |
require_relative 'talk' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Talk | |
def self.hi name | |
puts "n1:#{name.object_id}" | |
name = "#{name}, welcome to the jungle." | |
puts "n2:#{name.object_id}" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bash-4.2$ git status | |
# On branch master | |
# Untracked files: | |
# (use "git add <file>..." to include in what will be committed) | |
# | |
# say_hi.rb | |
nothing added to commit but untracked files present (use "git add" to track) | |
-bash-4.2$ git commit -m 'Added say_hi.rb' | |
[master d59ea45] Added say_hi.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 1dd507ec8a3d761dea1ad13cf5a00008e29f4e90 | |
Author: Aaron Bartell <[email protected]> | |
Date: Tue Oct 7 07:51:42 2014 -0500 | |
Test whether pass-by-reference is true with object_id method call | |
commit d2e14ee138c1bd48a6d67d5e283697580f35ea35 | |
Author: Aaron Bartell <[email protected]> | |
Date: Tue Oct 7 07:50:52 2014 -0500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/jni/jffi/jffi.h b/jni/jffi/jffi.h | |
index d1f5274..5e67391 100644 | |
--- a/jni/jffi/jffi.h | |
+++ b/jni/jffi/jffi.h | |
@@ -65,6 +65,33 @@ extern "C" { | |
# define unlikely(x) (x) | |
#endif | |
+/* Do not move this. Some versions of AIX are very picky about where | |
+ this is positioned. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/jni/libffi/include/ffi_common.h b/jni/libffi/include/ffi_common.h | |
index d953762..8349909 100644 | |
--- a/jni/libffi/include/ffi_common.h | |
+++ b/jni/libffi/include/ffi_common.h | |
@@ -16,32 +16,7 @@ extern "C" { | |
#include <fficonfig.h> | |
-/* Do not move this. Some versions of AIX are very picky about where | |
- this is positioned. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bash-4.2$ ant jar | |
Buildfile: /home/aaron/git/jffi/build.xml | |
-pre-init: | |
-init-vars: | |
[mkdir] Created dir: /home/aaron/git/jffi/build/jni | |
-post-init: |
OlderNewer