We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dde507 commit b6cb2edCopy full SHA for b6cb2ed
dlls/msvcrt/msvcrt.hexa
@@ -208,9 +208,20 @@ fun _unlock(stub Int32) Void {
208
tofitaDebugLog("_unlock()\n".utf16())
209
}
210
211
-// TODO _acmdln
+@dllExport('_acmdln')
212
+var _acmdln SizeOfPointer = _acmdln_stub.ref as! SizeOfPointer // TODO `.address`
213
+var _acmdln_stub ArrayByValue<UInt8, 4> = [
214
+ // TODO
215
+ // Just "exe\0"
216
+ 101u8,
217
+ 120u8,
218
219
+ 0u8
220
+]
221
+
222
@dllExport('_wcmdln')
-var _wcmdln ArrayByValue<UInt16, 4> = [
223
+var _wcmdln SizeOfPointer = _wcmdln_stub.ref as! SizeOfPointer // TODO `.address`
224
+var _wcmdln_stub ArrayByValue<UInt16, 4> = [
225
// TODO
226
// Just "exe\0"
227
101u16,
0 commit comments