* pas2jni: Fixed the Pointer() support function.

git-svn-id: trunk@28046 -
This commit is contained in:
yury 2014-06-24 10:52:14 +00:00
parent 41e8a0da2c
commit a27ea85560

View File

@ -1286,7 +1286,7 @@ begin
Fjs.DecI;
Fjs.WriteLn('}');
Fjs.WriteLn;
Fjs.WriteLn('public static long Pointer(PascalObject obj) { return (obj == null) ? null : obj._pasobj; }');
Fjs.WriteLn('public static long Pointer(PascalObject obj) { return (obj == null) ? 0 : obj._pasobj; }');
// Record
Fjs.WriteLn;