Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Side by Side Diff: mojo/nacl/sfi/nacl_bindings_generator/interface.py

Issue 1398213003: Refactored Non-SFI and SFI NaCl into separate directories. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # pylint: disable=F0401 5 # pylint: disable=F0401
6 6
7 import interface_dsl 7 import interface_dsl
8 8
9 def MakeInterface(): 9 def MakeInterface():
10 mojo = interface_dsl.Interface() 10 mojo = interface_dsl.Interface()
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 # This function is not provided by the Mojo system APIs, but instead allows 126 # This function is not provided by the Mojo system APIs, but instead allows
127 # trusted code to provide a handle for use by untrusted code. See the 127 # trusted code to provide a handle for use by untrusted code. See the
128 # implementation in mojo_syscall.cc.tmpl. 128 # implementation in mojo_syscall.cc.tmpl.
129 f = mojo.Func('_MojoGetInitialHandle', 'MojoResult') 129 f = mojo.Func('_MojoGetInitialHandle', 'MojoResult')
130 f.Param('handle').Out('MojoHandle') 130 f.Param('handle').Out('MojoHandle')
131 131
132 mojo.Finalize() 132 mojo.Finalize()
133 133
134 return mojo 134 return mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698