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.tar.gz.sig +0 -0
- data/History.txt +9 -0
- data/Manifest.txt +5 -0
- data/README.txt +21 -0
- data/Rakefile +21 -0
- data/lib/ruby/pg.rb +16 -0
- metadata +190 -48
- metadata.gz.sig +0 -0
- data/COPYING +0 -340
- data/COPYING.txt +0 -340
- data/Contributors +0 -28
- data/GPL +0 -340
- data/LICENSE +0 -58
- data/README +0 -125
- data/ext/compat.c +0 -529
- data/ext/compat.h +0 -176
- data/ext/extconf.rb +0 -80
- data/ext/pg.c +0 -3251
- data/ext/pg.h +0 -34
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
|
-
|