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

Unified Diff: ppapi/native_client/src/tools/srpcgen.py

Issue 9119001: srpcgen: Use 'const char*' for string parameters (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased; update year in copyright header srpcgen emits Created 8 years, 12 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/upcall_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/tools/srpcgen.py
diff --git a/ppapi/native_client/src/tools/srpcgen.py b/ppapi/native_client/src/tools/srpcgen.py
index 4e509b449bdc187e0a21849daa2247facc02dde5..2a59b35290a8c8b4c6ce4d1dfc4c4a3d10187d68 100755
--- a/ppapi/native_client/src/tools/srpcgen.py
+++ b/ppapi/native_client/src/tools/srpcgen.py
@@ -1,5 +1,5 @@
# -*- python -*-
-# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -25,7 +25,7 @@ import sys
import os
COPYRIGHT_AND_AUTOGEN_COMMENT = """\
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -81,7 +81,7 @@ types = {'bool': ['b', 'bool', 'u.bval', ''],
'PP_Instance': ['i', 'PP_Instance', 'u.ival', ''],
'PP_Module': ['i', 'PP_Module', 'u.ival', ''],
'PP_Resource': ['i', 'PP_Resource', 'u.ival', ''],
- 'string': ['s', 'char*', 'arrays.str', ''],
+ 'string': ['s', 'const char*', 'arrays.str', ''],
}
def AddInclude(name):
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/upcall_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698