Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c2d8c41 authored by smain@google.com's avatar smain@google.com
Browse files

move the parameter_list() method to macros_overrides

Change-Id: Ia8dcbc0cac478a9f89d90ec04a924c579bca3abb
parent a0a6d322
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -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.
+16 −1
Original line number Diff line number Diff line
@@ -34,3 +34,18 @@
    <?cs /each ?>
  </table>
<?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