summaryrefslogtreecommitdiff
path: root/sal/android
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-31 16:19:17 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-31 16:19:17 +0200
commit2c11a8fed62ed6b3aefc2a00cc0ae9c40e9b4a94 (patch)
tree6d174db72856117e744c63322853c233b4cb7efe /sal/android
parent6e2e4c4c674ad2b6d1b3aa3759c7c838a0b16728 (diff)
Add lo_dlclose()
Diffstat (limited to 'sal/android')
-rw-r--r--sal/android/lo-bootstrap.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c
index b9ed8dcd01ae..1140515fb4f2 100644
--- a/sal/android/lo-bootstrap.c
+++ b/sal/android/lo-bootstrap.c
@@ -960,6 +960,19 @@ lo_dladdr(void *addr,
}
__attribute__ ((visibility("default")))
+int
+lo_dlclose(void *handle)
+{
+ /* As we don't know when the reference count for a dlopened shared
+ * object drops to zero, we wouldn't know when to remove it from
+ * our list, so we can't call dlclose().
+ */
+ LOGI("lo_dlclose(%p)", handle);
+
+ return 0;
+}
+
+__attribute__ ((visibility("default")))
void *
lo_apkentry(const char *filename,
size_t *size)