[bigint] [MMWS/bigint/] Patch: Optionally placing the library in a namespace
Brad Spencer <spencer at starscale.com>
Sat Sep 27 16:07:46 PDT 2008
(Redirecting this to the mailing list.)
On Wed, 2008-09-24 at 20:42 -0300, Brad Spencer wrote:
> BTW, any chance of putting this library in some kind of namespace
> out-of-the-box? Would you be opposed to a patch including a
> use-customizable make environment variable that did so?
I ended up creating a patch that lets the library be in a namespace,
since I needed to do that anyway.
If I wasn't going to send it in, I'd have just put everything in a
namespace with a local patch and been done with it, but instead I set
things up so a simple macro can control if there's a namespace and if
so, what its name is. It might be wiser to just put the library in
namespace "bigint" (or whatever) and simplify the whole thing, but I
don't know what other library users are doing.
This patch is cleanest if applied after the 64-bit patch.
Anyway, see attached.
Oh, and:
I, Brad Spencer, the sole author of the attached patch for the Big
Integer Library, waive my copyright to it, placing it in the public
domain. The patch comes with absolutely no warranty.
--
----------------------------------------------------------
Brad Spencer - spencer at starscale.com - www.starscale.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 50-namespace.diff
Type: text/x-diff
Size: 12269 bytes
Desc: not available
URL: <http://mattmccutchen.net/mailman/archives/bigint/attachments/20080927/7a444df3/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mattmccutchen.net/mailman/archives/bigint/attachments/20080927/7a444df3/attachment.pgp>
More information about the bigint
mailing list