ncursesw 1.2.4.1 → 1.2.4.2

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 (5) hide show
  1. data/compat.h +8 -0
  2. data/form_wrap.c +1 -0
  3. data/ncurses_wrap.c +1 -0
  4. data/panel_wrap.c +1 -0
  5. metadata +5 -4
@@ -0,0 +1,8 @@
1
+ #ifndef _COMPAT_H
2
+ #define _COMPAT_H
3
+
4
+ #ifndef STR2CSTR
5
+ #define STR2CSTR(x) ({ VALUE *y = (x); StringValuePtr(y); })
6
+ #endif
7
+
8
+ #endif
@@ -29,6 +29,7 @@
29
29
 
30
30
  #include "form_wrap.h"
31
31
  #include "ncurses_wrap.h"
32
+ #include "compat.h"
32
33
 
33
34
  VALUE mForm;
34
35
  VALUE cFIELD;
@@ -65,6 +65,7 @@
65
65
  */
66
66
 
67
67
  #include "ncurses_wrap.h"
68
+ #include "compat.h"
68
69
  #ifdef HAVE_LOCALE_H
69
70
  #include <locale.h>
70
71
  #endif
@@ -23,6 +23,7 @@
23
23
 
24
24
  #include "panel_wrap.h"
25
25
  #include "ncurses_wrap.h"
26
+ #include "compat.h"
26
27
 
27
28
  VALUE mPanel;
28
29
  VALUE cPANEL;
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ncursesw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4.1
4
+ version: 1.2.4.2
5
5
  platform: ruby
6
6
  authors: []
7
7
 
8
8
  autorequire:
9
9
  bindir:
10
10
  cert_chain:
11
- date: 2009-12-31 18:27:27 -08:00
11
+ date: 2010-11-9 13:45:50 -08:00
12
12
  default_executable:
13
13
  dependencies: []
14
14
 
15
- description: Hacked up version of ncurses gem that supports wide characters and ruby1.9.1. Original ncurses gem by t-peters@users.berlios.de.
15
+ description: Hacked up version of ncurses gem that supports wide characters and ruby1.9.2. Original ncurses gem by t-peters@users.berlios.de.
16
16
  email: lanerl@gmail.com
17
17
  executables: []
18
18
 
@@ -48,6 +48,7 @@ files:
48
48
  - panel_wrap.h
49
49
  - menu_wrap.c
50
50
  - menu_wrap.h
51
+ - compat.h
51
52
  has_rdoc: true
52
53
  homepage: http://ncurses-ruby.berlios.de/
53
54
  licenses: []
@@ -72,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
73
  requirements: []
73
74
 
74
75
  rubyforge_project:
75
- rubygems_version: 1.3.5
76
+ rubygems_version: 1.3.7
76
77
  signing_key:
77
78
  specification_version: -1
78
79
  summary: "This wrapper provides access to the functions, macros, global variables and constants of the ncurses library. These are mapped to a Ruby Module named \"Ncurses\": Functions and external variables are implemented as singleton functions of the Module Ncurses."