ruby-pg 0.7.9.2008.01.28 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/ext/pg.h DELETED
@@ -1,34 +0,0 @@
1
- #include <stdio.h>
2
- #include <stdlib.h>
3
- #include <sys/types.h>
4
- #include <unistd.h>
5
-
6
- #include "ruby.h"
7
- #include "rubyio.h"
8
- #include "libpq-fe.h"
9
- #include "libpq/libpq-fs.h" /* large-object interface */
10
-
11
- #include "compat.h"
12
-
13
- #if RUBY_VERSION_CODE < 180
14
- #define rb_check_string_type(x) rb_check_convert_type(x, T_STRING, "String", "to_str")
15
- #endif /* RUBY_VERSION_CODE < 180 */
16
-
17
- #ifndef RARRAY_LEN
18
- #define RARRAY_LEN(x) RARRAY((x))->len
19
- #endif /* RARRAY_LEN */
20
-
21
- #ifndef RSTRING_LEN
22
- #define RSTRING_LEN(x) RSTRING((x))->len
23
- #endif /* RSTRING_LEN */
24
-
25
- #ifndef RSTRING_PTR
26
- #define RSTRING_PTR(x) RSTRING((x))->ptr
27
- #endif /* RSTRING_PTR */
28
-
29
- #ifndef StringValuePtr
30
- #define StringValuePtr(x) STR2CSTR(x)
31
- #endif /* StringValuePtr */
32
-
33
- void Init_pg(void);
34
-