00001 #ifndef Exc_Ruby__check_ruby_type__hpp_
00002 #define Exc_Ruby__check_ruby_type__hpp_
00003
00004 #ident "$Id$"
00005
00006 namespace Exc_Ruby
00007 {
00008 void throw_type_error(VALUE value, VALUE klass);
00009 void raise_type_error(VALUE value, VALUE klass);
00010
00011 template<typename Type_Error_Thrower>
00012 void check_ruby_type(
00013 VALUE value,
00014 VALUE klass,
00015 bool include_super,
00016 Type_Error_Thrower type_error_thrower = throw_type_error);
00017 }
00018
00019 #include "check_ruby_type.ipp"
00020
00021 #endif // Exc_Ruby__check_ruby_type__hpp_
00022