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: Small offer


Yaroslav Kavenchuk wrote:
Many thanks!

Per Bothner wrote:
I don't know how useful it is...

(define m :: Method (*:addMethod c "add" (Method:makeSignature (Type[] Type:intType Type:intType) Type:intType) (logior Access:PUBLIC Access:STATIC)))

Why not use this method instead:


   public Method addMethod (String name, int flags,
			   Type[] arg_types, Type return_type)

(define m :: Method
  (*:addMethod c "add"
    (logior Access:PUBLIC Access:STATIC)
    (Type[] Type:intType Type:intType)
    Type:intType))
--
	--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]