Sha256: 3deeedde0eb8b9e21c6178ae164aeb25a913fb060ae83af0a250ca50f1678515
Contents?: true
Size: 378 Bytes
Versions: 10
Compression:
Stored size: 378 Bytes
Contents
#include "ruby.h" #include "coreaudio.h" #ifndef HAVE_RB_ALLOC_TMP_BUFFER void * rb_alloc_tmp_buffer(volatile VALUE *store, long len) { VALUE s = rb_str_tmp_new(len); *store = s; return RSTRING_PTR(s); } #endif #ifndef HAVE_RB_FREE_TMP_BUFFER void rb_free_tmp_buffer(volatile VALUE *store) { VALUE s = *store; *store = 0; if (s) rb_str_clear(s); } #endif
Version data entries
10 entries across 10 versions & 1 rubygems