summaryrefslogtreecommitdiff
path: root/FL/android.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/android.H')
-rw-r--r--FL/android.H17
1 files changed, 17 insertions, 0 deletions
diff --git a/FL/android.H b/FL/android.H
index 262ab82b7..573664984 100644
--- a/FL/android.H
+++ b/FL/android.H
@@ -25,6 +25,23 @@
# error "Never use <FL/android.H> directly; include <FL/platform.H> instead."
#endif // !FL_PLATFORM_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This is the function that application code must implement, representing
+ * the main entry to the app.
+ */
+extern int main(int argc, char **argv);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+
typedef void *Window; // used by fl_find(), fl_xid() and class Fl_X
/* Reference to the current device context