This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to pass Java null to a function?



> Hello,
> 
> Using Kawa, I can call some Java methods which may return Java null
> value. Is it possible in Kawa to check if the object is null?

Try (eq? #!null <your-object>)

> 
> next question: is it possible to pass Java `null' value to a Java
> function in kawa scheme?

Pass #!null.

Please read the documentation:
http://www.gnu.org/software/kawa/Special-named-constants.html





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]