Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-12

What is a "static" function?

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

Hi,

What is a "static" function?

    class function red_(para1: jint): jint; static; external name 'red'; overload;

see
jvmbackend/rtl/android/jvm/androidr14.inc line 4027

Mattias

Reply by email

Jonas Maebe
to Mattias Gaertner
Mattias Gaertner wrote
What is a "static" function? class function red_(para1: jint): jint; static; external name 'red'; overload;

It's a class function without an implicit self (= vmt) parameter. It already existed before the JVM port was started.

Jonas

Reply by email

Mattias Gaertner
to Jonas Maebe
Show quoted text 8 lines
On 26 Dec 2011, at 16:34, Mattias Gaertner wrote: > What is a "static" function? > > class function red_(para1: jint): jint; static; external name 'red'; overload; It's a class function without an implicit self (= vmt) parameter. It already existed before the JVM port was started.

Thanks.

Mattias

Reply by email