| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "bin/builtin.h" | 5 #include "bin/builtin.h" |
| 6 #include "bin/dartutils.h" | 6 #include "bin/dartutils.h" |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 | 9 |
| 10 | 10 |
| 11 namespace dart { | 11 namespace dart { |
| 12 namespace bin { | 12 namespace bin { |
| 13 | 13 |
| 14 void FUNCTION_NAME(Filter_CreateZLibInflate)(Dart_NativeArguments args) { | 14 void FUNCTION_NAME(Filter_CreateZLibInflate)(Dart_NativeArguments args) { |
| 15 Dart_EnterScope(); | |
| 16 Dart_ThrowException(DartUtils::NewInternalError( | 15 Dart_ThrowException(DartUtils::NewInternalError( |
| 17 "ZLibInflater and Deflater not supported on this platform")); | 16 "ZLibInflater and Deflater not supported on this platform")); |
| 18 Dart_ExitScope(); | |
| 19 } | 17 } |
| 20 | 18 |
| 21 void FUNCTION_NAME(Filter_CreateZLibDeflate)(Dart_NativeArguments args) { | 19 void FUNCTION_NAME(Filter_CreateZLibDeflate)(Dart_NativeArguments args) { |
| 22 Dart_EnterScope(); | |
| 23 Dart_ExitScope(); | |
| 24 } | 20 } |
| 25 | 21 |
| 26 void FUNCTION_NAME(Filter_Process)(Dart_NativeArguments args) { | 22 void FUNCTION_NAME(Filter_Process)(Dart_NativeArguments args) { |
| 27 Dart_EnterScope(); | |
| 28 Dart_ExitScope(); | |
| 29 } | 23 } |
| 30 | 24 |
| 31 | 25 |
| 32 void FUNCTION_NAME(Filter_Processed)(Dart_NativeArguments args) { | 26 void FUNCTION_NAME(Filter_Processed)(Dart_NativeArguments args) { |
| 33 Dart_EnterScope(); | |
| 34 Dart_ExitScope(); | |
| 35 } | 27 } |
| 36 | 28 |
| 37 | 29 |
| 38 void FUNCTION_NAME(Filter_End)(Dart_NativeArguments args) { | 30 void FUNCTION_NAME(Filter_End)(Dart_NativeArguments args) { |
| 39 Dart_EnterScope(); | |
| 40 Dart_ExitScope(); | |
| 41 } | 31 } |
| 42 | 32 |
| 43 } // namespace bin | 33 } // namespace bin |
| 44 } // namespace dart | 34 } // namespace dart |
| OLD | NEW |