Sha256: 71702890939151606bd5850c2c08fb84158aa21748609fdbb44d4324849d55de
Contents?: true
Size: 902 Bytes
Versions: 13
Compression:
Stored size: 902 Bytes
Contents
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #ifdef RUBY_EXTCONF_H #include RUBY_EXTCONF_H #endif #ifdef HAVE_UNISTD_H # include <unistd.h> #endif /* HAVE_UNISTD_H */ #include "ruby.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 #include "rubyio.h" #else #include "ruby/io.h" #endif #if defined(_WIN32) __declspec(dllexport) #endif void Init_pg_ext(void);
Version data entries
13 entries across 13 versions & 3 rubygems