#1341: [PATCH] hide magic numbers in src/pmc_freeze.c with macros
----------------------+-----------------------------------------------------
 Reporter:  plobsing  |        Type:  patch 
   Status:  new       |    Priority:  normal
Milestone:            |   Component:  none  
  Version:  1.8.0     |    Severity:  medium
 Keywords:            |        Lang:        
    Patch:            |    Platform:        
----------------------+-----------------------------------------------------
 src/pmc_freeze.c has the following comment:
 {{{
 /* TODO: get rid of these magic numbers; they look like pointer tags */
 }}}

 The attached patch hides the mentioned magic numbers using macros.

 Note: I am not quite happy with the terms "PackID", "PMCID", and "FLAGS".
 I would appreciate suggestions to replace them.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1341>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to