Heavy refactoring + Improved mesege queu printing.

- pretty printers moved to the corresponding api_printer module
- object abstractions moved to
	- their own name for core modules
	- supercore for other supercore objects
	- classic for classic api objects
This commit is contained in:
Dhananjay Balan
2013-07-12 19:04:37 +05:30
committed by Chris Johns
parent 6e75f4ebf5
commit b061a67742
6 changed files with 30 additions and 141 deletions

View File

@@ -32,6 +32,8 @@ class node:
return self.node_val.cast(nodetype)
return None
def to_string(self):
return self.node_val['next'] + "Prev: "+self.node_val['previous']
class control:
"""Manage the Chain_Control."""
@@ -44,4 +46,5 @@ class control:
return t
def last(self):
return node(self.ctrl['first'])
return node(self.ctrl['Tail']['Node'])