| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 """This module provides shared functionality for the systems to generate | 6 """This module provides shared functionality for the systems to generate |
| 7 frog binding from the IDL database.""" | 7 frog binding from the IDL database.""" |
| 8 | 8 |
| 9 import os | 9 import os |
| 10 from generator import * | 10 from generator import * |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 if native_body: | 363 if native_body: |
| 364 native_string = " '''" + native_body + "'''" | 364 native_string = " '''" + native_body + "'''" |
| 365 | 365 |
| 366 self._members_emitter.Emit( | 366 self._members_emitter.Emit( |
| 367 '\n' | 367 '\n' |
| 368 ' $TYPE $NAME($PARAMS) native$NATIVESTRING;\n', | 368 ' $TYPE $NAME($PARAMS) native$NATIVESTRING;\n', |
| 369 TYPE=self._NarrowOutputType(info.type_name), | 369 TYPE=self._NarrowOutputType(info.type_name), |
| 370 NAME=info.name, | 370 NAME=info.name, |
| 371 PARAMS=params, | 371 PARAMS=params, |
| 372 NATIVESTRING=native_string) | 372 NATIVESTRING=native_string) |
| 373 |
| 374 def AddStaticOperation(self, info): |
| 375 pass |
| OLD | NEW |