remove unnecessary C macro ROOT_TYPE_DECLARATION. replace it by direct code generation
rename macro ROOT_xxx to xxx