File tree Expand file tree Collapse file tree 5 files changed +303
-114
lines changed
Expand file tree Collapse file tree 5 files changed +303
-114
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ typedef void(PAL_CALL* PalLogCallback)(
216216/**
217217 * @enum PalResult
218218 * @brief Codes returned by most PAL functions to specify success or failure.
219+ * This is not a bitmask.
219220 *
220221 * `PAL_RESULT_SUCCESS` code means the operation completed successfully. Any
221222 * other value indicates an error.
@@ -374,7 +375,7 @@ typedef struct {
374375 *
375376 * @return A copy of PAL runtime version.
376377 *
377- * @note This function is thread-safe
378+ * @note This function is thread-safe and may be called from any thread.
378379 *
379380 * @sa palGetVersionString()
380381 * @sa PalVersion
@@ -637,7 +638,8 @@ static inline void PAL_CALL palUnpackUint32(
637638 * @param[out] outLow Low value of the 64-bit signed integer.
638639 * @param[out] outHigh High value of the 64-bit signed integer.
639640 *
640- * @note This function is thread-safe if `outLow` and `outHigh` are thread local.
641+ * @note This function is thread-safe if `outLow` and `outHigh` are thread
642+ * local.
641643 *
642644 * @sa palUnpackInt32()
643645 * @sa palPackUint32()
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ typedef struct {
284284} PalEventDriverCreateInfo ;
285285
286286/**
287- * @brief Creates an event driver with an event driver create info .
287+ * @brief Creates an event driver.
288288 *
289289 * An event driver is used to signal events between multiple systems.
290290 * It it used to shared information from one system or entity to another.
@@ -296,15 +296,8 @@ typedef struct {
296296 * @param[out] outEventDriver Pointer to a PalEventDriver to recieve the created
297297 * event driver.
298298 *
299- * @return
300- * - `PAL_RESULT_SUCCESS` on success.
301- *
302- * - `PAL_RESULT_NULL_POINTER` if `info` or `outEventDriver` is nullptr.
303- *
304- * - `PAL_RESULT_OUT_MEMORY` if there is not enough memory.
305- *
306- * - `PAL_RESULT_INVALID_ALLOCATOR` if the allocator's function pointers are not
307- * fully set.
299+ * @return `PAL_RESULT_SUCCESS` on success or an appropriate result code on
300+ * failure. Call palFormatResult() for more information.
308301 *
309302 * @note This function may be called from any thread, but not concurrently.
310303 * Users must ensure synchronization.
You can’t perform that action at this time.
0 commit comments