chiark / gitweb /
catacomb-python.h: Promote `util' to the head of the list.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 26 May 2015 15:00:32 +0000 (16:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 26 May 2015 15:04:04 +0000 (16:04 +0100)
If anything needs to prepare for other modules, it's common utilities.

catacomb-python.h

index 08c8e664251232f817481492cf0bc8583f38b09b..bf2a840cc33cb8c557b7b98527e4dabfbeee0f30 100644 (file)
   { #name, ty, offsetof(MEMBERSTRUCT, name), f, doc },
 
 #define MODULES(_)                                                     \
+  _(util)                                                              \
   _(bytestring) _(buffer)                                              \
   _(rand) _(algorithms) _(pubkey) _(pgen)                              \
   _(mp) _(field) _(ec) _(group)                                                \
-  _(passphrase) _(share) _(key)                                                \
-  _(util)
+  _(passphrase) _(share) _(key)
 #define DOMODINIT(m) m##_pyinit();
 #define DOMODINSERT(m) m##_pyinsert(mod);
 #define INIT_MODULES do { MODULES(DOMODINIT) } while (0)