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
6b3ae079
Commit
6b3ae079
authored
Jan 01, 2018
by
Jonathan Wilkes
Browse files
Merge branch 'madamdata/purr-data-fix-function-name'
parents
f6a5677a
51807325
Changes
4
Hide whitespace changes
Inline
Side-by-side
externals/ggee/gui/image.c
View file @
6b3ae079
...
...
@@ -465,7 +465,7 @@ static void image_setwidget(void)
static
void
image_free
(
t_image
*
x
)
{
//sys_vgui("image delete img%x\n", x);
gui_vmess
(
"gui_
draw
image_free"
,
"x"
,
x
);
gui_vmess
(
"gui_image_free"
,
"x"
,
x
);
if
(
x
->
x_receive
)
{
pd_unbind
(
&
x
->
x_obj
.
ob_pd
,
x
->
x_receive
);
...
...
externals/tof/src/imagebang.c
View file @
6b3ae079
...
...
@@ -305,8 +305,8 @@ static void imagebang_free(t_imagebang *x) {
sprintf
(
key_a
,
"%lx_a"
,
(
long
unsigned
int
)
x
);
sprintf
(
key_b
,
"%lx_b"
,
(
long
unsigned
int
)
x
);
gui_vmess
(
"gui_
draw
image_free"
,
"s"
,
key_a
);
gui_vmess
(
"gui_
draw
image_free"
,
"s"
,
key_b
);
gui_vmess
(
"gui_image_free"
,
"s"
,
key_a
);
gui_vmess
(
"gui_image_free"
,
"s"
,
key_b
);
if
(
x
->
receive
)
{
pd_unbind
(
&
x
->
x_obj
.
ob_pd
,
x
->
receive
);
}
...
...
pd/nw/pdgui.js
View file @
6b3ae079
...
...
@@ -3619,7 +3619,7 @@ function gui_drawimage_new(obj_tag, file_path, canvasdir, flags) {
pd_cache
.
set
(
obj_tag
,
drawimage_data
);
// add the data to container
}
function
gui_
draw
image_free
(
obj_tag
)
{
function
gui_image_free
(
obj_tag
)
{
var
c
=
pd_cache
.
get
(
obj_tag
);
if
(
c
)
{
pd_cache
.
free
(
obj_tag
);
// empty the image(s)
...
...
pd/src/g_template.c
View file @
6b3ae079
...
...
@@ -8499,7 +8499,7 @@ static void drawimage_free(t_drawimage *x)
//sprintf(buf, ".x%lx", (t_int)x);
sprintf(buf, "x%lx", (long unsigned int)x);
pd_unbind(&x->x_obj.ob_pd, gensym(buf));
gui_vmess("gui_
draw
image_free", "x", x);
gui_vmess("gui_image_free", "x", x);
}
static void drawimage_setup(void)
...
...
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