naev 0.10.4
glue_macos.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
7#include <stddef.h>
10int macos_isBundle ();
11int macos_resourcesPath ( char *res, size_t n );
12
13int macos_configPath ( char *res, size_t n );
14int macos_cachePath ( char *res, size_t n );
int macos_resourcesPath(char *res, size_t n)
Get the path to the bundle resources directory.
Definition: glue_macos.m:42
int macos_isBundle()
Determine if we're running from inside an app bundle.
Definition: glue_macos.m:33
int macos_cachePath(char *res, size_t n)
Get the cache directory path.
Definition: glue_macos.m:76
int macos_configPath(char *res, size_t n)
Get the config directory path.
Definition: glue_macos.m:67