Sha256: 3fb82ea96b60df443c8e734e81bb99590d595fdab209b08a516583a31ef20470

Contents?: true

Size: 445 Bytes

Versions: 4

Compression:

Stored size: 445 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 decr_mysql2_stmt(mysql_stmt_wrapper *stmt_wrapper);

VALUE rb_mysql_stmt_new(VALUE rb_client, VALUE sql);
VALUE rb_raise_mysql2_stmt_error2(MYSQL_STMT *stmt
#ifdef HAVE_RUBY_ENCODING_H
  , rb_encoding* conn_enc
#endif
  );

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

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