ReactOS  0.4.14-dev-608-gd495a4f
utils.c
Go to the documentation of this file.
1 /*
2  * Edit Control Test for ReactOS, quick n' dirty. There you go
3  * This source code is in the PUBLIC DOMAIN and has NO WARRANTY.
4  * by Waldo Alvarez Caņizares <wac at ghost.matcom.uh.cu>, June 22, 2003.
5  */
6 
7 #include <windows.h>
8 
9 static const char hexvals[] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
10 VOID htoa (unsigned int val, char *buf)
11 {
12  int i;
13  buf += 7;
14 
15  for (i=0;i<8;i++)
16  {
17  *buf-- = hexvals[val & 0x0000000F];
18  val = val >> 4;
19  }
20 }
21 
22 
23 VOID strcpy_(char *dst, const char *src)
24 {
25  const char* p = src;
26  while ((*dst++ = *p++)) {}
27 }
28 
29 VOID strcpyw_(wchar_t* dst,wchar_t* src)
30 {
31  const wchar_t* p = src;
32  while ((*dst++ = *p++)) {}
33 }
static const char hexvals[]
Definition: utils.c:9
VOID strcpyw_(wchar_t *dst, wchar_t *src)
Definition: utils.c:29
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
VOID htoa(unsigned int val, char *buf)
Definition: utils.c:10
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLuint GLfloat * val
Definition: glext.h:7180
VOID strcpy_(char *dst, const char *src)
Definition: utils.c:23
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
GLfloat GLfloat p
Definition: glext.h:8902