Bug 1854550 - pt 2. Move PHC into memory/build r=glandium
[gecko.git] / ipc / ipdl / msgtype-components
blob4a01d3a71cc38727fcb65ff6aa222506efb54707
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 import sys
8 msgid = int(sys.argv[1])
9 protocol = (msgid >> 16)
10 msg = (msgid - (protocol << 16))
12 print('protocol', protocol, 'message', msg)