Index: samples/android_sample/jni/android_extension.h |
diff --git a/samples/android_sample/jni/android_extension.h b/samples/android_sample/jni/android_extension.h |
index f931edc3769d72d2c77e4448a80f217906f7d067..2c24fe77c9b0f1859b3f6f284372e608df320e8f 100644 |
--- a/samples/android_sample/jni/android_extension.h |
+++ b/samples/android_sample/jni/android_extension.h |
@@ -1,8 +1,15 @@ |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE file. |
+ |
#ifndef ANDROID_EXTENSION_H |
#define ANDROID_EXTENSION_H |
-extern int32_t PlayBackground(const char* path); |
-extern void StopBackground(); |
+#include "include/dart_api.h" |
-#endif |
+Dart_NativeFunction ResolveName(Dart_Handle name, int argc); |
+void PlayBackground(const char* path); |
+void StopBackground(); |
+ |
+#endif |