merge xtrap 1.0.3.
initial import of xtrap-1.0.3
Don't cast around function types incorrectly, but adjust them as appropiate.
Fix "cast from pointer to integer of different size".
Fix abs usage.
initial import of xtrap-1.0.2