Missing information in ReAction autodocs.
Posted: Sat Aug 06, 2011 5:01 pm
I find there is a lot of things you have to guess or try and crash regarding ReAction attributes and methods.
For example:
LISTBROWSER_Selected
What happens if you supply a value that is out of range? Does it crash in true RA/intuition style, does it truncate, does it nothing, or will it deselect as if providing -1?
Another example:
LBM_ADDNODE
struct Node *lba_Node; // Insert() after this node
What happens if you supply NULL here? Are you supposed to supply NULL if you want to add at the beginning? Applying trial'n'crashing on this is very tedious since RA/intuition is very crash/lockup-prone if you make any mistake.
There are many more such examples but these were the only ones I could come up with now.
For example:
LISTBROWSER_Selected
What happens if you supply a value that is out of range? Does it crash in true RA/intuition style, does it truncate, does it nothing, or will it deselect as if providing -1?
Another example:
LBM_ADDNODE
struct Node *lba_Node; // Insert() after this node
What happens if you supply NULL here? Are you supposed to supply NULL if you want to add at the beginning? Applying trial'n'crashing on this is very tedious since RA/intuition is very crash/lockup-prone if you make any mistake.
There are many more such examples but these were the only ones I could come up with now.