Mercurial > molko
view src/libmlk-core-js/core/js-core.h @ 339:979960e65f76
js: add font bindings
While here, correct int to long in font_render.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 16 Oct 2021 09:01:20 +0200 |
parents | |
children | 460c78706989 |
line wrap: on
line source
/* * js-core.h -- core binding * * Copyright (c) 2020-2021 David Demelier <markand@malikania.fr> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef MLK_CORE_JS_H #define MLK_CORE_JS_H #include <duktape.h> struct vfs; void js_core_bind(duk_context *, struct vfs *); struct vfs * js_core_global_vfs(duk_context *); #endif /* !MLK_CORE_JS_H */