mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ensure that v fmt can be run over most .v files on each PR
This commit is contained in:
committed by
Alexander Medvednikov
parent
ccb041c831
commit
1d86f4b5d1
@@ -36,7 +36,7 @@ const (
|
||||
|
||||
const(
|
||||
fnv64_prime = 1099511628211
|
||||
fnv64_offset_basis = u64(14695981039346656037)
|
||||
fnv64_offset_basis = 14695981039346656037
|
||||
)
|
||||
|
||||
const(
|
||||
|
||||
2
vlib/os2/keep_vfmt_happy.v
Normal file
2
vlib/os2/keep_vfmt_happy.v
Normal file
@@ -0,0 +1,2 @@
|
||||
//this keeps vfmt happy
|
||||
module os2
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
module main
|
||||
|
||||
import filepath
|
||||
import rand
|
||||
import time
|
||||
import os
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
module ttf
|
||||
|
||||
import sdl
|
||||
|
||||
#include <SDL_ttf.h>
|
||||
|
||||
[typedef]
|
||||
@@ -132,4 +134,5 @@ fn C.TTF_CloseFont(font &TTF_Font)
|
||||
|
||||
pub const (
|
||||
version = '0.0.1'
|
||||
sdl_version = sdl.version // TODO: remove this hack to mark sdl as used; avoids warning
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user