Sha256: 46cfb137ef54f41b4fb3d38fc107376e18c554d52de37e638d6e8597fad0f96f

Contents?: true

Size: 699 Bytes

Versions: 4

Compression:

Stored size: 699 Bytes

Contents

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>

#include "ruby.h"
#include "rubyio.h"
#include "libpq-fe.h"
#include "libpq/libpq-fs.h"              /* large-object interface */

#include "compat.h"

#if RUBY_VM != 1
#define RUBY_18_COMPAT
#endif

#ifndef RARRAY_LEN
#define RARRAY_LEN(x) RARRAY((x))->len
#endif /* RARRAY_LEN */

#ifndef RSTRING_LEN
#define RSTRING_LEN(x) RSTRING((x))->len
#endif /* RSTRING_LEN */

#ifndef RSTRING_PTR
#define RSTRING_PTR(x) RSTRING((x))->ptr
#endif /* RSTRING_PTR */

#ifndef StringValuePtr
#define StringValuePtr(x) STR2CSTR(x)
#endif /* StringValuePtr */

#ifdef RUBY_18_COMPAT
#define rb_io_stdio_file GetWriteFile
#endif

void Init_pg(void);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pg-0.7.9.2008.08.17 ext/pg.h
pg-0.7.9.2008.10.05 ext/pg.h
pg-0.7.9.2008.03.18 ext/pg.h
pg-0.7.9.2008.10.13 ext/pg.h