[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] AbstractAutoload

From: Denis Washington
Subject: Re: [Help-smalltalk] AbstractAutoload
Date: Mon, 10 Jan 2011 19:34:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101230 Lanikai/3.1.7

On 10.01.2011 13:05, Paolo Bonzini wrote:
With the attached any object that implements #autoload can be used as
a loader.  This ensures that the black magic stays confined in
Autoload/AutoloadClass.  For example:

st> Eval [ Autoload class: #Complex in: Smalltalk loader: (PackageLoader packageAt: 'Complex'). nil ]
"Global garbage collection... done"
st> Complex real: 1 imaginary: 2
Loading package Complex

(Complex is not a great example since the constructor method #i is not present, but you get the idea).


Works like a charm! I am excited about this already being in master (I wanted to point you to the comment of #class:in:loader: still referring to "fileNameString", but I see you fixed that already ;). I assure you that I will really start with the GObject introspection bindings now. Thanks for being so responsive!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]