mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 09:02:29 +02:00
* pas2jni: Fixed the Pointer() support function.
git-svn-id: trunk@28046 -
This commit is contained in:
parent
41e8a0da2c
commit
a27ea85560
@ -1286,7 +1286,7 @@ begin
|
|||||||
Fjs.DecI;
|
Fjs.DecI;
|
||||||
Fjs.WriteLn('}');
|
Fjs.WriteLn('}');
|
||||||
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
|
// Record
|
||||||
Fjs.WriteLn;
|
Fjs.WriteLn;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user