Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Fletch 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 "src/vm/intrinsics.h" | 5 #include "src/vm/ffi.h" |
| 6 | 6 |
| 7 namespace fletch { | 7 namespace fletch { |
| 8 | 8 |
| 9 #define DEFINE_INTRINSIC(name) \ | 9 const char* ForeignLibraryConstants::kLibBundlePrefix = "foobar"; |
|
ricow1
2015/06/29 16:55:23
is probably not the right prefix, but fine for now
| |
| 10 void Intrinsic_##name() { } | 10 const char* ForeignLibraryConstants::kLibBundlePostfix = "foobar"; |
| 11 INTRINSICS_DO(DEFINE_INTRINSIC) | |
| 12 #undef DEFINE_INTRINSIC | |
| 13 | 11 |
| 14 } // namespace fletch | 12 } // namespace fletch |
| OLD | NEW |