Sweden-Number/server/unicode.h

25 lines
506 B
C
Raw Normal View History

1999-11-23 20:39:11 +01:00
/*
* Unicode routines for use inside the server
*
* Copyright (C) 1999 Alexandre Julliard
*/
#ifndef __WINE_SERVER_UNICODE_H
#define __WINE_SERVER_UNICODE_H
#include <stdio.h>
1999-11-23 20:39:11 +01:00
#include "windef.h"
#include "wine/unicode.h"
#include "object.h"
1999-11-23 20:39:11 +01:00
static inline WCHAR *strdupW( const WCHAR *str )
{
size_t len = (strlenW(str) + 1) * sizeof(WCHAR);
return memdup( str, len );
}
extern int dump_strW( const WCHAR *str, size_t len, FILE *f, char escape[2] );
1999-11-23 20:39:11 +01:00
#endif /* __WINE_SERVER_UNICODE_H */