Skip to content

Instantly share code, notes, and snippets.

View aaronbartell's full-sized avatar
🥓
Happy

Aaron Bartell aaronbartell

🥓
Happy
View GitHub Profile
D INCHARA S 1a
D INDEC1 S 7p 4
C *Entry PLIST
C PARM INCHARA
C PARM INDEC1
/free
INCHARA = 'C';
INDEC1 = 321.1234;
NULL ------------------------------------------------------------------------
0SECTION TITLE subcomponent dump routine
NULL ===============================
1TISIGINFO Dump Event "gpf" (00002000) received
1TIDATETIME Date: 2014/10/08 at 10:48:04
1TIFILENAME Javacore filename: /home/aaron/git/jffi/javacore.20141008.104647.7384.0002.txt
1TIREQFLAGS Request Flags: 0x81 (exclusive+preempt)
1TIPREPSTATE Prep State: 0x100 ()
1TIPREPINFO Exclusive VM access not taken: data may not be consistent across javacore sections
NULL ------------------------------------------------------------------------
-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:
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. */
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. */
commit 1dd507ec8a3d761dea1ad13cf5a00008e29f4e90
Author: Aaron Bartell <aaronbartell@gmail.com>
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 <aaronbartell@gmail.com>
Date: Tue Oct 7 07:50:52 2014 -0500
-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
module Talk
def self.hi name
puts "n1:#{name.object_id}"
name = "#{name}, welcome to the jungle."
puts "n2:#{name.object_id}"
end
end
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'
def say_hi name
puts "hi #{name}"
end
say_hi "Aaron"