Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Side by Side Diff: samples/sample_extension/sample_synchronous_extension.dart

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #library("sample_synchronous_extension"); 5 library sample_synchronous_extension;
6 6
7 #import("dart-ext:sample_extension"); 7 import 'dart-ext:sample_extension';
8 8
9 // The simplest way to call native code: top-level functions. 9 // The simplest way to call native code: top-level functions.
10 int systemRand() native "SystemRand"; 10 int systemRand() native "SystemRand";
11 void systemSrand(int seed) native "SystemSrand"; 11 void systemSrand(int seed) native "SystemSrand";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698