Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
dcc1b4de
Commit
dcc1b4de
authored
Jun 03, 2016
by
Jonathan Wilkes
Browse files
Vanilla 0.47 backport 7: g_scalar.c
parent
34818426
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/src/g_scalar.c
View file @
dcc1b4de
...
@@ -103,6 +103,11 @@ void word_init(t_word *data, t_template *template, t_gpointer *gp)
...
@@ -103,6 +103,11 @@ void word_init(t_word *data, t_template *template, t_gpointer *gp)
post
(
"eval'd a canvas with addy x%lx"
,
(
long
unsigned
int
)
post
(
"eval'd a canvas with addy x%lx"
,
(
long
unsigned
int
)
wp
->
w_list
);
wp
->
w_list
);
}
}
else
if
(
type
==
DT_TEXT
)
{
// Miller's [text] object addition
wp
->
w_binbuf
=
binbuf_new
();
}
}
}
}
}
...
@@ -167,6 +172,8 @@ void word_free(t_word *wp, t_template *template)
...
@@ -167,6 +172,8 @@ void word_free(t_word *wp, t_template *template)
array_free
(
wp
[
i
].
w_array
);
array_free
(
wp
[
i
].
w_array
);
else
if
(
dt
->
ds_type
==
DT_LIST
)
else
if
(
dt
->
ds_type
==
DT_LIST
)
canvas_free
(
wp
[
i
].
w_list
);
canvas_free
(
wp
[
i
].
w_list
);
else
if
(
dt
->
ds_type
==
DT_TEXT
)
binbuf_free
(
wp
[
i
].
w_binbuf
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment