add volotiles in their classes
This commit is contained in:
parent
b4419fc438
commit
a3a55aec08
@ -62,4 +62,5 @@ module Register
|
|||||||
def link_Symbol sym , at
|
def link_Symbol sym , at
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Sof::Volotile.add(Register::Assembler , [:objects])
|
||||||
end
|
end
|
||||||
|
@ -7,5 +7,8 @@ module Sof
|
|||||||
def self.attributes clazz
|
def self.attributes clazz
|
||||||
@@mapping[clazz] || []
|
@@mapping[clazz] || []
|
||||||
end
|
end
|
||||||
|
def self.add clazz , attributes
|
||||||
|
@@mapping[clazz] = attributes
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user