Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Side by Side Diff: include/v8.h

Issue 13011: Use char instead of wchar_t for counter names.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/counters.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1795 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 static Local<Value> RangeError(Handle<String> message); 1806 static Local<Value> RangeError(Handle<String> message);
1807 static Local<Value> ReferenceError(Handle<String> message); 1807 static Local<Value> ReferenceError(Handle<String> message);
1808 static Local<Value> SyntaxError(Handle<String> message); 1808 static Local<Value> SyntaxError(Handle<String> message);
1809 static Local<Value> TypeError(Handle<String> message); 1809 static Local<Value> TypeError(Handle<String> message);
1810 static Local<Value> Error(Handle<String> message); 1810 static Local<Value> Error(Handle<String> message);
1811 }; 1811 };
1812 1812
1813 1813
1814 // --- C o u n t e r s C a l l b a c k s --- 1814 // --- C o u n t e r s C a l l b a c k s ---
1815 1815
1816 typedef int* (*CounterLookupCallback)(const wchar_t* name); 1816 typedef int* (*CounterLookupCallback)(const char* name);
1817 1817
1818 // --- F a i l e d A c c e s s C h e c k C a l l b a c k --- 1818 // --- F a i l e d A c c e s s C h e c k C a l l b a c k ---
1819 typedef void (*FailedAccessCheckCallback)(Local<Object> target, 1819 typedef void (*FailedAccessCheckCallback)(Local<Object> target,
1820 AccessType type, 1820 AccessType type,
1821 Local<Value> data); 1821 Local<Value> data);
1822 1822
1823 // --- G a r b a g e C o l l e c t i o n C a l l b a c k s 1823 // --- G a r b a g e C o l l e c t i o n C a l l b a c k s
1824 1824
1825 /** 1825 /**
1826 * Applications can register a callback function which is called 1826 * Applications can register a callback function which is called
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
2463 2463
2464 } // namespace v8 2464 } // namespace v8
2465 2465
2466 2466
2467 #undef EXPORT 2467 #undef EXPORT
2468 #undef EXPORT_INLINE 2468 #undef EXPORT_INLINE
2469 #undef TYPE_CHECK 2469 #undef TYPE_CHECK
2470 2470
2471 2471
2472 #endif // V8_H_ 2472 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698