[webkit-changes] [WebKit/WebKit] 90805c: Add TRASHIT() macro to set pointer to NULL in yasm...

EWS noreply at github.com
Fri Nov 11 14:55:56 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 90805ce353ec1226d339911cb524dad9e819e3e8
      https://github.com/WebKit/WebKit/commit/90805ce353ec1226d339911cb524dad9e819e3e8
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M Source/ThirdParty/libwebrtc/Source/third_party/yasm/libyasm/compat-queue.h

  Log Message:
  -----------
  Add TRASHIT() macro to set pointer to NULL in yasm/libyasm/compat-queue.h
https://bugs.webkit.org/show_bug.cgi?id=247685
<rdar://102149291>

Reviewed by Eric Carlson.

* Source/ThirdParty/libwebrtc/Source/third_party/yasm/libyasm/compat-queue.h:
(TRASHIT): Add.
- Set pointer(s) to NULL when removing an object from a linked
  list.
- Name matches the macro defined in <sys/queue.h>.
(SLIST_REMOVE):
(SLIST_REMOVE_HEAD):
(STAILQ_REMOVE):
(STAILQ_REMOVE_HEAD):
(STAILQ_REMOVE_HEAD_UNTIL):
(LIST_REMOVE):
(TAILQ_REMOVE):
- Add TRASHIT() macro to set next/prev pointers to NULL.

Canonical link: https://commits.webkit.org/256589@main




More information about the webkit-changes mailing list