Sha256: cfc1a7bd0519142918df69a9d42b897eafa597e5bad014ad01a0ea0d6ccfc839

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

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


#include <rucy/module.h>


namespace Rucy
{


	class Class : public Module
	{

		typedef Module Super;

		public:

			Class (VALUE v = Qnil);

			Class define_alloc_func (RubyFunction0 fun);

			Class define_alloc_func (const char* name, RubyFunction0 fun);
			// for RUBY_METHOD macro

	};// Class


	Class define_class (const char* name, Value super = rb_cObject);


}// Rucy


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rucy-0.1.2 include/rucy/class.h
rucy-0.1.1 include/rucy/class.h
rucy-0.1.0 include/rucy/class.h