1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sokol: fix building of examples and ci tests

This commit is contained in:
Delyan Angelov
2020-01-17 21:05:45 +02:00
committed by Alexander Medvednikov
parent 3d57d3bb7b
commit 24d34a4f2c
12 changed files with 181 additions and 183 deletions

View File

@@ -2,6 +2,13 @@ module fontstash
#flag -I @VROOT/thirdparty/fontstash
#define FONTSTASH_IMPLEMENTATION
#include "fontstash.h"
pub const (
// TODO: fontstash.used_import is used to keep v from warning about unused imports
used_import = 1
)
// Contructor and destructor.
[inline]