]> Dogcows Code - chaz/homebank/blobdiff - src/ext-perl.xs
convert some spaces to tabs
[chaz/homebank] / src / ext-perl.xs
index 5aa56b01df5480491909eb647b4d6ae6b48696b5..4890db85a56e2c7cd4b91548dc5009f6fa083ada 100644 (file)
@@ -172,10 +172,10 @@ static inline GObject* SvGobject(const SV* sv)
 
 static inline SV* newSVgobject(const GObject* o)
 {
-    SV* (*func)(const GObject*, gboolean) = ext_symbol_lookup("gperl_new_object");
-    if (func) {
-        return func(o, FALSE);
-    }
+       SV* (*func)(const GObject*, gboolean) = ext_symbol_lookup("gperl_new_object");
+       if (func) {
+               return func(o, FALSE);
+       }
        return &PL_sv_undef;
 }
 
@@ -980,13 +980,13 @@ date(Transaction* SELF, ...)
                }
 
 const gchar*
-wording(Transaction* SELF, ...)
+memo(Transaction* SELF, ...)
        CODE:
                if (1 < items) {
-                       if (SELF->wording) g_free(SELF->wording);
-                       SELF->wording = g_strdup(SvGchar_ptr(ST(1)));
+                       if (SELF->memo) g_free(SELF->memo);
+                       SELF->memo = g_strdup(SvGchar_ptr(ST(1)));
                }
-               RETVAL = SELF->wording ? SELF->wording : "";
+               RETVAL = SELF->memo ? SELF->memo : "";
        OUTPUT:
                RETVAL
 
@@ -1039,5 +1039,5 @@ void
 dump(Transaction* SELF)
        CODE:
                g_print("txn: %p (%s) at %u (%d/%d) flags:%d, paymode:%d, kpay:%d, kcat:%d", SELF,
-                       SELF->wording, SELF->date, SELF->kacc, SELF->kxferacc, SELF->flags, SELF->paymode, SELF->kpay, SELF->kcat);
+                       SELF->memo, SELF->date, SELF->kacc, SELF->kxferacc, SELF->flags, SELF->paymode, SELF->kpay, SELF->kcat);
 
This page took 0.025263 seconds and 4 git commands to generate.