summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-02-04 17:38:13 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-02-04 17:38:13 (GMT)
commit6d290a69f0b76fce34e8a2fc2c5fbec15c95d1a5 (patch)
tree7b9a3eacc9c2b14b587143445e366b5594a2ece6
parent114c7f0f977ca7253cc179393b0cbd404d3f1bf5 (diff)
Completed the ImmOperand constructor documentation.
-rw-r--r--plugins/pychrysalide/arch/operands/immediate.c9
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;