Sha256: a97d359f79f885b40cc71bd4d732a6572c731385916e9e198f5ee04c9245b0c7

Contents?: true

Size: 199 Bytes

Versions: 8

Compression:

Stored size: 199 Bytes

Contents

#include <wctype.h>

static const unsigned char table[] = {
#include "punct.h"
};

int iswpunct(wint_t wc)
{
	if (wc<0x20000U)
		return (table[table[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1;
	return 0;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webruby-0.2.7 modules/emscripten/system/lib/libc/musl/src/ctype/iswpunct.c
webruby-0.2.5 modules/emscripten/system/lib/libc/musl/src/ctype/iswpunct.c
webruby-0.2.4 modules/emscripten/system/lib/libc/musl/src/ctype/iswpunct.c
webruby-0.2.2 modules/emscripten/system/lib/libc/musl/src/ctype/iswpunct.c
webruby-0.2.1 modules/emscripten/system/lib/libc/musl/src/ctype/iswpunct.c
webruby-0.1.2 modules/emscripten/system/lib/libc/musl/src/ctype/iswpunct.c
webruby-0.1.1 modules/emscripten/system/lib/libc/musl/src/ctype/iswpunct.c
webruby-0.1.0 modules/emscripten/system/lib/libc/musl/src/ctype/iswpunct.c