/* call-seq: * Context.new() -> context * * The constructor creates and activates the context */ static VALUE Context_New( VALUE aKlass ) { sf::Context *object = new sf::Context(); VALUE rbData = Data_Wrap_Struct( aKlass, 0, Context_Free, object ); rb_obj_call_init( rbData, 0, 0 ); return rbData; }