bindings/ruby/rblm-private.c
author Mikael Hallendal <micke@imendio.com>
Thu, 10 Apr 2008 14:13:14 +0200
changeset 375 1f0f637e3ae8
parent 363 6d53af6c3227
permissions -rw-r--r--
Added LmProxyType to ruby bindings
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
363
6d53af6c3227 Cleaning up of the bindings for better checking
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     1
#include "rblm-private.h"
6d53af6c3227 Cleaning up of the bindings for better checking
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     2
6d53af6c3227 Cleaning up of the bindings for better checking
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     3
gboolean
6d53af6c3227 Cleaning up of the bindings for better checking
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     4
rb_lm__is_kind_of (VALUE object, VALUE klass)
6d53af6c3227 Cleaning up of the bindings for better checking
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     5
{
6d53af6c3227 Cleaning up of the bindings for better checking
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     6
	return RVAL2GBOOL (rb_obj_is_kind_of (object, klass));
6d53af6c3227 Cleaning up of the bindings for better checking
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     7
}
6d53af6c3227 Cleaning up of the bindings for better checking
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     8