Replace symbol_objfile with symbol::objfile

This turns symbol_objfile into a method on symbol.
This commit is contained in:
Tom Tromey
2022-04-17 19:44:20 -06:00
parent f66b536343
commit e19b2d9465
13 changed files with 29 additions and 29 deletions

View File

@ -306,7 +306,7 @@ frapy_block (PyObject *self, PyObject *args)
if (block)
{
return block_to_block_object
(block, symbol_objfile (BLOCK_FUNCTION (fn_block)));
(block, BLOCK_FUNCTION (fn_block)->objfile ());
}
Py_RETURN_NONE;