Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nerrons
purr-data
Commits
714ed5bb
"pd/src/configure.in" did not exist on "bb762a31e1ad096e92091840e6f95fca320fc3c2"
Commit
714ed5bb
authored
16 years ago
by
Miller Puckette
Browse files
Options
Downloads
Patches
Plain Diff
pipe bug fix
parent
067c28c6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/notes.txt
+2
-1
2 additions, 1 deletion
src/notes.txt
src/x_time.c
+11
-5
11 additions, 5 deletions
src/x_time.c
with
13 additions
and
6 deletions
src/notes.txt
+
2
−
1
View file @
714ed5bb
...
...
@@ -50,6 +50,8 @@ real-time spectrum grapher
document ||, |, etc, better
features:
pasting should look at current mouse location
optionally suppress leading "." directories and files on "open"
change config.h to #ifdef _MSC_VER (include MSW fake) else include a real one
stick snprintf alias in the MSW fake.
flag to prevent unlocking patches
...
...
@@ -80,7 +82,6 @@ tables:
flag to hide array names
think of a way to embed abstractions in a patch
make watchdog work for MACOSX
pasting should look at current mouse location
delete-in-rectangle message to Pds
put serial object in main dist (see rat@telecoma, Apr. 25; winfried May 22)
open/save panel to take messages to init directory, and to set extent list
...
...
This diff is collapsed.
Click to expand it.
src/x_time.c
+
11
−
5
View file @
714ed5bb
...
...
@@ -334,7 +334,7 @@ static void *pipe_new(t_symbol *s, int argc, t_atom *argv)
{
char
stupid
[
80
];
atom_string
(
&
argv
[
argc
-
1
],
stupid
,
79
);
p
ost
(
"pipe: %s: bad time delay value"
,
stupid
);
p
d_error
(
x
,
"pipe: %s: bad time delay value"
,
stupid
);
deltime
=
0
;
}
else
deltime
=
argv
[
argc
-
1
].
a_w
.
w_float
;
...
...
@@ -385,7 +385,7 @@ static void *pipe_new(t_symbol *s, int argc, t_atom *argv)
}
else
{
if
(
c
!=
'f'
)
error
(
"pack
: %s: bad type"
,
if
(
c
!=
'f'
)
pd_
error
(
x
,
"pipe
: %s: bad type"
,
ap
->
a_w
.
w_symbol
->
s_name
);
SETFLOAT
(
&
vp
->
p_atom
,
0
);
vp
->
p_outlet
=
outlet_new
(
&
x
->
x_obj
,
&
s_float
);
...
...
@@ -437,7 +437,7 @@ static void hang_tick(t_hang *h)
case
A_POINTER
:
if
(
gpointer_check
(
w
->
w_gpointer
,
1
))
outlet_pointer
(
p
->
p_outlet
,
w
->
w_gpointer
);
else
p
ost
(
"pipe: stale pointer"
);
else
p
d_error
(
x
,
"pipe: stale pointer"
);
break
;
}
}
...
...
@@ -454,7 +454,13 @@ static void pipe_list(t_pipe *x, t_symbol *s, int ac, t_atom *av)
t_atom
*
ap
;
t_word
*
w
;
h
->
h_gp
=
(
t_gpointer
*
)
getbytes
(
x
->
x_nptr
*
sizeof
(
t_gpointer
));
if
(
ac
>
n
)
ac
=
n
;
if
(
ac
>
n
)
{
if
(
av
[
n
].
a_type
==
A_FLOAT
)
x
->
x_deltime
=
av
[
n
].
a_w
.
w_float
;
else
pd_error
(
x
,
"pipe: symbol or pointer in time inlet"
);
ac
=
n
;
}
for
(
i
=
0
,
gp
=
x
->
x_gp
,
p
=
x
->
x_vec
,
ap
=
av
;
i
<
ac
;
i
++
,
p
++
,
ap
++
)
{
...
...
@@ -465,7 +471,7 @@ static void pipe_list(t_pipe *x, t_symbol *s, int ac, t_atom *av)
case
A_POINTER
:
gpointer_unset
(
gp
);
if
(
ap
->
a_type
!=
A_POINTER
)
p
ost
(
"pipe: bad pointer"
);
p
d_error
(
x
,
"pipe: bad pointer"
);
else
{
*
gp
=
*
(
ap
->
a_w
.
w_gpointer
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment