diff options
Diffstat (limited to 'toolkit/components/uniffi-fixtures/custom-types/src/custom-types.udl')
-rw-r--r-- | toolkit/components/uniffi-fixtures/custom-types/src/custom-types.udl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/toolkit/components/uniffi-fixtures/custom-types/src/custom-types.udl b/toolkit/components/uniffi-fixtures/custom-types/src/custom-types.udl new file mode 100644 index 0000000000..8fef8ff41a --- /dev/null +++ b/toolkit/components/uniffi-fixtures/custom-types/src/custom-types.udl @@ -0,0 +1,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); +}; |