Changeset 10 for python/trunk/Modules/cjkcodecs/cjkcodecs.h
- Timestamp:
- Sep 3, 2010, 5:33:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Modules/cjkcodecs/cjkcodecs.h
r2 r10 387 387 #endif 388 388 389 #ifdef __OS2__ 390 #define I_AM_A_MODULE_FOR(loc) \ 391 PyMODINIT_FUNC \ 392 init_codecs_##loc(void) \ 393 { \ 394 PyObject *m = Py_InitModule("_codecs_" #loc, __methods);\ 395 if (m != NULL) \ 396 (void)register_maps(m); \ 397 } 398 #else 389 399 #define I_AM_A_MODULE_FOR(loc) \ 390 400 void \ … … 395 405 (void)register_maps(m); \ 396 406 } 397 398 #endif 407 #endif 408 409 #endif
Note:
See TracChangeset
for help on using the changeset viewer.