Sha256: 4573b0164e449126b54d0fcc5edc7a82227f129961aa62c872e9b7bdbed77a5a

Contents?: true

Size: 706 Bytes

Versions: 1

Compression:

Stored size: 706 Bytes

Contents

#ifndef DS9_H
#define DS9_H

#include <ruby.h>
#include <nghttp2/nghttp2.h>

static const rb_data_type_t ds9_session_type = {
    "DS9/session",
    {0, (void (*)(void *))nghttp2_session_del, 0,},
    0, 0,
#ifdef RUBY_TYPED_FREE_IMMEDIATELY
    RUBY_TYPED_FREE_IMMEDIATELY,
#endif
};

static const rb_data_type_t ds9_callbacks_type = {
    "DS9/callbacks",
    {0, (void (*)(void *))nghttp2_session_callbacks_del, 0,},
    0, 0,
#ifdef RUBY_TYPED_FREE_IMMEDIATELY
    RUBY_TYPED_FREE_IMMEDIATELY,
#endif
};

void Init_ds9_client(VALUE mDS9, VALUE cDS9Session);
void Init_ds9_frames(VALUE mDS9);
VALUE WrapDS9Frame(const nghttp2_frame *frame);
VALUE WrapDS9FrameHeader(const nghttp2_frame_hd *hd);

#endif

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ds9-1.0.0 ext/ds9/ds9.h