OLD | NEW |
---|---|
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #ifndef BIN_RESOURCES_H_ | 5 #ifndef BIN_RESOURCES_H_ |
6 #define BIN_RESOURCES_H_ | 6 #define BIN_RESOURCES_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <string.h> | 9 #include <string.h> |
10 | 10 |
11 // Map from Dartium to Dart VM. | |
Jacob
2013/12/05 23:05:54
Dartium --> Blink
Cutch
2013/12/05 23:08:49
Done.
| |
12 #if defined(_DEBUG) | |
13 #define DEBUG | |
14 #endif | |
15 | |
siva
2013/12/06 00:04:18
Not sure I understand this. Is "bin/resources.h" n
Cutch
2013/12/06 01:36:08
We are using the generate_resources.py script to b
| |
11 #include "platform/assert.h" | 16 #include "platform/assert.h" |
12 | 17 |
13 | 18 |
14 namespace dart { | 19 namespace dart { |
15 namespace bin { | 20 namespace bin { |
16 | 21 |
17 class Resources { | 22 class Resources { |
18 public: | 23 public: |
19 static const int kNoSuchInstance = -1; | 24 static const int kNoSuchInstance = -1; |
20 | 25 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
55 } | 60 } |
56 | 61 |
57 DISALLOW_ALLOCATION(); | 62 DISALLOW_ALLOCATION(); |
58 DISALLOW_IMPLICIT_CONSTRUCTORS(Resources); | 63 DISALLOW_IMPLICIT_CONSTRUCTORS(Resources); |
59 }; | 64 }; |
60 | 65 |
61 } // namespace bin | 66 } // namespace bin |
62 } // namespace dart | 67 } // namespace dart |
63 | 68 |
64 #endif // BIN_RESOURCES_H_ | 69 #endif // BIN_RESOURCES_H_ |
OLD | NEW |