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
Gabriela Bittencourt
purr-data
Commits
a0166bc9
Commit
a0166bc9
authored
Sep 04, 2020
by
Guillem Bartrina
Browse files
add sys_relativizepath to m_pd.h
parent
c8fcdd3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/src/g_editor.c
View file @
a0166bc9
...
...
@@ -2293,8 +2293,6 @@ static int do_replace_subpatches(t_canvas *x, const char* label, t_binbuf *origi
return
num
;
}
int
sys_relativizepath
(
const
char
*
from
,
const
char
*
to
,
char
*
result
);
static
void
abstracthandler_callback
(
t_abstracthandler
*
x
,
t_symbol
*
s
)
{
char
fullpath
[
MAXPDSTRING
],
label
[
MAXPDSTRING
],
*
dir
,
*
filename
,
*
o
=
s
->
s_name
;
...
...
pd/src/m_pd.h
View file @
a0166bc9
...
...
@@ -557,6 +557,7 @@ EXTERN int sys_isreadablefile(const char *name);
EXTERN
int
sys_isabsolutepath
(
const
char
*
dir
);
EXTERN
void
sys_bashfilename
(
const
char
*
from
,
char
*
to
);
EXTERN
void
sys_unbashfilename
(
const
char
*
from
,
char
*
to
);
EXTERN
int
sys_relativizepath
(
const
char
*
from
,
const
char
*
to
,
char
*
result
);
EXTERN
int
open_via_path
(
const
char
*
name
,
const
char
*
ext
,
const
char
*
dir
,
char
*
dirresult
,
char
**
nameresult
,
unsigned
int
size
,
int
bin
);
EXTERN
int
sched_geteventno
(
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