Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
YARAMALA SIVA SAI VARDHAN REDDY
purr-data
Commits
f77b2a5a
Commit
f77b2a5a
authored
17 years ago
by
Miller Puckette
Browse files
Options
Downloads
Patches
Plain Diff
0.41-0 test 11
parent
8703326d
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/5.reference/declare-help.pd
+10
-3
10 additions, 3 deletions
doc/5.reference/declare-help.pd
src/m_pd.h
+1
-1
1 addition, 1 deletion
src/m_pd.h
src/s_file.c
+3
-0
3 additions, 0 deletions
src/s_file.c
src/s_main.c
+3
-0
3 additions, 0 deletions
src/s_main.c
with
17 additions
and
4 deletions
doc/5.reference/declare-help.pd
+
10
−
3
View file @
f77b2a5a
#N canvas 103 177 6
45 448
12;
#N canvas 103 177 6
18 583
12;
#X declare;
#X obj 48 10 declare;
#X text 120 11 - set environment for loading patch;
#X text 376 406 updated for Pd version 0.4;
#X text 44 40 A declare object adds one or more directories to the
search path \, and/or pre-loads one or more libraries ("extensions")
to Pd in preparation for opening the patch from a file. Usage is "declare
...
...
@@ -12,7 +11,6 @@ to Pd in preparation for opening the patch from a file. Usage is "declare
#X text 31 146 -path;
#X text 31 162 -stdpath;
#X text 129 146 add to search path \, relative to the patch;
#X text 129 163 add to search path \, relative to the Pd;
#X text 129 182 load a library \, relative to the patch;
#X text 129 199 load a library \, relative to Pd;
#X text 40 231 (for any of these you may use a full pathname such as
...
...
@@ -24,3 +22,12 @@ supporting files in a subdirectory "more" \, you can put an object
loaded. Or \, if you have zexy installed in the directory extra/zexy
(in the Pd installation") you can get it using "declare -stdpath extra/zexy".
;
#X text 129 163 add to search path \, relative to Pd;
#X text 367 557 updated for Pd version 0.41;
#X text 42 395 WARNING: you might want to avoid putting "declare" statements
inside abstractions \, as their effects will extend to the calling
patch. As of version 0.41 \, "declare path" is ignored inside abstractions
\, although \, probably unwisely \, "-stdpath" takes effect (on the
calling patch as well as the abstraction.);
#X text 42 494 BUG: The name "-stdpath" is confusing \, as it has a
quite different effect from "-stdpath" on the pd command line.;
This diff is collapsed.
Click to expand it.
src/m_pd.h
+
1
−
1
View file @
f77b2a5a
...
...
@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 41
#define PD_BUGFIX_VERSION 0
#define PD_TEST_VERSION "test1
0
"
#define PD_TEST_VERSION "test1
1
"
/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */
...
...
This diff is collapsed.
Click to expand it.
src/s_file.c
+
3
−
0
View file @
f77b2a5a
...
...
@@ -28,6 +28,9 @@
#include
<windows.h>
#include
<tchar.h>
#endif
#ifdef _MSC_VER
/* This is only for Microsoft's compiler, not cygwin, e.g. */
#define snprintf sprintf_s
#endif
int
sys_defeatrt
;
t_symbol
*
sys_flags
=
&
s_
;
...
...
This diff is collapsed.
Click to expand it.
src/s_main.c
+
3
−
0
View file @
f77b2a5a
...
...
@@ -21,6 +21,9 @@
#include
<windows.h>
#include
<winbase.h>
#endif
#ifdef _MSC_VER
/* This is only for Microsoft's compiler, not cygwin, e.g. */
#define snprintf sprintf_s
#endif
char
*
pd_version
;
char
pd_compiletime
[]
=
__TIME__
;
...
...
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