diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-01-18 18:10:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-01-18 18:10:17 +0300 |
commit | 09c2fd6f11eb00809678e869aec32f305e03ef02 (patch) | |
tree | bd8b41d8c089f1eef4d5d87b98e3b07c6c9ce275 /source/blender/blenlib/BLI_blenlib.h | |
parent | afc53a1eba9041e69e7bbb95a7a9f43aeb804931 (diff) |
Linux only addition to know for sure the path of blender because sometimes the Play button doesn't work depending on how blender is started.
This uses binreloc - http://autopackage.org/docs/binreloc/
it should also solve the problem of python scripts not being found.
Diffstat (limited to 'source/blender/blenlib/BLI_blenlib.h')
-rw-r--r-- | source/blender/blenlib/BLI_blenlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index eb13ddc318c..42b3bf2ce14 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -254,7 +254,7 @@ void BLI_free_file_lines(struct LinkNode *lines); * @param fullname The full path and full name of the executable * @param name The name of the executable (usually argv[0]) to be checked */ -void BLI_where_am_i(char *fullname, char *name); +void BLI_where_am_i(char *fullname, const char *name); /** * determines the full path to the application bundle on OS X @@ -297,7 +297,7 @@ int BLI_gzip(char *from, char *to); int BLI_delete(char *file, int dir, int recursive); int BLI_move(char *file, char *to); int BLI_touch(char *file); -char *BLI_last_slash(char *string); +char *BLI_last_slash(const char *string); /* BLI_rct.c */ /** |