Sha256: 2727270a49536360cd8340510029b5b2bd12b58032a9c07fba71e052b13f5956

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

#ifndef SWIFT_RESULT_H
#define SWIFT_RESULT_H

#include "swift.h"

struct ResultWrapper {
  dbi::AbstractResult *result;
  VALUE adapter;
  bool free;
};

extern VALUE cSwiftResult;
extern VALUE cStringIO;

void init_swift_result();

void  result_free(ResultWrapper *);
void  result_mark(ResultWrapper *);

VALUE result_wrap_handle(VALUE, VALUE, dbi::AbstractResult *, bool free);
dbi::AbstractResult* result_handle(VALUE);

VALUE result_each(VALUE);

VALUE typecast_field(int, const char*, uint64_t);

#endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
swift-0.14.0 ext/result.h