aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/embedding/eutil.rs
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-02-18 09:44:25 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-05-26 16:43:10 -0400
commitfaa7f1885cc0aa830b2c917cf6a1dba17d523013 (patch)
tree8f4cacaf6b5e3019a38f21c996eb43a634bb3fdf /src/components/embedding/eutil.rs
parent4d188e2ccdc382566d794c808ab6a08ab6171966 (diff)
downloadservo-faa7f1885cc0aa830b2c917cf6a1dba17d523013.tar.gz
servo-faa7f1885cc0aa830b2c917cf6a1dba17d523013.zip
serious mode engaged: start of embedding crate using FFI
current status ============= [ ] Successfully crashing CEF [X] Successfully not crashing CEF
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()
+}