Skip to content

Commit 4de8df3

Browse files
committed
chore: improve native comments
1 parent 9688fde commit 4de8df3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

permissions.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// Dummy value to pass into function parameter for ThreadSafeFunction
1616
Napi::Value NoOp(const Napi::CallbackInfo& info) { return info.Env().Undefined(); }
1717

18+
// Returns the user's home folder path
1819
NSString* GetUserHomeFolderPath() {
1920
NSString* path;
2021
BOOL isSandboxed = (nil != NSProcessInfo.processInfo.environment[@"APP_SANDBOX_CONTAINER_ID"]);
@@ -109,6 +110,7 @@
109110
return auth_status;
110111
}
111112

113+
// Returns a status indicating whether or not the user has authorized location access
112114
std::string LocationAuthStatus() {
113115
std::string auth_status = "not determined";
114116

0 commit comments

Comments
 (0)