aboutsummaryrefslogtreecommitdiffstats
path: root/src/android.h
diff options
context:
space:
mode:
authorPo Lu2023-09-02 09:28:50 +0800
committerPo Lu2023-09-02 09:30:05 +0800
commitdc1ed3dbfa012a44d65a87d22f510a71474d8123 (patch)
tree96aa3c38aa5e42bc6a23ef94e22a865d2e198623 /src/android.h
parent0346bf419a34a0ef7034483176e54727e796e32a (diff)
downloademacs-dc1ed3dbfa012a44d65a87d22f510a71474d8123.tar.gz
emacs-dc1ed3dbfa012a44d65a87d22f510a71474d8123.zip
Update Android port
* lisp/touch-screen.el (touch-screen-handle-point-up) <held>: Treat `held' as `drag' as well. * src/android.c (android_is_special_directory): Return bool rather than a pointer to the remainder of the file name, given that said pointer is never used. * src/android.h (android_is_special_directory): Modify correspondingly.
Diffstat (limited to 'src/android.h')
-rw-r--r--src/android.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android.h b/src/android.h
index a34469284d5..d4605c11ad0 100644
--- a/src/android.h
+++ b/src/android.h
@@ -54,7 +54,7 @@ extern char *android_user_full_name (struct passwd *);
54/* File I/O operations. Many of these are defined in 54/* File I/O operations. Many of these are defined in
55 androidvfs.c. */ 55 androidvfs.c. */
56 56
57extern const char *android_is_special_directory (const char *, const char *); 57extern bool android_is_special_directory (const char *, const char *);
58extern const char *android_get_home_directory (void); 58extern const char *android_get_home_directory (void);
59 59
60extern void android_vfs_init (JNIEnv *, jobject); 60extern void android_vfs_init (JNIEnv *, jobject);
@@ -238,7 +238,7 @@ extern int android_rewrite_spawn_argv (const char ***);
238 238
239/* Define a substitute for use during Emacs compilation. */ 239/* Define a substitute for use during Emacs compilation. */
240 240
241#define android_is_special_directory(name, dir) ((const char *) NULL) 241#define android_is_special_directory(name, dir) (false)
242 242
243#endif /* !ANDROID_STUBIFY */ 243#endif /* !ANDROID_STUBIFY */
244 244