Sha256: a2b1be765ba7aca4b11e781aa291ced9c432b2c2a7cff765dd7aeb7288a42c08

Contents?: true

Size: 399 Bytes

Versions: 21

Compression:

Stored size: 399 Bytes

Contents

#ifndef MYSQL2_STATEMENT_H
#define MYSQL2_STATEMENT_H

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

21 entries across 20 versions & 2 rubygems

Version Path
mysql2-0.5.0 ext/mysql2/statement.h