Method: Zstdlib.zstd_version

Defined in:
ext/zstdlib_c/ruby/zlib-3.3/zstdlib.c

.zstd_versionObject

Returns the string which represents the version of zstd library.



379
380
381
382
383
384
385
386
# File 'ext/zstdlib_c/ruby/zlib-3.3/zstdlib.c', line 379

static VALUE 
rb_zstd_version(VALUE klass) 
{ 
    VALUE str; 
    str = rb_str_new2(ZSTD_versionString()); 
    OBJ_TAINT(str); 
    return str; 
}