OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #include "power_management_extension.h" | 5 #include "power_management_extension.h" |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.h> |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 #include <string.h> | 10 #include <string.h> |
11 | 11 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 return parent_library; | 80 return parent_library; |
81 } | 81 } |
82 | 82 |
83 result_code = Dart_SetNativeResolver(parent_library, ResolveName, NULL); | 83 result_code = Dart_SetNativeResolver(parent_library, ResolveName, NULL); |
84 if (Dart_IsError(result_code)) { | 84 if (Dart_IsError(result_code)) { |
85 return result_code; | 85 return result_code; |
86 } | 86 } |
87 | 87 |
88 return parent_library; | 88 return parent_library; |
89 } | 89 } |
OLD | NEW |