mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Regenerate bindings.
This commit is contained in:
parent
edf121324e
commit
0e6bc9f60b
2 changed files with 11 additions and 1 deletions
|
@ -146,6 +146,10 @@ extern "C" {
|
||||||
pub fn Gecko_IsRootElement(element: *mut RawGeckoElement) -> bool;
|
pub fn Gecko_IsRootElement(element: *mut RawGeckoElement) -> bool;
|
||||||
pub fn Gecko_LocalName(element: *mut RawGeckoElement) -> *mut nsIAtom;
|
pub fn Gecko_LocalName(element: *mut RawGeckoElement) -> *mut nsIAtom;
|
||||||
pub fn Gecko_Namespace(element: *mut RawGeckoElement) -> *mut nsIAtom;
|
pub fn Gecko_Namespace(element: *mut RawGeckoElement) -> *mut nsIAtom;
|
||||||
|
pub fn Gecko_GetElementId(element: *mut RawGeckoElement) -> *mut nsIAtom;
|
||||||
|
pub fn Gecko_ClassOrClassList(element: *mut RawGeckoElement,
|
||||||
|
class_: *mut *mut nsIAtom,
|
||||||
|
classList: *mut *mut *mut nsIAtom) -> u32;
|
||||||
pub fn Gecko_GetNodeData(node: *mut RawGeckoNode) -> *mut ServoNodeData;
|
pub fn Gecko_GetNodeData(node: *mut RawGeckoNode) -> *mut ServoNodeData;
|
||||||
pub fn Gecko_SetNodeData(node: *mut RawGeckoNode,
|
pub fn Gecko_SetNodeData(node: *mut RawGeckoNode,
|
||||||
data: *mut ServoNodeData);
|
data: *mut ServoNodeData);
|
||||||
|
|
|
@ -75,10 +75,16 @@ eval ./rust-bindgen/target/debug/bindgen \
|
||||||
-x c++ -std=gnu++0x \
|
-x c++ -std=gnu++0x \
|
||||||
"-I$DIST_INCLUDE" \
|
"-I$DIST_INCLUDE" \
|
||||||
"-I$DIST_INCLUDE/nspr/" \
|
"-I$DIST_INCLUDE/nspr/" \
|
||||||
"-I$SRCDIR/nsprpub/pr/include/" \
|
"-I$1/nsprpub/pr/include/" \
|
||||||
$PLATFORM_DEPENDENT_DEFINES \
|
$PLATFORM_DEPENDENT_DEFINES \
|
||||||
|
-DMOZILLA_INTERNAL_API \
|
||||||
|
-DMOZ_STYLO_BINDINGS=1 \
|
||||||
|
-DJS_DEBUG=1 \
|
||||||
|
-DDEBUG=1 -DTRACING=1 -DOS_POSIX=1 \
|
||||||
|
-DIMPL_LIBXUL \
|
||||||
-o ../bindings.rs \
|
-o ../bindings.rs \
|
||||||
-no-type-renaming \
|
-no-type-renaming \
|
||||||
|
-include "$1/mozilla-config.h" \
|
||||||
"$DIST_INCLUDE/mozilla/ServoBindings.h" \
|
"$DIST_INCLUDE/mozilla/ServoBindings.h" \
|
||||||
-match "ServoBindings.h" \
|
-match "ServoBindings.h" \
|
||||||
-match "nsStyleStructList.h" \
|
-match "nsStyleStructList.h" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue