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"
nil
st> Complex real: 1 imaginary: 2
Loading package Complex
(1+2i)
(Complex is not a great example since the constructor method #i is not
present, but you get the idea).
Paolo
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!
Denis
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk