Sha256: ce7a54b533b891eca8cbbeaed4473670e319910d5c65ffe9c12257be56ec3a24

Contents?: true

Size: 437 Bytes

Versions: 5

Compression:

Stored size: 437 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;
  long 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

5 entries across 5 versions & 1 rubygems

Version Path
mysql2-0.2.6 ext/mysql2/result.h
mysql2-0.2.6-x86-mswin32-60 ext/mysql2/result.h
mysql2-0.2.6-x86-mingw32 ext/mysql2/result.h
mysql2-0.2.5 ext/mysql2/result.h
mysql2-0.2.4 ext/mysql2/result.h