Skip to content

Commit

Permalink
Added path_clean LV2_FUNCTION (thanks bguerville)
Browse files Browse the repository at this point in the history
  • Loading branch information
esc0rtd3w committed Jun 11, 2022
1 parent c7e3c46 commit a84832a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lv2/include/lv2/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,7 @@ LV2_EXPORT int close_fs_object(void *unk, fs_object_handle_t handle);

LV2_EXPORT int get_path_by_fd(int fd, char *path);

LV2_EXPORT char* path_clean(char* path);

#endif /* __LV2_IO_H__ */

4 changes: 4 additions & 0 deletions lv2/include/lv2/symbols.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@
#define open_fs_object_symbol 0x18A970
#define close_fs_object_symbol 0x1898AC

#define path_clean_symbol 0x296738

#define storage_get_device_info_symbol 0x279B00
#define storage_get_device_config_symbol 0x278F90
#define storage_open_symbol 0x279510
Expand Down Expand Up @@ -405,6 +407,8 @@
#define open_fs_object_symbol 0x190CFC
#define close_fs_object_symbol 0x18FC38

#define path_clean_symbol 0x2B17F8

#define storage_get_device_info_symbol 0x28CA00
#define storage_get_device_config_symbol 0x28B08C
#define storage_open_symbol 0x28CC28
Expand Down
2 changes: 2 additions & 0 deletions lv2/src/io.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ LV2_FUNCTION(pathdup_from_user, pathdup_from_user_symbol)
LV2_FUNCTION(open_fs_object, open_fs_object_symbol)
LV2_FUNCTION(close_fs_object, close_fs_object_symbol)

LV2_FUNCTION(path_clean, path_clean_symbol)




0 comments on commit a84832a

Please sign in to comment.