diff mercurial/mpatch.c @ 30258:eea89068a98d

statprof: pass data structure to display functions Currently, statprof maintains a global "state" variable that is used by several functions. Global variables hinder adaptability of code. So pass state to display functions so we can make changes to how "state" works in future patches.
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 01 Nov 2016 19:03:11 -0700
parents 155f0cc3f813
children 347c0f4232e1
line wrap: on
line diff