Commit a0166bc9 authored by Guillem Bartrina's avatar Guillem Bartrina
Browse files

add sys_relativizepath to m_pd.h

parent c8fcdd3e
...@@ -2293,8 +2293,6 @@ static int do_replace_subpatches(t_canvas *x, const char* label, t_binbuf *origi ...@@ -2293,8 +2293,6 @@ static int do_replace_subpatches(t_canvas *x, const char* label, t_binbuf *origi
return num; return num;
} }
int sys_relativizepath(const char *from, const char *to, char *result);
static void abstracthandler_callback(t_abstracthandler *x, t_symbol *s) static void abstracthandler_callback(t_abstracthandler *x, t_symbol *s)
{ {
char fullpath[MAXPDSTRING], label[MAXPDSTRING], *dir, *filename, *o = s->s_name; char fullpath[MAXPDSTRING], label[MAXPDSTRING], *dir, *filename, *o = s->s_name;
......
...@@ -557,6 +557,7 @@ EXTERN int sys_isreadablefile(const char *name); ...@@ -557,6 +557,7 @@ EXTERN int sys_isreadablefile(const char *name);
EXTERN int sys_isabsolutepath(const char *dir); EXTERN int sys_isabsolutepath(const char *dir);
EXTERN void sys_bashfilename(const char *from, char *to); EXTERN void sys_bashfilename(const char *from, char *to);
EXTERN void sys_unbashfilename(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, EXTERN int open_via_path(const char *name, const char *ext, const char *dir,
char *dirresult, char **nameresult, unsigned int size, int bin); char *dirresult, char **nameresult, unsigned int size, int bin);
EXTERN int sched_geteventno(void); EXTERN int sched_geteventno(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment