Author: petdance
Date: Fri Jun 15 20:43:55 2007
New Revision: 19029

Modified:
   trunk/src/pmc/timer.pmc

Log:
internal consting

Modified: trunk/src/pmc/timer.pmc
==============================================================================
--- trunk/src/pmc/timer.pmc     (original)
+++ trunk/src/pmc/timer.pmc     Fri Jun 15 20:43:55 2007
@@ -186,7 +186,7 @@
 */
 
     void destroy() {
-        parrot_timer_event *t = (parrot_timer_event *)PMC_struct_val(SELF);
+        parrot_timer_event * const t = (parrot_timer_event 
*)PMC_struct_val(SELF);
         del_timer(INTERP, SELF);
         mem_sys_free(t);
     }
@@ -202,7 +202,7 @@
 */
 
     INTVAL get_integer_keyed_int(INTVAL key) {
-        parrot_timer_event *t = (parrot_timer_event *)PMC_struct_val(SELF);
+        parrot_timer_event * const t = (parrot_timer_event 
*)PMC_struct_val(SELF);
 
         switch (key) {
             case PARROT_TIMER_SEC:
@@ -228,7 +228,7 @@
 */
 
     PMC* get_pmc_keyed_int(INTVAL key) {
-        parrot_timer_event *t = (parrot_timer_event *)PMC_struct_val(SELF);
+        parrot_timer_event * const t = (parrot_timer_event 
*)PMC_struct_val(SELF);
 
         switch (key) {
             case PARROT_TIMER_HANDLER:
@@ -249,7 +249,7 @@
 */
 
     FLOATVAL get_number_keyed_int(INTVAL key) {
-        parrot_timer_event *t = (parrot_timer_event *)PMC_struct_val(SELF);
+        parrot_timer_event * const t = (parrot_timer_event 
*)PMC_struct_val(SELF);
 
         switch (key) {
             case PARROT_TIMER_NSEC:
@@ -270,7 +270,7 @@
 */
 
     void set_integer_keyed_int(INTVAL key, INTVAL value) {
-        parrot_timer_event *t = (parrot_timer_event *)PMC_struct_val(SELF);
+        parrot_timer_event * const t = (parrot_timer_event 
*)PMC_struct_val(SELF);
 
         switch (key) {
             case PARROT_TIMER_SEC:
@@ -304,7 +304,7 @@
 */
 
     void set_pmc_keyed_int(INTVAL key, PMC* value) {
-        parrot_timer_event *t = (parrot_timer_event *)PMC_struct_val(SELF);
+        parrot_timer_event * const t = (parrot_timer_event 
*)PMC_struct_val(SELF);
 
         switch (key) {
             case PARROT_TIMER_HANDLER:
@@ -339,7 +339,7 @@
 */
 
     void set_number_keyed_int(INTVAL key, FLOATVAL value) {
-        parrot_timer_event *t = (parrot_timer_event *)PMC_struct_val(SELF);
+        parrot_timer_event * const t = (parrot_timer_event 
*)PMC_struct_val(SELF);
 
         switch (key) {
             case PARROT_TIMER_NSEC:

Reply via email to