ipc/ipdl/msgtype-components
author ffxbld <ffxbld@mozilla.com>
Fri, 26 Feb 2021 18:05:47 +0000
changeset 635499 65eadf76227a1ca9bdb2b24ad8924908da961e86
parent 510125 0bb1f2417265f9c9fbcf1a07f553ea08ad7308d5
permissions -rw-r--r--
No Bug, mozilla-release repo-update remote-settings - a=repo-update r=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D106649

#!/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/.

from __future__ import print_function

import sys

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

print('protocol', protocol, 'message', msg)