/*****************************************************************************/
/* */
-/* tgttrans.c */
+/* tgttrans.c */
/* */
-/* Character set translation */
+/* Character set translation */
/* */
/* */
/* */
-/* (C) 2000-2011, Ullrich von Bassewitz */
+/* (C) 2000-2012, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
-char* TgtTranslateStr (char* S)
-/* Translate a complete string from the source character set into the target
- * system character set.
- */
-{
- /* Translate */
- unsigned char* T = (unsigned char*)S;
- while (*T) {
- *T = Tab[*T];
- ++T;
- }
-
- /* Return the argument string */
- return S;
-}
-
-
-
void TgtTranslateBuf (void* Buf, unsigned Len)
/* Translate a buffer of the given length from the source character set into
* the target system character set.
/* */
/* */
/* */
-/* (C) 2000-2008 Ullrich von Bassewitz */
-/* Roemerstrasse 52 */
-/* D-70794 Filderstadt */
-/* EMail: uz@cc65.org */
+/* (C) 2000-2012, Ullrich von Bassewitz */
+/* Roemerstrasse 52 */
+/* D-70794 Filderstadt */
+/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
#ifndef TGTTRANS_H
-#define TGTTRANS_H
+#define TGTTRANS_H
* system character set.
*/
-char* TgtTranslateStr (char* S);
-/* Translate a complete string from the source character set into the target
- * system character set.
- */
-
void TgtTranslateBuf (void* Buf, unsigned Len);
/* Translate a buffer of the given length from the source character set into
* the target system character set.
*/
void TgtTranslateStrBuf (StrBuf* Buf);
-/* Translate a string buffer from the source character set into the target
+/* Translate a string buffer from the source character set into the target
* system character set.
*/