1 /* Copyright (c) 2004-2005 Nokia. All rights reserved. */
3 /* The PerlUtil class is licensed under the same terms as Perl itself. */
5 /* See PerlUtil.pod for documentation. */
18 IMPORT_C static SV* newSvPVfromTDesC8(const TDesC8& aDes);
19 IMPORT_C static void setSvPVfromTDesC8(SV* sv, const TDesC8& aDes);
20 IMPORT_C static HBufC8* newHBufC8fromSvPV(SV* sv);
21 IMPORT_C static void setTDes8fromSvPV(TDes8& aDes8, SV* sv);
23 IMPORT_C static SV* newSvPVfromTDesC16(const TDesC16& aDes);
24 IMPORT_C static void setSvPVfromTDesC16(SV* sv, const TDesC16& aDes);
25 IMPORT_C static HBufC16* newHBufC16fromSvPV(SV* sv);
26 IMPORT_C static void setTDes16fromSvPV(TDes16& aDes16, SV* sv);
28 IMPORT_C static HBufC8* newHBufC8fromPVn(const U8* s, STRLEN n);
29 IMPORT_C static void setTDes8fromPVn(TDes8& aDes8, const U8* s, STRLEN n);
30 IMPORT_C static HBufC16* newHBufC16fromPVn(const U8* s, STRLEN n, bool utf8);
31 IMPORT_C static void setTDes16fromPVn(TDes16& aDes16, const U8* s, STRLEN n, bool utf8);
34 #endif /* #ifndef __PerlUtil_h__ */