MapServer / MapServer-import

3 stars 2 forks source link

add an optional default value argument to hashTableObj.get method #825

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: sgillies@frii.com Date: 2004/08/22 - 23:17

Add an optional default value to hashTableObj.get.  Otherwise the method returns
NULL without raising an exception.
tbonfort commented 12 years ago

Author: sgillies@frii.com Date: 2004/08/22 - 23:41

Done.  New tests pass.  This makes hashTableObj.get function almost exactly
like Python's own dictionary get() method.