xlib 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/xlib/functions.rb +4 -2
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fd5b4e4316670f77569d981aa5a52f09110598e
4
- data.tar.gz: cffb08d2b38925dc4766afab6e8da1ab6cdd904f
3
+ metadata.gz: f9f37fccbfd0027a0b82046c6e05bd5aecaf899e
4
+ data.tar.gz: c0a1fc68013477c41e1d9746e4d419627444daa4
5
5
  SHA512:
6
- metadata.gz: 2217888ccb8852bc5e57c2b9d71d75c7454a1473a4d33e229e6e4cb3d0cc94b77ccf5c87980fcc0f187ad450dc6d0c8615afccc059253f02bb4846aa1fc73523
7
- data.tar.gz: 6dacd5c6dc735c90fe684d43907ff385fe770eba9c802e14cf13a3f2d40f28e5f3decba01aa765f025ad59cfd1937eb7819185289463c8f321d70a264b8dfc6c
6
+ metadata.gz: 9e3798c376862f869ccf68e39b7674978ff1fecffd69f8a7c301b22a7c452ccc5cda7c6557faf88052bf2c9268e55ed426e64fabe335856072fd0266a7759cef
7
+ data.tar.gz: e574b38cf948dee7ab0a4bf558c96698666408789c57fadf19c43fbb25dbff72bef7925bdc97efe8a1955387de96490c3efa23b1826177c3652573a813182202
@@ -121,8 +121,10 @@ attach_function :XDefaultScreenOfDisplay, [:pointer], :pointer
121
121
  attach_function :XEventMaskOfScreen, [:pointer], :long
122
122
  attach_function :XScreenNumberOfScreen, [:pointer], :int
123
123
 
124
- attach_function :XSetErrorHandler, [:pointer], :pointer
125
- attach_function :XSetIOErrorHandler, [:pointer], :pointer
124
+ callback :error_handler, [:pointer, :pointer], :int
125
+ attach_function :XSetErrorHandler, [:error_handler], :pointer
126
+ callback :io_error_handler, [:pointer], :int
127
+ attach_function :XSetIOErrorHandler, [:io_error_handler], :pointer
126
128
 
127
129
  attach_function :XListPixmapFormats, [:pointer, :pointer], :pointer
128
130
  attach_function :XListDepths, [:pointer, :int, :pointer], :pointer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Aue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2015-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.9'
27
- description: Speak with X11 using ruby.
27
+ description: Talk to X11 using ruby.
28
28
  email: mail@christopheraue.net
29
29
  executables: []
30
30
  extensions: []
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  requirements: []
159
159
  rubyforge_project:
160
- rubygems_version: 2.2.2
160
+ rubygems_version: 2.4.5
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Interface to Xlib and its Xrender and Xrandr extensions