Sha256: 6a2b7444b2595d50173fe42d556aa36b604f51f5d202b3ad621d929461281b07

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

#ifndef MYSQL2_STATEMENT_H
#define MYSQL2_STATEMENT_H

extern VALUE cMysql2Statement;

typedef struct {
  VALUE client;
  MYSQL_STMT *stmt;
  int refcount;
} 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

4 entries across 4 versions & 1 rubygems

Version Path
mysql2-0.4.1 ext/mysql2/statement.h
mysql2-0.4.1-x64-mingw32 ext/mysql2/statement.h
mysql2-0.4.1-x86-mingw32 ext/mysql2/statement.h
mysql2-0.4.1-x86-mswin32-60 ext/mysql2/statement.h