Skip to main content

rb_data_define

Function rb_data_define 

Source
pub unsafe extern "C" fn rb_data_define(super_: VALUE, ...) -> VALUE
Expand description

Defines an anonymous data class.

@endinternal

§@param[in] super Superclass of the defining class. Must be a descendant of ::[rb_cData], or 0 as ::[rb_cData]. @param[in] … Arbitrary number of const char*, terminated by NULL. Each of which are the name of fields. @exception rb_eArgError Duplicated field name. @return The defined class.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.3.8