Sha256: b03b0f4e7eaa706c374af22be62016249be801c0097974a7d3758887a5c9faf0

Contents?: true

Size: 658 Bytes

Versions: 4

Compression:

Stored size: 658 Bytes

Contents

#ifndef MYSQL2_EXT
#define MYSQL2_EXT

#include <ruby.h>
#include <fcntl.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

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

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

#endif

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
mysql2_bigint-0.2.6.1 ext/mysql2/mysql2_ext.h
ghazel-mysql2-0.2.6.3 ext/mysql2/mysql2_ext.h
ghazel-mysql2-0.2.6.2 ext/mysql2/mysql2_ext.h
ghazel-mysql2-0.2.6.1 ext/mysql2/mysql2_ext.h