Sha256: 5c67405180e9df3d69b978f68c06e57dcf8dc3d2bcb160acc2065bbff3a95e46

Contents?: true

Size: 1.09 KB

Versions: 168

Compression:

Stored size: 1.09 KB

Contents

/*
 * Copyright (c) 2009, Wayne Meissner
 *
 * This file is part of ruby-ffi.
 *
 * This code is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License version 3 only, as
 * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
 * version 3 for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with this work.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef RBFFI_TYPE_H
#define	RBFFI_TYPE_H

#include <ruby.h>
#include <ffi.h>

#ifdef	__cplusplus
extern "C" {
#endif

typedef struct Type_ Type;

#include "Types.h"
    
struct Type_ {
    NativeType nativeType;
    ffi_type* ffiType;
};

extern VALUE rbffi_TypeClass;
extern VALUE rbffi_Type_Lookup(VALUE type);
extern VALUE rbffi_Type_Find(VALUE type);

#ifdef	__cplusplus
}
#endif

#endif	/* RBFFI_TYPE_H */

Version data entries

168 entries across 168 versions & 14 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/Type.h
classiccms-0.7.4 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/Type.h
classiccms-0.7.3 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/Type.h
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/ffi-1.9.0/ext/ffi_c/Type.h
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.h
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/ffi-1.9.0/ext/ffi_c/Type.h
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.h
classiccms-0.7.2 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/Type.h
classiccms-0.7.1 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/Type.h
ffi-1.9.0-x86-mingw32 ext/ffi_c/Type.h
ffi-1.9.0 ext/ffi_c/Type.h
classiccms-0.7.0 vendor/bundle/gems/ffi-1.0.11/ext/ffi_c/Type.h
vagrant-shell-0.2.6 vendor/bundle/gems/ffi-1.8.1/ext/ffi_c/Type.h
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.h
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/Type.h
vagrant-shell-0.2.5 vendor/bundle/gems/ffi-1.8.1/ext/ffi_c/Type.h
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/ffi-1.3.1/ext/ffi_c/Type.h
ffi-1.8.1-x86-mingw32 ext/ffi_c/Type.h
ffi-1.8.1 ext/ffi_c/Type.h
ffi-1.7.0-x86-mingw32 ext/ffi_c/Type.h