mirror of https://gitlab.com/ita1024/waf.git
WriteConsole type - https://github.com/waf-project/waf/issues/1567
This commit is contained in:
parent
a3b8ba5d03
commit
a4c2370ee4
|
@ -284,7 +284,7 @@ else:
|
||||||
wlock.release()
|
wlock.release()
|
||||||
|
|
||||||
def writeconsole(self, txt):
|
def writeconsole(self, txt):
|
||||||
chars_written = c_int()
|
chars_written = c_ulong()
|
||||||
writeconsole = windll.kernel32.WriteConsoleA
|
writeconsole = windll.kernel32.WriteConsoleA
|
||||||
if isinstance(txt, _type):
|
if isinstance(txt, _type):
|
||||||
writeconsole = windll.kernel32.WriteConsoleW
|
writeconsole = windll.kernel32.WriteConsoleW
|
||||||
|
|
Loading…
Reference in New Issue