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 "mdns_extension.h" | 5 #include "mdns_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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 return parent_library; | 103 return parent_library; |
104 } | 104 } |
105 | 105 |
106 result_code = Dart_SetNativeResolver(parent_library, ResolveName, NULL); | 106 result_code = Dart_SetNativeResolver(parent_library, ResolveName, NULL); |
107 if (Dart_IsError(result_code)) { | 107 if (Dart_IsError(result_code)) { |
108 return result_code; | 108 return result_code; |
109 } | 109 } |
110 | 110 |
111 return parent_library; | 111 return parent_library; |
112 } | 112 } |
OLD | NEW |