Use nsACString to pass string params for bindings

This commit is contained in:
Xidorn Quan 2016-10-25 10:21:53 +11:00
parent eeada5ac51
commit 3303a978b9
3 changed files with 39 additions and 46 deletions

View file

@ -233,7 +233,13 @@ COMPILATION_TARGETS = {
# Generation of the ffi bindings.
"bindings": {
"target_dir": "../gecko_bindings",
"raw_lines": [],
"blacklist_types": [
"nsACString_internal",
],
"raw_lines": [
"pub use nsstring::nsACString;",
"type nsACString_internal = nsACString;",
],
"flags": [
"--ignore-methods",
],