Got a basic WebAssembly module compiling with support for calling jsStdPrint through printf implementation (provided by stb_sprintf.h). We have a single function "HelloFromWasm" exported for testing purposes. Pulled in a bunch of standard library headers from PigCore's wasm layer.
This commit is contained in:
19
std/uchar.h
Normal file
19
std/uchar.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
File: uchar.h
|
||||
Author: Taylor Robbins
|
||||
Date: 08\28\2025
|
||||
*/
|
||||
|
||||
#ifndef _UCHAR_H
|
||||
#define _UCHAR_H
|
||||
|
||||
typedef unsigned short char16_t;
|
||||
typedef unsigned char32_t;
|
||||
|
||||
// TODO: size_t c16rtomb(char *__restrict, char16_t, mbstate_t *__restrict);
|
||||
// TODO: size_t mbrtoc16(char16_t *__restrict, const char *__restrict, size_t, mbstate_t *__restrict);
|
||||
|
||||
// TODO: size_t c32rtomb(char *__restrict, char32_t, mbstate_t *__restrict);
|
||||
// TODO: size_t mbrtoc32(char32_t *__restrict, const char *__restrict, size_t, mbstate_t *__restrict);
|
||||
|
||||
#endif // _UCHAR_H
|
||||
Reference in New Issue
Block a user