capstone.h: refer to sample code for skipdata option & cs_disasm_iter API
diff --git a/include/capstone.h b/include/capstone.h
index b473662..a2fdf1a 100644
--- a/include/capstone.h
+++ b/include/capstone.h
@@ -127,7 +127,9 @@
} cs_opt_value;
/*
- User-defined callback function for SKIPDATA option
+ User-defined callback function for SKIPDATA option.
+ See tests/test_skipdata.c for sample code demonstrating this API.
+
@code: the input buffer containing code to be disassembled.
This is the same buffer passed to cs_disasm().
@code_size: size (in bytes) of the above @code buffer.
@@ -440,6 +442,7 @@
Fast API to disassemble binary code, given the code buffer, size, address
and number of instructions to be decoded.
This API put the resulted instruction into a given cache in @insn.
+ See tests/test_iter.c for sample code demonstrating this API.
NOTE 1: this API will update @code, @size & @address to point to the next
instruction in the input buffer. Therefore, it is covenient to use