mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-15 02:26:07 +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.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;
|
||||
|
Loading…
Reference in New Issue
Block a user