mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use nsACString to pass string params for bindings
This commit is contained in:
parent
eeada5ac51
commit
3303a978b9
3 changed files with 39 additions and 46 deletions
|
@ -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",
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue