My neurons never connected the syntax until some colleague taught me the rule for const qualifier:
You have to read declaration from right to left

int * const x -> x is a constant pointer to an int
int const * x -> x is a pointer to a constant int.

Same for any other volatile, chicken, goose...

2014-12-30 22:48 GMT+01:00 tim Rowledge <tim@rowledge.org>:


On 30-12-2014, at 12:24 PM, commits@squeakvm.org wrote:

>
> Revision: 3199
> Author:   eliot
> Date:     2014-12-30 12:24:52 -0800 (Tue, 30 Dec 2014)
> Log Message:
> -----------
> Correct the volatile decls.  C makes the rules, not me.

Don’tcha just hate it when reality conflicts with what should be?


tim
--
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim
Useful random insult:- Doesn't just know nothing; doesn't even suspect much.