Date: | Wed, 04 Oct 2006 17:31:32 -0500 |
---|---|
From: | Dan Gibson <degibson@xxxxxxxx> |
Subject: | Re: [Gems-users] magic handler in ruby and mfacet.py |
Tom,Ruby's commands.C receives a callback when a core magic instruction is executed. One parameter to this callback is the magic number... you will see an if/else tree in commands.C that takes various actions based on the number... you should add some code to commands.C to implement your functionality. Regards, Dan Gibson Thomas Yeh wrote: I am trying to add code to handle magic numbers that I've inserted intothe application, and I see that both gen-script and command.C inside ruby are catching the magic instructions.Are there other code that are catching magic #'s? Which magic numbers are already used? So that I can check that my own definitions are not colliding with existing ones?thx, Tom _______________________________________________ Gems-users mailing list Gems-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/gems-users Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] opal stats, Dan Gibson |
---|---|
Next by Date: | [Gems-users] -stall error, Thomas Yeh |
Previous by Thread: | Re: [Gems-users] opal stats, Luke Yen |
Next by Thread: | [Gems-users] Message path, arrvindh shriraman |
Indexes: | [Date] [Thread] |