diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-02-04 17:38:13 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-02-04 17:38:13 (GMT) |
commit | 6d290a69f0b76fce34e8a2fc2c5fbec15c95d1a5 (patch) | |
tree | 7b9a3eacc9c2b14b587143445e366b5594a2ece6 /plugins | |
parent | 114c7f0f977ca7253cc179393b0cbd404d3f1bf5 (diff) |
Completed the ImmOperand constructor documentation.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/pychrysalide/arch/operands/immediate.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/pychrysalide/arch/operands/immediate.c b/plugins/pychrysalide/arch/operands/immediate.c index 7a570f0..39ce2e2 100644 --- a/plugins/pychrysalide/arch/operands/immediate.c +++ b/plugins/pychrysalide/arch/operands/immediate.c @@ -123,7 +123,14 @@ static PyObject *py_imm_operand_new(PyTypeObject *type, PyObject *args, PyObject "The ImmOperand deals with immediate value as operand." \ "\n" \ "There are several ways to display these values in a disassembly," \ - " the operand handles that." + " the operand handles that.\n" \ + "\n" \ + "Instances can be created using the following constructor:\n" \ + "\n" \ + " ImmOperand(size, value)" \ + "\n" \ + "Where size specifies the original size of the provided value, as" \ + " a pychrysalide.analysis.BinContent.MemoryDataSize." ret = PyArg_ParseTuple(args, "IK", &raw_size, &value); if (!ret) return NULL; |