aboutsummaryrefslogtreecommitdiff
path: root/py/vstr.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-10-03 17:44:14 +0000
committerDamien George <damien.p.george@gmail.com>2014-10-03 17:44:14 +0000
commit42f3de924bc3e285490f5f293955bc6d7e5a0edf (patch)
treec33a59825957ca5561bb7bb5038575ff052d5245 /py/vstr.c
parent877dba3e1a76d151c0d93c88bcfaac62ecfe3799 (diff)
py: Convert [u]int to mp_[u]int_t where appropriate.
Addressing issue #50.
Diffstat (limited to 'py/vstr.c')
-rw-r--r--py/vstr.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/py/vstr.c b/py/vstr.c
index 3a021a9ae..c23bbaa00 100644
--- a/py/vstr.c
+++ b/py/vstr.c
@@ -263,24 +263,6 @@ copy:
vstr->buf[vstr->len] = 0;
}
-/*
-void vstr_add_le16(vstr_t *vstr, unsigned short v) {
- byte *buf = (byte*)vstr_add_len(vstr, 2);
- if (buf == NULL) {
- return;
- }
- encode_le16(buf, v);
-}
-
-void vstr_add_le32(vstr_t *vstr, unsigned int v) {
- byte *buf = (byte*)vstr_add_len(vstr, 4);
- if (buf == NULL) {
- return;
- }
- encode_le32(buf, v);
-}
-*/
-
char *vstr_ins_blank_bytes(vstr_t *vstr, size_t byte_pos, size_t byte_len) {
if (vstr->had_error) {
return NULL;