]> gitweb.factorcode.org Git - factor.git/commitdiff
windows.types: LPSTR is a utf8 string. Add LPTCSTR.
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 13 Mar 2016 09:32:05 +0000 (01:32 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 13 Mar 2016 09:42:51 +0000 (01:42 -0800)
basis/windows/types/types.factor

index f735f6c5a52f693ce3597e51c3b68d398c4b29f5..e765e4264e2fc29599e8c263f635654614bc492f 100644 (file)
@@ -72,6 +72,8 @@ TYPEDEF: size_t SIZE_T
 TYPEDEF: ptrdiff_t SSIZE_T
 
 TYPEDEF: { c-string utf16n } LPCSTR
+TYPEDEF: { c-string utf16n } LPTCSTR
+
 TYPEDEF: { c-string utf16n } LPWSTR
 TYPEDEF: WCHAR       TCHAR
 TYPEDEF: LPWSTR      LPTCH
@@ -129,10 +131,9 @@ TYPEDEF: BYTE*               LPBYTE
 TYPEDEF: { c-string utf16n } LPCWSTR
 ! TYPEDEF: WCHAR*              LPWSTR
 
-TYPEDEF: { c-string utf16n } LPSTR
+TYPEDEF: { c-string utf8 } LPSTR
 TYPEDEF: { c-string utf16n } LPCTSTR
 TYPEDEF: { c-string utf16n } LPWTSTR
-
 TYPEDEF: { c-string utf16n } LPTSTR
 TYPEDEF: LPCSTR      PCTSTR
 TYPEDEF: LPSTR       PTSTR