Sha256: 10ea47e281ea77f8edd79295a817ab216c6a271163fb244f12aa9f83c5ba4294

Contents?: true

Size: 1.37 KB

Versions: 32

Compression:

Stored size: 1.37 KB

Contents

/* -*- c-file-style: "gnu"; indent-tabs-mode: nil -*- */
/*
 * Ruby Cairo Binding
 *
 * Copyright 2005-2010 Kouhei Sutou <kou@cozmixng.org>
 *
 * This file is made available under the same terms as Ruby
 *
*/

#ifndef RB_CAIRO_IO_H
#define RB_CAIRO_IO_H

#include <rb_cairo.h>

typedef struct rb_cairo__io_callback_closure {
  VALUE target;
  VALUE error;
  unsigned char *data;
  unsigned int length;
} rb_cairo__io_callback_closure_t;

typedef struct rb_cairo__io_invoke_data {
  cr_callback_func_t func;
  VALUE data;
} rb_cairo__io_invoke_data_t;

RB_CAIRO_VAR ID rb_cairo__io_id_read;
RB_CAIRO_VAR ID rb_cairo__io_id_write;
RB_CAIRO_VAR ID rb_cairo__io_id_output;

rb_cairo__io_callback_closure_t *
               rb_cairo__io_closure_new     (VALUE                target);
void           rb_cairo__io_closure_destroy (rb_cairo__io_callback_closure_t *closure);
void           rb_cairo__io_closure_free    (void                *closure);
cairo_status_t rb_cairo__io_write_func      (void                *write_closure,
                                             const unsigned char *data,
                                             unsigned int         length);
cairo_status_t rb_cairo__io_read_func       (void                *read_closure,
                                             unsigned char       *data,
                                             unsigned int         length);


#endif

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
cairo-1.14.1-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.14.1-x64-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.14.1 ext/cairo/rb_cairo_io.h
cairo-1.14.0-x64-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.14.0-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.14.0 ext/cairo/rb_cairo_io.h
cairo-1.12.9-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.12.9 ext/cairo/rb_cairo_io.h
cairo-1.12.8-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.12.8 ext/cairo/rb_cairo_io.h
cairo-1.12.7-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.12.7 ext/cairo/rb_cairo_io.h
cairo-1.12.6-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.12.6 ext/cairo/rb_cairo_io.h
cairo-1.12.5-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.12.5 ext/cairo/rb_cairo_io.h
cairo-1.12.4-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.12.4 ext/cairo/rb_cairo_io.h
cairo-1.12.3-x86-mingw32 ext/cairo/rb_cairo_io.h
cairo-1.12.3 ext/cairo/rb_cairo_io.h