Sha256: ffe98d38acf922fe5aa053284243552c56847528ebbcb2ec3dcfd0a1d23094c3

Contents?: true

Size: 440 Bytes

Versions: 45

Compression:

Stored size: 440 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;
  char resultFreed;
  MYSQL_RES *result;
} mysql2_result_wrapper;

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

#endif

Version data entries

45 entries across 45 versions & 7 rubygems

Version Path
mysql2-0.2.7 ext/mysql2/result.h
mysql2_bigint-0.2.6.1 ext/mysql2/result.h
ghazel-mysql2-0.2.6.3 ext/mysql2/result.h
ghazel-mysql2-0.2.6.2 ext/mysql2/result.h
ghazel-mysql2-0.2.6.1 ext/mysql2/result.h