rua 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/rua.c +3 -3
  2. metadata +2 -2
data/ext/rua.c CHANGED
@@ -21,7 +21,7 @@ __declspec(dllexport) void Init_rua(void);
21
21
 
22
22
  #include "rua.h"
23
23
 
24
- #define VERSION "0.4.1"
24
+ #define VERSION "0.4.2"
25
25
  #define REF_RBOBJ "self"
26
26
 
27
27
  #define ICONV_JIS "ISO-2022-JP"
@@ -894,7 +894,7 @@ static int rua_is_rbobj(lua_State *L, int idx) {
894
894
  lua_pushvalue(L, idx);
895
895
  tblidx = lua_gettop(L);
896
896
  lua_pushstring(L, REF_RBOBJ);
897
- lua_rawget(L, tblidx);
897
+ lua_gettable(L, tblidx);
898
898
  is_rbobj = lua_islightuserdata(L, -1);
899
899
  lua_pop(L, 2);
900
900
  return is_rbobj;
@@ -907,7 +907,7 @@ static VALUE rua_torbobj(lua_State *L, int idx) {
907
907
  lua_pushvalue(L, idx);
908
908
  tblidx = lua_gettop(L);
909
909
  lua_pushstring(L, REF_RBOBJ);
910
- lua_rawget(L, tblidx);
910
+ lua_gettable(L, tblidx);
911
911
  rbobj = (VALUE) lua_touserdata(L, -1);
912
912
  lua_pop(L, 2);
913
913
  return rbobj;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rua
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-03-09 00:00:00 +09:00
12
+ date: 2008-03-28 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15