Package ghidra.app.cmd.function
Class SetReturnDataTypeCmd
java.lang.Object
ghidra.app.cmd.function.SetReturnDataTypeCmd
Command for setting a function's return type.
-
Constructor Summary
ConstructorDescriptionSetReturnDataTypeCmd
(Address entry, DataType dataType, SourceType source) Constructs a new command for setting a function's return type. -
Method Summary
-
Constructor Details
-
SetReturnDataTypeCmd
Constructs a new command for setting a function's return type.- Parameters:
entry
- the entry point of the function having its return type set.dataType
- the datatype to set on the function.source
- TODO
-
-
Method Details
-
getName
Description copied from interface:Command
Returns the name of this command. -
applyTo
Description copied from interface:Command
Applies the command to the given domain object. -
getStatusMsg
Description copied from interface:Command
Returns the status message indicating the status of the command.- Specified by:
getStatusMsg
in interfaceCommand<Program>
- Returns:
- reason for failure, or null if the status of the command was successful
-