Sha256: 1ae00ac93c7f26c34981e401ec1035989e17e69adc1884f7058a0c0d863174de

Contents?: true

Size: 914 Bytes

Versions: 24

Compression:

Stored size: 914 Bytes

Contents

#ifndef MYSQL2_EXT
#define MYSQL2_EXT

/* tell rbx not to use it's caching compat layer
   by doing this we're making a promise to RBX that
   we'll never modify the pointers we get back from RSTRING_PTR */
#define RSTRING_NOT_MODIFIED
#include <ruby.h>

#ifndef HAVE_UINT
#define HAVE_UINT
typedef unsigned short    ushort;
typedef unsigned int    uint;
#endif

#ifdef HAVE_MYSQL_H
#include <mysql.h>
#include <mysql_com.h>
#include <errmsg.h>
#include <mysqld_error.h>
#else
#include <mysql/mysql.h>
#include <mysql/mysql_com.h>
#include <mysql/errmsg.h>
#include <mysql/mysqld_error.h>
#endif

#ifdef HAVE_RUBY_ENCODING_H
#include <ruby/encoding.h>
#endif
#ifdef HAVE_RUBY_THREAD_H
#include <ruby/thread.h>
#endif

#if defined(__GNUC__) && (__GNUC__ >= 3)
#define RB_MYSQL_UNUSED __attribute__ ((unused))
#else
#define RB_MYSQL_UNUSED
#endif

#include <client.h>
#include <result.h>
#include <infile.h>

#endif

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
mysql2-0.3.21-x86-mswin32-60 ext/mysql2/mysql2_ext.h
mysql2-0.3.21-x86-mingw32 ext/mysql2/mysql2_ext.h
mysql2-0.3.21-x64-mingw32 ext/mysql2/mysql2_ext.h
mysql2-0.3.21 ext/mysql2/mysql2_ext.h
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/mysql2-0.3.20/ext/mysql2/mysql2_ext.h
mysql2-0.3.20-x86-mswin32-60 ext/mysql2/mysql2_ext.h
mysql2-0.3.20-x86-mingw32 ext/mysql2/mysql2_ext.h
mysql2-0.3.20-x64-mingw32 ext/mysql2/mysql2_ext.h
mysql2-0.3.20 ext/mysql2/mysql2_ext.h
mysql2-0.3.19-x86-mswin32-60 ext/mysql2/mysql2_ext.h
mysql2-0.3.19-x86-mingw32 ext/mysql2/mysql2_ext.h
mysql2-0.3.19-x64-mingw32 ext/mysql2/mysql2_ext.h
mysql2-0.3.19 ext/mysql2/mysql2_ext.h
solidus_backend-1.0.0.pre3 vendor/bundle/gems/mysql2-0.3.18/ext/mysql2/mysql2_ext.h
solidus_backend-1.0.0.pre2 vendor/bundle/gems/mysql2-0.3.18/ext/mysql2/mysql2_ext.h
solidus_backend-1.0.0.pre vendor/bundle/gems/mysql2-0.3.18/ext/mysql2/mysql2_ext.h
mysql2-0.3.18-x64-mingw32 ext/mysql2/mysql2_ext.h
mysql2-0.3.18-x86-mswin32-60 ext/mysql2/mysql2_ext.h
mysql2-0.3.18-x86-mingw32 ext/mysql2/mysql2_ext.h
mysql2-0.3.18 ext/mysql2/mysql2_ext.h