瀏覽代碼

Prevent Init_caca from being hidden

main
Pascal Terjan 4 天之前
父節點
當前提交
04f511940a
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      ruby/caca.c

+ 3
- 0
ruby/caca.c 查看文件

@@ -24,6 +24,9 @@ static VALUE get_version(VALUE self)
return rb_str_new2(caca_get_version());
}

#if defined CACA_ENABLE_VISIBILITY
extern __attribute__((visibility("default")))
#endif
void Init_caca()
{
VALUE mCaca = rb_define_module("Caca");


Loading…
取消
儲存