Skip to content

Expose constants, structs, and unions from C to JS.

License

Notifications You must be signed in to change notification settings

G4Vi/exposetype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exposetype

Expose constants, structs, and unions from C to JS.

Created to avoid duplication and minimize boilerplate trying to share constants and data types between C to JS as unfortunately Embind is C++ only.

This repository is a mirror of the version embedded in MHFS used for the web player streaming audio decoder.

Demo

View

Compiling: emcc demo.c -s'EXTRA_EXPORTED_RUNTIME_METHODS=["UTF8ToString"]'

LICENSE

MIT, see LICENSE.

About

Expose constants, structs, and unions from C to JS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published