Bug 1726693 [wpt PR 30100] - Web Share: fix various Permissions Policy things, a...
[gecko.git] / ipc / ipdl / msgtype-components
blob35229182a22c80b5df1a4dae90a72e580a34889e
1 #!/usr/bin/python
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 from __future__ import print_function
8 import sys
10 msgid = int(sys.argv[1])
11 protocol = (msgid >> 16)
12 msg = (msgid - (protocol << 16))
14 print('protocol', protocol, 'message', msg)