b5e5fcd160
- Started moving generic embedder code from sample into runtime/embedders/android. I'd like to move more in a later CL. - Removed dependence on vm/bin in sample. Ivan or Siva: can one of you review the changes under runtime? Review URL: https://codereview.chromium.org//11416343 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15766 260f80e4-7a28-3924-810f-c04153c831b5
16 lines
465 B
C++
16 lines
465 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.
|
|
|
|
// Provide atexit, not part of Android libc or linker.
|
|
|
|
extern "C" int atexit(void (*function)(void)) {
|
|
// Return error code.
|
|
return 1;
|
|
}
|
|
|
|
// Provide __dso_handle, not part of Android libc or linker.
|
|
|
|
__attribute__((weak)) void *__dso_handle;
|
|
|