Sha256: 8969e129ff62664a91117df86dd9a8b7c35116cfe11c8e9211ced1349c08265d

Contents?: true

Size: 445 Bytes

Versions: 4

Compression:

Stored size: 445 Bytes

Contents

#ifndef MYSQL2_RESULT_H
#define MYSQL2_RESULT_H

void init_mysql2_result();
VALUE rb_mysql_result_to_obj(MYSQL_RES * r);

typedef struct {
  VALUE fields;
  VALUE rows;
  VALUE encoding;
  unsigned int numberOfFields;
  unsigned long numberOfRows;
  unsigned long lastRowProcessed;
  short int resultFreed;
  MYSQL_RES *result;
} mysql2_result_wrapper;

#define GetMysql2Result(obj, sval) (sval = (mysql2_result_wrapper*)DATA_PTR(obj));

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mysql2-0.2.3 ext/mysql2/result.h
mysql2-0.2.2 ext/mysql2/result.h
mysql2-0.2.1 ext/mysql2/result.h
mysql2-0.2.0 ext/mysql2/result.h