annotate Resources/Samples/Lua/Autorouting.lua @ 998:4136fab6a639 lua-scripting

callback on stored instance
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Jul 2014 18:30:23 +0200
parents
children b067017a8a5b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
998
4136fab6a639 callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 function OnStoredInstance(tags, instance)
4136fab6a639 callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 PrintRecursive(tags)
4136fab6a639 callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 return {
4136fab6a639 callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 { "store", instance, "pacs" },
4136fab6a639 callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 { "delete", instance }
4136fab6a639 callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 }
4136fab6a639 callback on stored instance
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 end