ruby-pg 0.7.9.2008.01.28 → 0.8.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.
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
-