(Arch, Cursor)
| 261 | return Arch |
| 262 | |
| 263 | def HandleVarDeclCursor(Arch, Cursor): |
| 264 | CursorName = Cursor.spelling |
| 265 | DeclType = Cursor.type |
| 266 | Def = Cursor.get_definition() |
| 267 | |
| 268 | VarDecl = VarDeclDefinition( |
| 269 | Name = CursorName, |
| 270 | Size = DeclType.get_size()) |
| 271 | Arch.VarDecls[VarDecl.Name] = HandleVarDeclElements(Arch, VarDecl, Cursor) |
| 272 | return Arch |
| 273 | |
| 274 | def HandleVarDeclElements(Arch, VarDecl, Cursor): |
| 275 | for Child in Cursor.get_children(): |
no test coverage detected