Project

General

Profile

Actions

Feature #8264

closed

define struct under the given namespace

Added by nobu (Nobuyoshi Nakada) about 11 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
[ruby-core:54250]

Description

=begin
As commented in ((%struct.c%)), it's old style to define (({Struct::Foo})) automatically.

But there is no handy way to define a (({Struct})) under other namespaces, so I propose new C API to do it, (({rb_struct_define_under()})).
=end


Files

0001-struct.c-rb_struct_define_under.patch (3.89 KB) 0001-struct.c-rb_struct_define_under.patch nobu (Nobuyoshi Nakada), 04/13/2013 11:39 AM
Actions

Also available in: Atom PDF

Like0
Like0