Skip to content

Commit

Permalink
DIscard now unused fromSqueak fromSqueak2 fromSqueakInto from minhead…
Browse files Browse the repository at this point in the history
…less too

Related to issue #345
[skip travis]
  • Loading branch information
nicolas-cellier-aka-nice committed Jan 5, 2019
1 parent a81683b commit 6f2cb8a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
3 changes: 0 additions & 3 deletions platforms/minheadless/windows/sqWin32.h
Expand Up @@ -29,9 +29,6 @@ int sqMessageBox(DWORD dwFlags, const TCHAR *titleString, const char* fmt, ...);

void sqWin32PrintLastError(const char *message);

TCHAR *fromSqueak(const char *sqPtr, int sqSize);
TCHAR *fromSqueak2(const char *sqPtr, int sqSize);

extern BOOL fIsConsole;

#endif /*SQ_WIN32_H*/
18 changes: 0 additions & 18 deletions platforms/minheadless/windows/sqWin32Common.c
Expand Up @@ -13,24 +13,6 @@ static char a_buffer1[MAX_BUFFER]; /* ansi buffer 1 */
/* Stub for SecurityPlugin */
WCHAR squeakIniNameW[MAX_PATH + 1];

static TCHAR *
fromSqueakInto(const char *sqPtr, int sqSize, TCHAR* buffer)
{
sqUTF8ToUTF16Copy(buffer, sqSize, sqPtr);
return buffer;
}

TCHAR *
fromSqueak(const char *sqPtr, int sqSize)
{
return fromSqueakInto(sqPtr, sqSize, w_buffer1);
}

TCHAR *
fromSqueak2(const char *sqPtr, int sqSize)
{
return fromSqueakInto(sqPtr, sqSize, w_buffer2);
}

void
sqWin32PrintLastError(const char *message)
Expand Down

0 comments on commit 6f2cb8a

Please sign in to comment.