ipc/ipdl/msgtype-components
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Tue, 06 Nov 2018 15:24:30 +0000
changeset 501055 ba018e603eb830d7f7415c8e0f77200b3b40fd50
parent 98983 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 510125 0bb1f2417265f9c9fbcf1a07f553ea08ad7308d5
permissions -rw-r--r--
Automatic version bump CLOSED TREE NO BUG a=release DONTBUILD

#!/usr/bin/python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


import sys

msgid = int(sys.argv[1])
protocol = (msgid >> 16)
msg = (msgid - (protocol << 16))

print 'protocol', protocol, 'message', msg