From: Ben Pfaff Date: Sun, 29 Aug 2010 21:55:41 +0000 (-0700) Subject: settings: Avoid using a pointer and global data for algorithms. X-Git-Tag: sav-api~56 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66946a0a0cab3a51e6fded95aef4e991baee319f;hp=66946a0a0cab3a51e6fded95aef4e991baee319f;p=pspp settings: Avoid using a pointer and global data for algorithms. Until now the difference between the current and global settings for the algorithms in uses has been maintained as two values plus a pointer to the setting actually in use. Using global data like that makes it harder to save and restore settings, so this commit adopt an alternate method that avoids using global data or pointers. ---