Sha256: 05c598ba50f62e4d10fce76b3484a8807be4ff961909e8409cb3e90e8046aca6

Contents?: true

Size: 431 Bytes

Versions: 37

Compression:

Stored size: 431 Bytes

Contents

#ifndef MYSQL2_STATEMENT_H
#define MYSQL2_STATEMENT_H

extern VALUE cMysql2Statement;

typedef struct {
  VALUE client;
  MYSQL_STMT *stmt;
  int refcount;
  int closed;
} mysql_stmt_wrapper;

void init_mysql2_statement(void);
void decr_mysql2_stmt(mysql_stmt_wrapper *stmt_wrapper);

VALUE rb_mysql_stmt_new(VALUE rb_client, VALUE sql);
void rb_raise_mysql2_stmt_error(mysql_stmt_wrapper *stmt_wrapper) RB_MYSQL_NORETURN;

#endif

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
mysql2-0.4.10-x86-mswin32-60 ext/mysql2/statement.h
mysql2-0.4.10-x86-mingw32 ext/mysql2/statement.h
mysql2-0.4.10-x64-mingw32 ext/mysql2/statement.h
mysql2-0.4.10 ext/mysql2/statement.h
mysql2-0.4.9-x86-mswin32-60 ext/mysql2/statement.h
mysql2-0.4.9-x86-mingw32 ext/mysql2/statement.h
mysql2-0.4.9-x64-mingw32 ext/mysql2/statement.h
mysql2-0.4.9 ext/mysql2/statement.h
mysql2-0.4.8-x86-mswin32-60 ext/mysql2/statement.h
mysql2-0.4.8-x86-mingw32 ext/mysql2/statement.h
mysql2-0.4.8-x64-mingw32 ext/mysql2/statement.h
mysql2-0.4.8 ext/mysql2/statement.h
mysql2-0.4.7-x86-mswin32-60 ext/mysql2/statement.h
mysql2-0.4.7-x86-mingw32 ext/mysql2/statement.h
mysql2-0.4.7-x64-mingw32 ext/mysql2/statement.h
mysql2-0.4.7 ext/mysql2/statement.h
mysql2-0.4.6-x86-mswin32-60 ext/mysql2/statement.h
mysql2-0.4.6-x86-mingw32 ext/mysql2/statement.h
mysql2-0.4.6-x64-mingw32 ext/mysql2/statement.h
mysql2-0.4.6 ext/mysql2/statement.h