rjb 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/ChangeLog +6 -0
  2. data/ext/extconf.h +2 -2
  3. data/ext/rjb.c +2 -3
  4. data/ext/rjb.h +4 -1
  5. metadata +3 -3
data/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
+ Fri Jun 5 arton
2
+ *ext/rjb.h
3
+ defin HAVE_LONG_LONG if no HAVE_LONG_LONG but LP64
4
+ *ext/rjb.c
5
+ remove unused variables
6
+ RJB_VERSION -> 1.2.4
1
7
  Fri Jun 4 arton
2
8
  *ext/riconv.c
3
9
  remove unused function if build with Ruby 1.9
@@ -1,9 +1,9 @@
1
1
  #ifndef EXTCONF_H
2
2
  #define EXTCONF_H
3
3
  #define HAVE_JNI_H 1
4
- #define HAVE_DL_H 1
4
+ #define HAVE_RUBY_DL_H 1
5
5
  #define HAVE_NL_LANGINFO 1
6
6
  #define HAVE_SETLOCALE 1
7
7
  #define HAVE_GETENV 1
8
- #define RJB_RUBY_VERSION_CODE 187
8
+ #define RJB_RUBY_VERSION_CODE 191
9
9
  #endif
data/ext/rjb.c CHANGED
@@ -12,10 +12,10 @@
12
12
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
13
  * Lesser General Public License for more details.
14
14
  *
15
- * $Id: rjb.c 119 2010-06-04 12:51:34Z arton $
15
+ * $Id: rjb.c 122 2010-06-05 03:08:29Z arton $
16
16
  */
17
17
 
18
- #define RJB_VERSION "1.2.3"
18
+ #define RJB_VERSION "1.2.4"
19
19
 
20
20
  #include "ruby.h"
21
21
  #include "extconf.h"
@@ -2270,7 +2270,6 @@ static VALUE rjb_class_eval(int argc, VALUE* argv, VALUE self)
2270
2270
  */
2271
2271
  static VALUE rjb_s_unbind(VALUE self, VALUE rbobj)
2272
2272
  {
2273
- JNIEnv* jenv = rjb_prelude();
2274
2273
  #if defined(RUBINIUS)
2275
2274
  return rb_funcall(proxies, rb_intern("delete"), 1, rbobj);
2276
2275
  #else
data/ext/rjb.h CHANGED
@@ -12,7 +12,7 @@
12
12
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
13
  * Lesser General Public License for more details.
14
14
  *
15
- * $Id: rjb.h 81 2008-08-26 12:44:44Z arton $
15
+ * $Id: rjb.h 120 2010-06-05 03:02:06Z arton $
16
16
  * $Log: rjb.h,v $
17
17
  * Revision 1.1 2005/01/16 17:36:10 arton
18
18
  * Initial revision
@@ -53,6 +53,9 @@
53
53
  #define _I64_MAX 9223372036854775807i64
54
54
  #endif
55
55
 
56
+ #if !defined(HAVE_LONG_LONG) && defined(__LP64__)
57
+ #define HAVE_LONG_LONG 1
58
+ #endif
56
59
 
57
60
  /* in load.c */
58
61
  extern int rjb_create_jvm(JNIEnv** pjenv, JavaVMInitArgs*, char*, VALUE);
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 3
10
- version: 1.2.3
9
+ - 4
10
+ version: 1.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - arton