a576fec3c0
be setup automatically or not when a native function is invoked. This would allow the embedder to treat some native functions as leaf functions whose invocation can be very light. R=hausner@google.com, zra@google.com Review URL: https://codereview.chromium.org//117723002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31286 260f80e4-7a28-3924-810f-c04153c831b5
22 lines
576 B
C++
22 lines
576 B
C++
// 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 BIN_IO_NATIVES_H_
|
|
#define BIN_IO_NATIVES_H_
|
|
|
|
#include "include/dart_api.h"
|
|
|
|
|
|
namespace dart {
|
|
namespace bin {
|
|
|
|
Dart_NativeFunction IONativeLookup(Dart_Handle name,
|
|
int argument_count,
|
|
bool* auto_setup_scope);
|
|
|
|
} // namespace bin
|
|
} // namespace dart
|
|
|
|
#endif // BIN_IO_NATIVES_H_
|