File: unicode_helper.h

package info (click to toggle)
libdbd-odbc-perl 1.61-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,424 kB
  • sloc: perl: 8,928; ansic: 6,456; makefile: 33; sql: 8
file content (23 lines) | stat: -rw-r--r-- 442 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifdef WITH_UNICODE

#ifndef unicode_helper_h
#define unicode_helper_h
#include "ConvertUTF.h"

UTF16 * WValloc(char * s);

void WVfree(UTF16 * wp);

void sv_setwvn(pTHX_ SV * sv, UTF16 * wp, STRLEN len);
SV *sv_newwvn(pTHX_ UTF16 * wp, STRLEN len);


char * PVallocW(UTF16 * wp);

void PVfreeW(char * s);

void SV_toWCHAR(pTHX_ SV * sv);
void utf8sv_to_wcharsv(pTHX_ SV *sv);

#endif /* defined unicode_helper_h */
#endif /* WITH_UNICODE */