*** Python-2.2.2/Modules/almodule.c Sat Dec 8 10:02:55 2001 --- Python-2.2.2.new/Modules/almodule.c Mon Jan 13 19:11:17 2003 *************** *** 2584,2589 **** --- 2584,2595 ---- goto error; Py_DECREF(x); #endif + #ifdef AL_LOCKED + x = PyInt_FromLong((long) AL_LOCKED); + if (x == NULL || PyDict_SetItemString(d, "LOCKED", x) < 0) + goto error; + Py_DECREF(x); + #endif #ifdef AL_MASTER_CLOCK x = PyInt_FromLong((long) AL_MASTER_CLOCK); if (x == NULL || PyDict_SetItemString(d, "MASTER_CLOCK", x) < 0) *************** *** 2734,2739 **** --- 2740,2751 ---- goto error; Py_DECREF(x); #endif + #ifdef AL_NULL_INTERFACE + x = PyInt_FromLong((long) AL_NULL_INTERFACE); + if (x == NULL || PyDict_SetItemString(d, "NULL_INTERFACE", x) < 0) + goto error; + Py_DECREF(x); + #endif #ifdef AL_NULL_RESOURCE x = PyInt_FromLong((long) AL_NULL_RESOURCE); if (x == NULL || PyDict_SetItemString(d, "NULL_RESOURCE", x) < 0) *************** *** 2740,2745 **** --- 2752,2763 ---- goto error; Py_DECREF(x); #endif + #ifdef AL_OPTICAL_IF_TYPE + x = PyInt_FromLong((long) AL_OPTICAL_IF_TYPE); + if (x == NULL || PyDict_SetItemString(d, "OPTICAL_IF_TYPE", x) < 0) + goto error; + Py_DECREF(x); + #endif #ifdef AL_OUTPUT_COUNT x = PyInt_FromLong((long) AL_OUTPUT_COUNT); if (x == NULL || PyDict_SetItemString(d, "OUTPUT_COUNT", x) < 0) *************** *** 3085,3090 **** --- 3103,3114 ---- #ifdef AL_SHORT_NAME x = PyInt_FromLong((long) AL_SHORT_NAME); if (x == NULL || PyDict_SetItemString(d, "SHORT_NAME", x) < 0) + goto error; + Py_DECREF(x); + #endif + #ifdef AL_SMPTE272M_IF_TYPE + x = PyInt_FromLong((long) AL_SMPTE272M_IF_TYPE); + if (x == NULL || PyDict_SetItemString(d, "SMPTE272M_IF_TYPE", x) < 0) goto error; Py_DECREF(x); #endif