aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/embedding/eutil.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/embedding/eutil.rs')
-rw-r--r--src/components/embedding/eutil.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/embedding/eutil.rs b/src/components/embedding/eutil.rs
new file mode 100644
index 00000000000..f378d306614
--- /dev/null
+++ b/src/components/embedding/eutil.rs
@@ -0,0 +1,7 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+pub fn fptr_is_null(fptr: *u8) -> bool {
+ fptr.is_null()
+}