Szakáts Viktor escribió:
Hi Miguel,
You can add a #define hb_parni( x ) xhb_parni( x )
to the xhb C level header, then add xhb_parni( x )
to the xhb lib, which implements the extended
xhb functionality you need.
As a personal opinions I'd find it more elegant
to correct the user level C code to use this
API in a portable way (type checking and hb_parl()).
Yes, of course, but this code is from a 3rd party lib.
this lib goes over xharbour, but not over harbour without it.
That's unfortunate, but staying compatible with
Clipper is a higher level goal in Harbour than staying
compatible with xhb specific 3rd party libs. Maybe
it would be worth to notify those developers to fix
their code.
(and that is a very good example why in Harbour we
want to not extend existing functions and behaviour)
I add now xhb_parni() in xhb to preserve harbour CLIPPER compatible.
Okey.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour