From f67d929c24babc302eb2807251fc09b084abac2e Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Wed, 9 Mar 2022 18:38:00 -0500 Subject: Initial support for documentation extraction in C++ (#2156) * #include an absolute path didn't work - because paths were taken to always be relative. * Split doc extractor such that can be used in C++ extractor. * Compiles. Update the stdlib docs. * Fix issue on release builds. * Add support for extracting documentation to C++ extractor. * Dump out markup. Make enum value backing type take tokens. * Node::Type -> Node::Kind * More improvements around Node::Type -> Node::Kind --- docs/stdlib-doc.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'docs/stdlib-doc.md') diff --git a/docs/stdlib-doc.md b/docs/stdlib-doc.md index 126a4555e..f2489bb97 100644 --- a/docs/stdlib-doc.md +++ b/docs/stdlib-doc.md @@ -57578,6 +57578,8 @@ T OutputPatch.subscript(uint index); * `InterlockedOrU64` * `InterlockedXorU64` * `InterlockedExchangeU64` +* `InterlockedAdd64` +* `InterlockedCompareExchange64` * `InterlockedAdd` * `InterlockedAnd` * `InterlockedCompareExchange` @@ -57900,6 +57902,53 @@ uint64_t RWByteAddressBuffer.InterlockedExchangeU64( * `byteAddress` * `value` +-------------------------------------------------------------------------------- +# `RWByteAddressBuffer.InterlockedAdd64` + +## Signature + +``` +void RWByteAddressBuffer.InterlockedAdd64( + uint byteAddress, + int64_t valueToAdd, + out int64_t outOriginalValue); +void RWByteAddressBuffer.InterlockedAdd64( + uint byteAddress, + uint64_t valueToAdd, + out uint64_t outOriginalValue); +``` + +## Parameters + +* `byteAddress` +* `valueToAdd` +* `outOriginalValue` + +-------------------------------------------------------------------------------- +# `RWByteAddressBuffer.InterlockedCompareExchange64` + +## Signature + +``` +void RWByteAddressBuffer.InterlockedCompareExchange64( + uint byteAddress, + int64_t compareValue, + int64_t value, + out int64_t outOriginalValue); +void RWByteAddressBuffer.InterlockedCompareExchange64( + uint byteAddress, + uint64_t compareValue, + uint64_t value, + out uint64_t outOriginalValue); +``` + +## Parameters + +* `byteAddress` +* `compareValue` +* `value` +* `outOriginalValue` + -------------------------------------------------------------------------------- # `RWByteAddressBuffer.InterlockedAdd` -- cgit v1.2.3