Skip to content

Instantly share code, notes, and snippets.

@drbrain

drbrain/async.rb Secret

Created March 17, 2016 01:30
Show Gist options
  • Save drbrain/b28ea46f263d065cc321 to your computer and use it in GitHub Desktop.
Save drbrain/b28ea46f263d065cc321 to your computer and use it in GitHub Desktop.
class Xmms::Collection::Async
end
void
Init_Collection()
{
mXmms = rb_define_module("Xmms");
cColl = rb_define_class_under(mXmms, "Collection", rb_cObject);
/* Document-const: Xmms::Collection::NS_ALL
*
* I am documentation */
rb_define_const(cColl, "NS_ALL", rb_str_new2(XMMS_COLLECTION_NS_ALL));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment