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

Side by Side Diff: nacl_bindings_generator/interface.py

Issue 955113002: Rearrange mojo/nacl files. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 9 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 # This function is not provided by the Mojo system APIs, but instead allows 114 # This function is not provided by the Mojo system APIs, but instead allows
115 # trusted code to provide a handle for use by untrusted code. See the 115 # trusted code to provide a handle for use by untrusted code. See the
116 # implementation in mojo_syscall.cc.tmpl. 116 # implementation in mojo_syscall.cc.tmpl.
117 f = mojo.Func('_MojoGetInitialHandle', 'MojoResult') 117 f = mojo.Func('_MojoGetInitialHandle', 'MojoResult')
118 f.Param('handle').Out('MojoHandle') 118 f.Param('handle').Out('MojoHandle')
119 119
120 mojo.Finalize() 120 mojo.Finalize()
121 121
122 return mojo 122 return mojo
OLDNEW
« no previous file with comments | « nacl_bindings_generator/generate_nacl_bindings.py ('k') | nacl_bindings_generator/interface_dsl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698