rua 0.3.9 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/ext/rua.c +5 -5
  2. metadata +3 -3
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.3.9"
24
+ #define VERSION "0.4.0"
25
25
  #define REF_RBOBJ "self"
26
26
 
27
27
  #define ICONV_JIS "ISO-2022-JP"
@@ -189,10 +189,10 @@ static void rua_free(struct rua *p) {
189
189
  }
190
190
 
191
191
  if (p->R) {
192
- free(p->R);
192
+ xfree(p->R);
193
193
  }
194
194
 
195
- free(p);
195
+ xfree(p);
196
196
  }
197
197
 
198
198
  /**
@@ -523,10 +523,10 @@ static void rua_ref_free(struct rua_ref *p) {
523
523
  //luaL_unref(p->L, LUA_REGISTRYINDEX, p->ref);
524
524
 
525
525
  if (p->R) {
526
- free(p->R);
526
+ xfree(p->R);
527
527
  }
528
528
 
529
- free(p);
529
+ xfree(p);
530
530
  }
531
531
 
532
532
  // ------------------------------------------------------------------
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.3.9
4
+ version: 0.4.0
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: 2007-12-28 00:00:00 +09:00
12
+ date: 2008-01-09 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  version:
50
50
  requirements: []
51
51
 
52
- rubyforge_project:
52
+ rubyforge_project: rua
53
53
  rubygems_version: 1.0.1
54
54
  signing_key:
55
55
  specification_version: 2