summaryrefslogtreecommitdiff
path: root/rtl/java/jsstringh.inc
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-04-15 15:54:10 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-04-15 15:54:10 +0000
commitfee1bb3ec8fc6e8b528ef2fefb1ebe63758f162b (patch)
tree62af4439c8c2569f831cd135a6c5bf397de464d4 /rtl/java/jsstringh.inc
parent4c6a532db289fbfb49487652fb644b77d0e6977a (diff)
parentb4e67ab336b17cc2fd10d3121d5af87c5d9b071d (diff)
downloadfpc-fee1bb3ec8fc6e8b528ef2fefb1ebe63758f162b.tar.gz
* merged trunk up to r20882
o support for the new codepage-aware ansistrings in the jvm branch o empty ansistrings are now always represented by a nil pointer rather than by an empty string, because an empty string also has a code page which can confuse code (although this will make ansistrings harder to use in Java code) o more string helpers code shared between the general and jvm rtl o support for indexbyte/word in the jvm rtl (warning: first parameter is an open array rather than an untyped parameter there, so indexchar(pcharvar^,10,0) will be equivalent to indexchar[pcharvar^],10,0) there, which is different from what is intended; changing it to an untyped parameter wouldn't help though) o default() support is not yet complete o calling fpcres is currently broken due to limitations in sysutils.executeprocess() regarding handling unix quoting and the compiler using the same command lines for scripts and directly calling external programs o compiling the Java compiler currently requires adding ALLOW_WARNINGS=1 to the make command line git-svn-id: http://svn.freepascal.org/svn/fpc/branches/jvmbackend@20887 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/java/jsstringh.inc')
-rw-r--r--rtl/java/jsstringh.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rtl/java/jsstringh.inc b/rtl/java/jsstringh.inc
index bb7d3f153c..68b9fad7d8 100644
--- a/rtl/java/jsstringh.inc
+++ b/rtl/java/jsstringh.inc
@@ -35,6 +35,7 @@ type
class function CreateEmpty(maxlen: byte): ShortstringClass; static;
class function CreateFromLiteralStringBytes(const u: unicodestring): shortstring; static;
procedure FpcDeepCopy(dest: ShortstringClass);
+ procedure copyFromAnsiCharArray(const arr: array of ansichar; maxlen: byte);
procedure setChar(index: jint; char: ansichar);
function charAt(index: jint): ansichar;
function toUnicodeString: unicodestring;