Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.612 kb
/*
* MacRuby BridgeSupport implementation.
*
* This file is covered by the Ruby license. See COPYING for more details.
*
* Copyright (C) 2007-2009, Apple Inc. All rights reserved.
*/
#ifndef __BRIDGESUPPORT_H_
#define __BRIDGESUPPORT_H_
#if defined(__cplusplus)
#include "bs.h"
typedef struct rb_vm_bs_boxed {
bs_element_type_t bs_type;
bool is_struct(void) { return bs_type == BS_ELEMENT_STRUCT; }
union {
bs_element_struct_t *s;
bs_element_opaque_t *o;
void *v;
} as;
Type *type;
VALUE klass;
} rb_vm_bs_boxed_t;
#endif /* __cplusplus */
#endif /* __BRIDGESUPPORT_H_ */
Jump to Line
Something went wrong with that request. Please try again.