using Pointer = UInt32;
using TimestampT = Uint64
# Return the resolution of a clock.
# Note: This is similar to clock_getres in POSIX.
clockResGet @2 (
clock_id :ClockId, # The clock for which to return the resolution.
resolution :Pointer $type("TimestampT") # The resolution of the clock.
) -> (
error :ErrnoT
);
(func $clockResGet(param $clock_id i32)(param $resolution_pntr i32) (return i32))
using Pointer = UInt32;
using TimestampT = Uint64
# Return the resolution of a clock.
# Note: This is similar to clock_getres in POSIX.
clockResGet @2 (
clock_id :ClockId, # The clock for which to return the resolution.
) -> (
error :ErrnoT,
);
using Pointer = UInt32;
using TimestampT = Uint64
# Return the resolution of a clock.
# Note: This is similar to clock_getres in POSIX.
clockResGet @2 (
clock_id :ClockId, # The clock for which to return the resolution.
) -> (
error :ErrnoT,
resolution :TimestampT $arg_index(1)
);
Hello,I'm currently investigating whether capt'n proto schema would be appropriate for describing Webassebly interfaces. I'm attempting to translate this interface to capn proto schema. I several questions and I'm sure I'll have more as the work progresses.1. Webassebly will soon have opaque references. How would you represent reference types in capt'n proto?
2. Is annotation the correct way to represent pointers? for example
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+...@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAJouXQ%3DYWW-L4Rp5JZHD5CGTbhiKypWuoP5HJ10CxKqL8A6Z%3Dg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to capn...@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAJouXQ%3DYWW-L4Rp5JZHD5CGTbhiKypWuoP5HJ10CxKqL8A6Z%3Dg%40mail.gmail.com.
--Cheers,
--MarkM--Cheers,
--MarkM
You received this message because you are subscribed to a topic in the Google Groups "Cap'n Proto" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/capnproto/faUdrdqBVtI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to capnproto+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/e9ee73e2-9950-45f6-ba83-c8864f217a32%40googlegroups.com.