OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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 #ifdef FLETCH_ENABLE_NATIVE_PROCESSES | 5 #ifdef FLETCH_ENABLE_NATIVE_PROCESSES |
6 | 6 |
7 #if defined(FLETCH_TARGET_OS_WIN) | 7 #if defined(FLETCH_TARGET_OS_WIN) |
8 | 8 |
9 #include "src/vm/natives.h" | 9 #include "src/vm/natives.h" |
10 #include "src/vm/object.h" | 10 #include "src/vm/object.h" |
11 #include "src/vm/process.h" | 11 #include "src/vm/process.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 LargeInteger::cast(result)->set_value(process_info.dwProcessId); | 103 LargeInteger::cast(result)->set_value(process_info.dwProcessId); |
104 return result; | 104 return result; |
105 } | 105 } |
106 END_NATIVE() | 106 END_NATIVE() |
107 | 107 |
108 } // namespace fletch | 108 } // namespace fletch |
109 | 109 |
110 #endif // defined(FLETCH_TARGET_OS_WIN) | 110 #endif // defined(FLETCH_TARGET_OS_WIN) |
111 | 111 |
112 #endif // !FLETCH_ENABLE_NATIVE_PROCESSES | 112 #endif // !FLETCH_ENABLE_NATIVE_PROCESSES |
OLD | NEW |