OSDN Git Service

move the parameter_list() method to macros_overrides
authorsmain@google.com <smain@google.com>
Tue, 9 Feb 2016 23:18:30 +0000 (15:18 -0800)
committersmain@google.com <smain@google.com>
Tue, 9 Feb 2016 23:18:30 +0000 (15:18 -0800)
Change-Id: Ia8dcbc0cac478a9f89d90ec04a924c579bca3abb

tools/droiddoc/templates-sdk-dev/class.cs
tools/droiddoc/templates-sdk-dev/macros_override.cs

index 285ffec..e519bcd 100644 (file)
@@ -7,20 +7,6 @@
 # FIRST, THE FUNCTIONS FOR THE SUMMARY AT THE TOP OF THE PAGE
 ####################
 ?>
-<?cs
-# Prints a comma separated list of parameters with optional line breaks
-?><?cs
-def:parameter_list(params, linebreaks) ?><?cs
-  each:param = params ?><?cs
-      call:simple_type_link(param.type)?> <?cs
-      var:param.name ?><?cs
-      if: name(param)!=subcount(params)-1
-        ?>, <?cs if:linebreaks
-?>
-                <?cs /if ?><?cs
-      /if ?><?cs
-  /each ?><?cs
-/def ?>
 
 <?cs
 # Prints the table cells for the summary of methods.
index 0a94598..5b92fe3 100644 (file)
       <?cs set:count = count + #1 ?>
     <?cs /each ?>
   </table>
-<?cs /def ?>
\ No newline at end of file
+<?cs /def ?>
+
+<?cs
+# Prints a comma separated list of parameters with optional line breaks
+?><?cs
+def:parameter_list(params, linebreaks) ?><?cs
+  each:param = params ?><?cs
+      call:simple_type_link(param.type)?> <?cs
+      var:param.name ?><?cs
+      if: name(param)!=subcount(params)-1
+        ?>, <?cs if:linebreaks
+?>
+                <?cs /if ?><?cs
+      /if ?><?cs
+  /each ?><?cs
+/def ?>
\ No newline at end of file