shapes 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/shapes/safileio.c +2 -1
- data/lib/shapes/version.rb +1 -1
- metadata +1 -1
data/ext/shapes/safileio.c
CHANGED
@@ -64,6 +64,7 @@
|
|
64
64
|
#include <stdlib.h>
|
65
65
|
#include <string.h>
|
66
66
|
#include <stdio.h>
|
67
|
+
#include <ruby.h>
|
67
68
|
|
68
69
|
SHP_CVSID("$Id: safileio.c,v 1.4 2008-01-16 20:05:14 bram Exp $");
|
69
70
|
|
@@ -165,7 +166,7 @@ int SADRemove( const char *filename )
|
|
165
166
|
void SADError( const char *message )
|
166
167
|
|
167
168
|
{
|
168
|
-
|
169
|
+
rb_raise(rb_eIOError,message);
|
169
170
|
}
|
170
171
|
|
171
172
|
/************************************************************************/
|
data/lib/shapes/version.rb
CHANGED