mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen/os: minor fixes
This commit is contained in:
parent
6e380b8897
commit
5b53b3d7e3
@ -204,7 +204,7 @@ pub fn get_module_filename(handle HANDLE) ?string {
|
||||
for {
|
||||
status := int(C.GetModuleFileNameW(handle, voidptr(&buf), sz))
|
||||
match status {
|
||||
os.success {
|
||||
success {
|
||||
_filename := string_from_wide2(buf, sz)
|
||||
return _filename
|
||||
}
|
||||
|
@ -106,7 +106,6 @@ pub fn (g &Gen) hashes() string {
|
||||
mut res := c_commit_hash_default.replace('@@@', util.vhash() )
|
||||
res += c_current_commit_hash_default.replace('@@@', util.githash( g.pref.building_v ) )
|
||||
return res
|
||||
return c_commit_hash_default + g.typedefs.str() + g.definitions.str() + g.out.str()
|
||||
}
|
||||
|
||||
pub fn (g mut Gen) init() {
|
||||
|
Loading…
Reference in New Issue
Block a user