summaryrefslogtreecommitdiff
path: root/perl_keyword.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-01-28 21:01:04 +0000
committerNicholas Clark <nick@ccl4.org>2005-01-28 21:01:04 +0000
commitf8901870eae83390cf40d51cb7fd1437ed1fa230 (patch)
treede06ccdd47021a7139a78ff9c26b30660c9179d5 /perl_keyword.pl
parentb37cb8219ff2bec6842038e1ec5cb9efeb4c223a (diff)
downloadperl-f8901870eae83390cf40d51cb7fd1437ed1fa230.tar.gz
More consistent names for all the parameter name/declaration methods
p4raw-id: //depot/perl@23897
Diffstat (limited to 'perl_keyword.pl')
-rw-r--r--perl_keyword.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl_keyword.pl b/perl_keyword.pl
index a8c015e2cb..957f8f9994 100644
--- a/perl_keyword.pl
+++ b/perl_keyword.pl
@@ -31,7 +31,7 @@ sub return_statement_for_notfound {
}
# Ditch the default "const"
-sub C_constant_name_param_definition {
+sub name_param_definition {
"char *" . $_[0]->name_param;
}
@@ -48,8 +48,8 @@ sub C_constant_prefix_param_defintion {
"pTHX_ ";
}
-sub C_constant_namelen_param_definition {
- 'I32 ' . $_[0] -> C_constant_namelen_param;
+sub namelen_param_definition {
+ 'I32 ' . $_[0] -> namelen_param;
}
package main;