Skip to content

Commit

Permalink
Add dyninstAPI/Relocation.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 54912d3 commit b803d87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 7 additions & 0 deletions docs/dyninstAPI/developer/Relocation/Relocation.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@
Relocation.h
############

A quick header file defining externally visible types from the PatchAPI
namespace. This allows us to reduce cross-pollination of header files.
This avoids the requirement to include CodeMover.h

.. cpp:namespace:: Dyninst::Relocation

.. cpp:type:: boost::shared_ptr<Dyninst::Relocation::CodeMover> CodeMoverPtr
.. cpp:type:: boost::shared_ptr<Dyninst::Relocation::SpringboardBuilder> SpringboardBuilderPtr
5 changes: 0 additions & 5 deletions dyninstAPI/src/Relocation/Relocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

// A quick header file defining externally visible types from the PatchAPI
// namespace. This allows us to reduce cross-pollination of header files.


#if !defined(_RELOCATION_H_)
#define _RELOCATION_H_

Expand All @@ -54,5 +50,4 @@ typedef boost::shared_ptr<Dyninst::Relocation::SpringboardBuilder> SpringboardBu
}
}

// This avoids the requirement to include CodeMover.h
#endif

0 comments on commit b803d87

Please sign in to comment.