Sha256: 754a339158615f803868e5a9249a3438222338d18841071b8d3a6d2c21425e76

Contents?: true

Size: 911 Bytes

Versions: 1

Compression:

Stored size: 911 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __BEEPS_RUBY_GENERATOR_H__
#define __BEEPS_RUBY_GENERATOR_H__


#include <rucy/class.h>
#include <rucy/extension.h>
#include <beeps/generator.h>


RUCY_DECLARE_WRAPPER_VALUE_FROM_TO(BEEPS_EXPORT, Beeps::Oscillator)

RUCY_DECLARE_WRAPPER_VALUE_FROM_TO(BEEPS_EXPORT, Beeps::FileIn)


namespace Beeps
{


	BEEPS_EXPORT Rucy::Class oscillator_class ();
	// class Beeps::Oscillator

	BEEPS_EXPORT Rucy::Class file_in_class ();
	// class Beeps::FileIn

	BEEPS_EXPORT Rucy::Class mic_in_class ();
	// class Beeps::MicIn


}// Beeps


namespace Rucy
{


	template <> inline Class
	get_ruby_class<Beeps::Oscillator> ()
	{
		return Beeps::oscillator_class();
	}

	template <> inline Class
	get_ruby_class<Beeps::FileIn> ()
	{
		return Beeps::file_in_class();
	}

	template <> inline Class
	get_ruby_class<Beeps::MicIn> ()
	{
		return Beeps::mic_in_class();
	}


}// Rucy


#endif//EOH

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beeps-0.3 include/beeps/ruby/generator.h