aboutsummaryrefslogtreecommitdiff
path: root/pair.inc.h
diff options
context:
space:
mode:
Diffstat (limited to 'pair.inc.h')
-rw-r--r--pair.inc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pair.inc.h b/pair.inc.h
index 5f746f1b..c42b2dfd 100644
--- a/pair.inc.h
+++ b/pair.inc.h
@@ -3,15 +3,15 @@
#else
INIT_F(PAIR(T, V)) {
- INIT(T, &this->key);
- INIT(V, &this->val);
+ INIT(T, &self->key);
+ INIT(V, &self->val);
return 0;
}
FREE_F(PAIR(T, V)) {
- FREE(T)(&this->key);
- FREE(V)(&this->val);
+ FREE(T)(&self->key);
+ FREE(V)(&self->val);
return 0;
}
@@ -19,8 +19,8 @@ FREE_F(PAIR(T, V)) {
FMT_F(PAIR(T, V)) {
char lbuf[0x100];
char rbuf[0x1000];
- FMT(T)(&this->key, lbuf);
- FMT(V)(&this->val, rbuf);
+ FMT(T)(&self->key, lbuf);
+ FMT(V)(&self->val, rbuf);
return sprintf(buf, "<%s, %s>", lbuf, rbuf);
}