summaryrefslogtreecommitdiffstats
path: root/toolkit/components/uniffi-fixtures/custom-types/src/custom-types.udl
blob: 8fef8ff41a182baa92b703b8b30d238824cbcb7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Custom]
typedef string Url;

[Custom]
typedef i64 Handle;

dictionary CustomTypesDemo {
    Url url;
    Handle handle;
};

namespace custom_types {
    CustomTypesDemo get_custom_types_demo(CustomTypesDemo? demo);
};