Skip to content

Commit

Permalink
Add wcsncpy_s to the togo stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
blairmcg committed Feb 25, 2018
1 parent 2259c49 commit 582600f
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions ConsoleToGo/ConsoleToGo.def
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ uncompress
strpbrk
ungetc
wcscspn
wcsncpy_s

; VMLibrary

Expand Down
3 changes: 0 additions & 3 deletions ConsoleToGo/ConsoleToGo.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,9 @@
<ItemGroup>
<None Include="..\Interprt.inl" />
<None Include="..\InterprtPrim.inl" />
<None Include="..\InterprtPriv.inl" />
<None Include="..\InterprtProc.inl" />
<None Include="..\istasm.inc" />
<None Include="..\ObjMemPriv.inl" />
<None Include="..\ote.inl" />
<None Include="ConsoleToGo.def" />
<None Include="data1.bin" />
</ItemGroup>
Expand All @@ -179,7 +177,6 @@
<ClInclude Include="..\oopq.h" />
<ClInclude Include="..\ote.h" />
<ClInclude Include="..\RaiseThreadException.h" />
<ClInclude Include="..\regkey.h" />
<ClInclude Include="..\STExternal.h" />
<ClInclude Include="..\STFloat.h" />
<ClInclude Include="..\STHashedCollection.h" />
Expand Down
3 changes: 1 addition & 2 deletions ExternalCall.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,7 @@ ExtCallArgLPSTR:

@@:
mov ecx, ARG
mov edx, CP_ACP ; Assume its an ANSI API (which is generally true of byte string APIs on Windows, unfortunately)
call NewStringFromUtf16
call NewStringFromUtf16 ; Assume its an ANSI API and will not understand Utf8 (which is generally true of byte string APIs on Windows, unfortunately)
ASSUME ARG:PTR OTE

mov [_SP+OOPSIZE], eax
Expand Down
1 change: 1 addition & 0 deletions InProcToGo/IPToGo.def
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ uncompress
strpbrk
ungetc
wcscspn
wcsncpy_s

; VMLibrary

Expand Down
2 changes: 0 additions & 2 deletions InProcToGo/InProcToGo.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@
<None Include="..\InterprtPrim.inl" />
<None Include="..\InterprtProc.inl" />
<None Include="..\ObjMemPriv.inl" />
<None Include="..\ote.inl" />
<None Include="..\Res\hsplit.cur" />
<None Include="..\Res\vsplit.cur" />
<None Include="IPToGo.def" />
Expand Down Expand Up @@ -244,7 +243,6 @@
<ClInclude Include="..\TraceStream.h" />
<ClInclude Include="..\VMExcept.h" />
<ClInclude Include="..\VMPointers.h" />
<ClInclude Include="..\WINHEAP.H" />
<ClInclude Include="..\zlib\deflate.h" />
<ClInclude Include="..\zlib\infblock.h" />
<ClInclude Include="..\zlib\infcodes.h" />
Expand Down
2 changes: 0 additions & 2 deletions ToGoStub/GuiToGo.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@
<ClInclude Include="..\RaiseThreadException.h" />
<ClInclude Include="..\regkey.h" />
<ClInclude Include="..\segdefs.h" />
<ClInclude Include="..\STArray.h" />
<ClInclude Include="..\startvm.h" />
<ClInclude Include="..\StdAfx.h" />
<ClInclude Include="..\STExternal.h" />
Expand All @@ -229,7 +228,6 @@
<ClInclude Include="..\TraceStream.h" />
<ClInclude Include="..\VMExcept.h" />
<ClInclude Include="..\VMPointers.h" />
<ClInclude Include="..\WINHEAP.H" />
<ClInclude Include="..\zlib\deflate.h" />
<ClInclude Include="..\zlib\infblock.h" />
<ClInclude Include="..\zlib\infcodes.h" />
Expand Down
1 change: 1 addition & 0 deletions ToGoStub/togo.def
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ uncompress
strpbrk
ungetc
wcscspn
wcsncpy_s

; VMLibrary

Expand Down

0 comments on commit 582600f

Please sign in to comment.