mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 00:59:27 +02:00
* pas2jni: Fixed code generation for i386 targets.
git-svn-id: trunk@32539 -
This commit is contained in:
parent
6f8e9ad23e
commit
3e894e592d
@ -2135,7 +2135,7 @@ begin
|
||||
Fps.WriteLn('end;');
|
||||
|
||||
Fps.WriteLn;
|
||||
Fps.WriteLn('function _AllocMemory(env: PJNIEnv; jobj: jobject; size: jint): jlong;');
|
||||
Fps.WriteLn('function _AllocMemory(env: PJNIEnv; jobj: jobject; size: jint): jlong;' + JniCaliing);
|
||||
Fps.WriteLn('var p: pointer;');
|
||||
Fps.WriteLn('begin');
|
||||
Fps.WriteLn('GetMem(p, size);', 1);
|
||||
|
Loading…
Reference in New Issue
Block a user