mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ebd358dfd7
This patch was automatically generated by the following script: #!/bin/bash # Command to convert PRUnichar to char16_t function convert() { echo "Converting $1 to $2..." find . ! -wholename "*nsprpub*" \ ! -wholename "*security/nss*" \ ! -wholename "*modules/libmar*" \ ! -wholename "*/.hg*" \ ! -wholename "obj-ff-dbg*" \ ! -name prtypes.h \ ! -name Char16.h \ -type f \ \( -iname "*.cpp" \ -o -iname "*.h" \ -o -iname "*.c" \ -o -iname "*.cc" \ -o -iname "*.idl" \ -o -iname "*.ipdl" \ -o -iname "*.ipdlh" \ -o -iname "*.mm" \) | \ xargs -n 1 sed -i -e "s/\b$1\b/$2/g" } convert PRUnichar char16_t
69 lines
1.7 KiB
Plaintext
69 lines
1.7 KiB
Plaintext
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/* 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/. */
|
|
|
|
#include "nsIRDFNode.idl"
|
|
|
|
%{C++
|
|
#include "nscore.h" // for char16_t
|
|
%}
|
|
|
|
[ptr] native const_octet_ptr(const uint8_t);
|
|
|
|
/**
|
|
* A literal node in the graph, whose value is a string.
|
|
*/
|
|
[scriptable, uuid(E0C493D2-9542-11d2-8EB8-00805F29F370)]
|
|
interface nsIRDFLiteral : nsIRDFNode {
|
|
/**
|
|
* The Unicode string value of the literal.
|
|
*/
|
|
readonly attribute wstring Value;
|
|
|
|
/**
|
|
* An unscriptable version used to avoid a string copy. Meant
|
|
* for use as a performance optimization.
|
|
*/
|
|
[noscript] void GetValueConst([shared] out wstring aConstValue);
|
|
};
|
|
|
|
/**
|
|
* A literal node in the graph, whose value is a date
|
|
*/
|
|
[scriptable, uuid(E13A24E1-C77A-11d2-80BE-006097B76B8E)]
|
|
interface nsIRDFDate : nsIRDFNode {
|
|
/**
|
|
* The date value of the literal
|
|
*/
|
|
readonly attribute PRTime Value;
|
|
};
|
|
|
|
/**
|
|
* A literal node in the graph, whose value is an integer
|
|
*/
|
|
[scriptable, uuid(E13A24E3-C77A-11d2-80BE-006097B76B8E)]
|
|
interface nsIRDFInt : nsIRDFNode {
|
|
/**
|
|
* The integer value of the literal
|
|
*/
|
|
readonly attribute long Value;
|
|
};
|
|
|
|
/**
|
|
* A literal node in the graph, whose value is arbitrary
|
|
* binary data.
|
|
*/
|
|
[scriptable, uuid(237f85a2-1dd2-11b2-94af-8122582fc45e)]
|
|
interface nsIRDFBlob : nsIRDFNode {
|
|
/**
|
|
* The binary data.
|
|
*/
|
|
[noscript] readonly attribute const_octet_ptr value;
|
|
|
|
/**
|
|
* The data's length.
|
|
*/
|
|
readonly attribute long length;
|
|
};
|