This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: some questions using callbacks to java
- To: "Paul R. Potts" <potts at umich dot edu>
- Subject: Re: some questions using callbacks to java
- From: Per Bothner <per at bothner dot com>
- Date: 26 Jul 2000 01:18:23 -0700
- Cc: <kawa at sourceware dot cygnus dot com>
- References: <B5A361FD.197F1%potts@umich.edu>
"Paul R. Potts" <potts@umich.edu> writes:
> per, can you give me an example of declaring these?
Look for the section "Declaring Types of Variables" in the manual.
Also read the stuff about modules.
> also, i am not sure what you mean by lexically bound.
I mean that the compiler can at compile-time map a variable reference to
the specific declaration that the variable is bound to.
> i think you're right since inner classes are basically a name-mangling hack,
That is not the case. Inner classes are *implemented* using a
name-mangling hack. Inner classes are basically a restricted form
of closure.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/