cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 Product parts

 Virtual File system

 Virtual Render
 Virtual Machine
   

  Demo Games

   

 3D Engine

  gvSystem(dx9)

 Link

 

 

lua_Utilities.h

Go to the documentation of this file.
00001 #ifndef UTILITIES_H_
00002 #define UTILITIES_H_
00003 #ifdef _WIN32
00004 #include <wchar.h>
00005 #endif
00006 
00007 /*
00008 // Utility functions to convert from UNICODE to ANSI and back
00009 static void ConvertTToC(CHAR* pszDest, const TCHAR* pszSrc)
00010 {
00011         for(unsigned int i = 0; i < wcslen(pszSrc); i++)
00012                 pszDest[i] = (CHAR) pszSrc[i];
00013 }
00014 
00015 static void ConvertCToT(TCHAR* pszDest, const CHAR* pszSrc)
00016 {
00017         for(unsigned int i = 0; i < strlen(pszSrc); i++)
00018                 pszDest[i] = (TCHAR) pszSrc[i];
00019 }       
00020 
00021 */
00022 #endif // UTILITIES_H_
00023 

Copyright(C) gvSystem & GamePlus All Rights Reserved.