Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: dad083982c
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (18 sloc) 0.51 kB
#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
Jump to Line
Something went wrong with that request. Please try again.