mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
27 lines
627 B
C
27 lines
627 B
C
|
/*
|
||
|
* COPYRIGHT: See COPYING in the top level directory
|
||
|
* PROJECT: ReactOS system libraries
|
||
|
* FILE: lib/crt/??????
|
||
|
* PURPOSE: Unknown
|
||
|
* PROGRAMER: Unknown
|
||
|
* UPDATE HISTORY:
|
||
|
* 25/11/05: Added license header
|
||
|
*/
|
||
|
#include <precomp.h>
|
||
|
|
||
|
#include <internal/tls.h>
|
||
|
#include <assert.h>
|
||
|
|
||
|
/*
|
||
|
* This is an MSVCRT internal function to return the lasttoken
|
||
|
* bit of data used by wcstok. The reason for it's existence is
|
||
|
* so that CRTDLL can use the wcstok source code in the same
|
||
|
* file.
|
||
|
*/
|
||
|
wchar_t** _wlasttoken()
|
||
|
{
|
||
|
PTHREADDATA ptd = GetThreadData();
|
||
|
assert(ptd);
|
||
|
return &(ptd->wlasttoken);
|
||
|
}
|