Robert Roessler: > > It should be OK to make idFrom be a uptr_t in Scintilla.h although > > there could be issues with client code. > > Like any code that [explicitly or implicitly] expects ints, longs, and > pointers to be a) all 4 bytes, or b) at least all the same size?
32 bit code should be OK. Win64 code may care. On 64 bit Linux, you could have problems if you didn't recompile everything or had code that assumed a 32 bit idFrom, such as by defining its own version of the notification sructure. The actual values of idFrom are user defined integer IDs, mostly small like 1 or 2 which are used to distinguish which Scintilla widget sent the notification. Applications should not try to put a pointer into this slot. scintilla_set_id takes an int argument. Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
