On 08/23/2011 06:20 PM, Richard Henderson wrote:
On 08/23/2011 03:13 PM, Andrew MacLeod wrote:
! DEF_FUNCTION_TYPE_2 (BT_FN_I1_CONST_VPTR_INT, BT_I1, BT_CONST_VOLATILE_PTR,
!                    BT_INT)
Given that VPTR means "volatile PTR", I suggest you use CVPTR instead of 
CONST_VPTR.

Hmm, well the reason I spelled it out is because const was spelled out *everywhere* else... ie:

DEF_FUNCTION_TYPE_2 (BT_FN_INT_CONST_STRING_PTR_CONST_STRING, BT_INT, BT_CONST_STRING, BT_PTR_CONST_STRING)

Andrew

Reply via email to