Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/ipc/ipdl/test/gtest/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 748 B image not shown  

Quelle  PTestJSON.ipdl   Sprache: unbekannt

 
include protocol PTestJSONHandle;

using struct mozilla::void_t from "mozilla/ipc/IPCCore.h";
using struct mozilla::null_t from "mozilla/ipc/IPCCore.h";

namespace mozilla {
namespace _ipdltest {

[Comparable]
struct KeyValue {
    nsString key;
    JSONVariant value;
};

[Comparable]
union JSONVariant {
    void_t;
    null_t;
    bool;
    int;
    double;
    nsString;
    PTestJSONHandle;
    KeyValue[];
    JSONVariant[];
};

[ChildProc=any, ChildImpl=virtual, ParentImpl=virtual]
sync protocol PTestJSON {
    manages PTestJSONHandle;

child:
    async Start();

parent:
    async PTestJSONHandle();
    sync Test(JSONVariant i)
        returns (JSONVariant o);
    async __delete__();
};

} // namespace mozilla
} // namespace _ipdltest

[ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet)  ]