[Gc] const qualifier for GC_size and GC_register_my_thread

Ivan Maidanski ivmai at mail.ru
Fri May 1 03:42:30 PDT 2009


Hi!

The API GC_size() and GC_register_my_thread() don't alter their parameter referents anyhow, so these referents should be tagged as 'const'. This API refinement is (should be) backward-compatible.

The attached patch does this.

Bye.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff77
Type: application/octet-stream
Size: 3287 bytes
Desc: not available
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20090501/eba92e4a/diff77.obj


More information about the Gc mailing list