This is the mail archive of the kawa@sourceware.org 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: Help, writing kawa equivalent of java program


On 04/01/2017 12:44 PM, Vasantha Ganesh wrote:
  Thank you, that did work. Kawa complains that the interface that I
created in kawa is not an interface.

(define-simple-class libc (library)
  (make-interface #t)
  (getpid::long))

- defines a field named make-interface.
You probably want:

(define-simple-class libc (library)
  interface: #t
  (getpid::long))
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


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