[svn:parrot] r36166 - trunk/src/pmc
cotto at svn.parrot.org
cotto at svn.parrot.org
Fri Jan 30 02:18:31 UTC 2009
Author: cotto
Date: Fri Jan 30 02:18:30 2009
New Revision: 36166
URL: https://trac.parrot.org/parrot/log/branches?rev=36166
Log:
[codingstd] trailing space fix
Modified:
trunk/src/pmc/fixedstringarray.pmc
trunk/src/pmc/resizablestringarray.pmc
Modified: trunk/src/pmc/fixedstringarray.pmc
==============================================================================
--- trunk/src/pmc/fixedstringarray.pmc Fri Jan 30 02:04:48 2009 (r36165)
+++ trunk/src/pmc/fixedstringarray.pmc Fri Jan 30 02:18:30 2009 (r36166)
@@ -62,9 +62,9 @@
*/
VTABLE void destroy() {
-
+
STRING **str_array;
-
+
GET_ATTR_str_array(INTERP, SELF, str_array);
if (str_array)
@@ -84,7 +84,7 @@
*/
VTABLE PMC *clone() {
-
+
STRING **my_str_array, **dest_str_array;
PMC *const dest = pmc_new(INTERP, SELF->vtable->base_type);
@@ -122,7 +122,7 @@
STRING **str_array;
GET_ATTR_str_array(INTERP, SELF, str_array);
-
+
if (str_array) {
UINTVAL size, i;
GET_ATTR_size(INTERP, SELF, size);
@@ -352,7 +352,7 @@
*/
VTABLE void set_integer_native(INTVAL new_size) {
-
+
UINTVAL old_size;
GET_ATTR_size(INTERP, SELF, old_size);
@@ -361,7 +361,7 @@
"FixedStringArray: Can't resize!");
SET_ATTR_size(INTERP, SELF, new_size);
- SET_ATTR_str_array(INTERP, SELF,
+ SET_ATTR_str_array(INTERP, SELF,
(STRING**)mem_sys_allocate_zeroed(new_size * sizeof (STRING*)));
PObj_custom_mark_destroy_SETALL(SELF);
Modified: trunk/src/pmc/resizablestringarray.pmc
==============================================================================
--- trunk/src/pmc/resizablestringarray.pmc Fri Jan 30 02:04:48 2009 (r36165)
+++ trunk/src/pmc/resizablestringarray.pmc Fri Jan 30 02:18:30 2009 (r36166)
@@ -94,7 +94,7 @@
*/
VTABLE void set_string_keyed_int(INTVAL key, STRING *value) {
-
+
STRING **str_array;
INTVAL size = SELF.elements();
@@ -260,7 +260,7 @@
cur &= ~0xfff;
}
- SET_ATTR_str_array(INTERP, SELF,
+ SET_ATTR_str_array(INTERP, SELF,
(STRING **)mem_sys_realloc(
str_array, cur * sizeof (STRING*)));
GET_ATTR_str_array(INTERP, SELF, str_array);
More information about the parrot-commits
mailing list