Sha256: bbc716be6184e2bab6e78b01078239f4ace94624cc73ddf18d465ddd627989ef

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

#include <lsmmisc.h>

char *
lsm_g_string_free_and_steal (GString *string)
{
#if GLIB_CHECK_VERSION(2,75,4)
        return g_string_free_and_steal(string);
#else
        char *buffer = string->str;

        g_string_free (string, FALSE);

        return buffer;
#endif
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mathematical-1.6.20 ext/mathematical/lasem/src/lsmmisc.c
mathematical-1.6.18 ext/mathematical/lasem/src/lsmmisc.c