[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
reverse of autoload
From: |
Juan Pablo Carbajal |
Subject: |
reverse of autoload |
Date: |
Sat, 17 Nov 2012 18:44:57 +0100 |
Hi,
Please find attached a change set that adds the option "remove" to autoload.
The function is extended to accept a third optional argument "remove"
that causes the function to be cleared and removed from autoload_map
The second argument is not used except for the checks (which are
unnecessary in the case of "remove"). So, I can redo the changes to
accept
autoload("foo","remove")
With the current check "remove" is not confused with a absolute path,
so it should produce no clash. Please, let me know.
Also, if "foo" is not in the autoload_map nothing is printed nor
returned. Shall I give a warning?
I did not know if symbol_table::clear_function removes the function
from memory thence there is a comment witha question mark. If that is
the right way of removing a function from memory please remove the
question mark.
Thanks
JPi
changeset_autoload
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- reverse of autoload,
Juan Pablo Carbajal <=