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

Version Path
coreaudio-0.0.12 ext/coreaudio/coreaudio_missing.c
coreaudio-0.0.11 ext/coreaudio_missing.c
coreaudio-0.0.10 ext/coreaudio_missing.c
coreaudio-0.0.9 ext/coreaudio_missing.c
coreaudio-0.0.8 ext/coreaudio_missing.c
coreaudio-0.0.7 ext/coreaudio_missing.c
coreaudio-0.0.6 ext/coreaudio_missing.c
coreaudio-0.0.5 ext/coreaudio_missing.c
coreaudio-0.0.4 ext/coreaudio_missing.c
coreaudio-0.0.3 ext/coreaudio_missing.c