| 1 | n/a | |
|---|
| 2 | n/a | /* ========================= Module _Scrap ========================== */ |
|---|
| 3 | n/a | |
|---|
| 4 | n/a | #include "Python.h" |
|---|
| 5 | n/a | |
|---|
| 6 | n/a | |
|---|
| 7 | n/a | #ifndef __LP64__ |
|---|
| 8 | n/a | |
|---|
| 9 | n/a | #include "pymactoolbox.h" |
|---|
| 10 | n/a | |
|---|
| 11 | n/a | /* Macro to test whether a weak-loaded CFM function exists */ |
|---|
| 12 | n/a | #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\ |
|---|
| 13 | n/a | PyErr_SetString(PyExc_NotImplementedError, \ |
|---|
| 14 | n/a | "Not available in this shared library/OS version"); \ |
|---|
| 15 | n/a | return NULL; \ |
|---|
| 16 | n/a | }} while(0) |
|---|
| 17 | n/a | |
|---|
| 18 | n/a | |
|---|
| 19 | n/a | #include <Carbon/Carbon.h> |
|---|
| 20 | n/a | |
|---|
| 21 | n/a | static PyObject *Scrap_Error; |
|---|
| 22 | n/a | |
|---|
| 23 | n/a | /* ----------------------- Object type Scrap ------------------------ */ |
|---|
| 24 | n/a | |
|---|
| 25 | n/a | PyTypeObject Scrap_Type; |
|---|
| 26 | n/a | |
|---|
| 27 | n/a | #define ScrapObj_Check(x) ((x)->ob_type == &Scrap_Type || PyObject_TypeCheck((x), &Scrap_Type)) |
|---|
| 28 | n/a | |
|---|
| 29 | n/a | typedef struct ScrapObject { |
|---|
| 30 | n/a | PyObject_HEAD |
|---|
| 31 | n/a | ScrapRef ob_itself; |
|---|
| 32 | n/a | } ScrapObject; |
|---|
| 33 | n/a | |
|---|
| 34 | n/a | PyObject *ScrapObj_New(ScrapRef itself) |
|---|
| 35 | n/a | { |
|---|
| 36 | n/a | ScrapObject *it; |
|---|
| 37 | n/a | it = PyObject_NEW(ScrapObject, &Scrap_Type); |
|---|
| 38 | n/a | if (it == NULL) return NULL; |
|---|
| 39 | n/a | it->ob_itself = itself; |
|---|
| 40 | n/a | return (PyObject *)it; |
|---|
| 41 | n/a | } |
|---|
| 42 | n/a | int ScrapObj_Convert(PyObject *v, ScrapRef *p_itself) |
|---|
| 43 | n/a | { |
|---|
| 44 | n/a | if (!ScrapObj_Check(v)) |
|---|
| 45 | n/a | { |
|---|
| 46 | n/a | PyErr_SetString(PyExc_TypeError, "Scrap required"); |
|---|
| 47 | n/a | return 0; |
|---|
| 48 | n/a | } |
|---|
| 49 | n/a | *p_itself = ((ScrapObject *)v)->ob_itself; |
|---|
| 50 | n/a | return 1; |
|---|
| 51 | n/a | } |
|---|
| 52 | n/a | |
|---|
| 53 | n/a | static void ScrapObj_dealloc(ScrapObject *self) |
|---|
| 54 | n/a | { |
|---|
| 55 | n/a | /* Cleanup of self->ob_itself goes here */ |
|---|
| 56 | n/a | self->ob_type->tp_free((PyObject *)self); |
|---|
| 57 | n/a | } |
|---|
| 58 | n/a | |
|---|
| 59 | n/a | static PyObject *ScrapObj_GetScrapFlavorFlags(ScrapObject *_self, PyObject *_args) |
|---|
| 60 | n/a | { |
|---|
| 61 | n/a | PyObject *_res = NULL; |
|---|
| 62 | n/a | OSStatus _err; |
|---|
| 63 | n/a | ScrapFlavorType flavorType; |
|---|
| 64 | n/a | ScrapFlavorFlags flavorFlags; |
|---|
| 65 | n/a | if (!PyArg_ParseTuple(_args, "O&", |
|---|
| 66 | n/a | PyMac_GetOSType, &flavorType)) |
|---|
| 67 | n/a | return NULL; |
|---|
| 68 | n/a | _err = GetScrapFlavorFlags(_self->ob_itself, |
|---|
| 69 | n/a | flavorType, |
|---|
| 70 | n/a | &flavorFlags); |
|---|
| 71 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 72 | n/a | _res = Py_BuildValue("l", |
|---|
| 73 | n/a | flavorFlags); |
|---|
| 74 | n/a | return _res; |
|---|
| 75 | n/a | } |
|---|
| 76 | n/a | |
|---|
| 77 | n/a | static PyObject *ScrapObj_GetScrapFlavorSize(ScrapObject *_self, PyObject *_args) |
|---|
| 78 | n/a | { |
|---|
| 79 | n/a | PyObject *_res = NULL; |
|---|
| 80 | n/a | OSStatus _err; |
|---|
| 81 | n/a | ScrapFlavorType flavorType; |
|---|
| 82 | n/a | Size byteCount; |
|---|
| 83 | n/a | if (!PyArg_ParseTuple(_args, "O&", |
|---|
| 84 | n/a | PyMac_GetOSType, &flavorType)) |
|---|
| 85 | n/a | return NULL; |
|---|
| 86 | n/a | _err = GetScrapFlavorSize(_self->ob_itself, |
|---|
| 87 | n/a | flavorType, |
|---|
| 88 | n/a | &byteCount); |
|---|
| 89 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 90 | n/a | _res = Py_BuildValue("l", |
|---|
| 91 | n/a | byteCount); |
|---|
| 92 | n/a | return _res; |
|---|
| 93 | n/a | } |
|---|
| 94 | n/a | |
|---|
| 95 | n/a | static PyObject *ScrapObj_GetScrapFlavorData(ScrapObject *_self, PyObject *_args) |
|---|
| 96 | n/a | { |
|---|
| 97 | n/a | PyObject *_res = NULL; |
|---|
| 98 | n/a | OSStatus _err; |
|---|
| 99 | n/a | ScrapFlavorType flavorType; |
|---|
| 100 | n/a | Size byteCount; |
|---|
| 101 | n/a | |
|---|
| 102 | n/a | if (!PyArg_ParseTuple(_args, "O&", |
|---|
| 103 | n/a | PyMac_GetOSType, &flavorType)) |
|---|
| 104 | n/a | return NULL; |
|---|
| 105 | n/a | _err = GetScrapFlavorSize(_self->ob_itself, |
|---|
| 106 | n/a | flavorType, |
|---|
| 107 | n/a | &byteCount); |
|---|
| 108 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 109 | n/a | _res = PyString_FromStringAndSize(NULL, (int)byteCount); |
|---|
| 110 | n/a | if ( _res == NULL ) return NULL; |
|---|
| 111 | n/a | _err = GetScrapFlavorData(_self->ob_itself, |
|---|
| 112 | n/a | flavorType, |
|---|
| 113 | n/a | &byteCount, |
|---|
| 114 | n/a | PyString_AS_STRING(_res)); |
|---|
| 115 | n/a | if (_err != noErr) { |
|---|
| 116 | n/a | Py_XDECREF(_res); |
|---|
| 117 | n/a | return PyMac_Error(_err); |
|---|
| 118 | n/a | } |
|---|
| 119 | n/a | return _res; |
|---|
| 120 | n/a | } |
|---|
| 121 | n/a | |
|---|
| 122 | n/a | static PyObject *ScrapObj_PutScrapFlavor(ScrapObject *_self, PyObject *_args) |
|---|
| 123 | n/a | { |
|---|
| 124 | n/a | PyObject *_res = NULL; |
|---|
| 125 | n/a | OSStatus _err; |
|---|
| 126 | n/a | ScrapFlavorType flavorType; |
|---|
| 127 | n/a | ScrapFlavorFlags flavorFlags; |
|---|
| 128 | n/a | char *flavorData__in__; |
|---|
| 129 | n/a | int flavorData__in_len__; |
|---|
| 130 | n/a | if (!PyArg_ParseTuple(_args, "O&Ks#", |
|---|
| 131 | n/a | PyMac_GetOSType, &flavorType, |
|---|
| 132 | n/a | &flavorFlags, |
|---|
| 133 | n/a | &flavorData__in__, &flavorData__in_len__)) |
|---|
| 134 | n/a | return NULL; |
|---|
| 135 | n/a | _err = PutScrapFlavor(_self->ob_itself, |
|---|
| 136 | n/a | flavorType, |
|---|
| 137 | n/a | flavorFlags, |
|---|
| 138 | n/a | (Size)flavorData__in_len__, |
|---|
| 139 | n/a | flavorData__in__); |
|---|
| 140 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 141 | n/a | Py_INCREF(Py_None); |
|---|
| 142 | n/a | _res = Py_None; |
|---|
| 143 | n/a | return _res; |
|---|
| 144 | n/a | } |
|---|
| 145 | n/a | |
|---|
| 146 | n/a | static PyObject *ScrapObj_GetScrapFlavorCount(ScrapObject *_self, PyObject *_args) |
|---|
| 147 | n/a | { |
|---|
| 148 | n/a | PyObject *_res = NULL; |
|---|
| 149 | n/a | OSStatus _err; |
|---|
| 150 | n/a | UInt32 infoCount; |
|---|
| 151 | n/a | if (!PyArg_ParseTuple(_args, "")) |
|---|
| 152 | n/a | return NULL; |
|---|
| 153 | n/a | _err = GetScrapFlavorCount(_self->ob_itself, |
|---|
| 154 | n/a | &infoCount); |
|---|
| 155 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 156 | n/a | _res = Py_BuildValue("l", |
|---|
| 157 | n/a | infoCount); |
|---|
| 158 | n/a | return _res; |
|---|
| 159 | n/a | } |
|---|
| 160 | n/a | |
|---|
| 161 | n/a | static PyObject *ScrapObj_GetScrapFlavorInfoList(ScrapObject *_self, PyObject *_args) |
|---|
| 162 | n/a | { |
|---|
| 163 | n/a | PyObject *_res = NULL; |
|---|
| 164 | n/a | PyObject *item; |
|---|
| 165 | n/a | OSStatus _err; |
|---|
| 166 | n/a | UInt32 infoCount; |
|---|
| 167 | n/a | ScrapFlavorInfo *infolist = NULL; |
|---|
| 168 | n/a | int i; |
|---|
| 169 | n/a | |
|---|
| 170 | n/a | if (!PyArg_ParseTuple(_args, "")) |
|---|
| 171 | n/a | return NULL; |
|---|
| 172 | n/a | _err = GetScrapFlavorCount(_self->ob_itself, |
|---|
| 173 | n/a | &infoCount); |
|---|
| 174 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 175 | n/a | if (infoCount == 0) return Py_BuildValue("[]"); |
|---|
| 176 | n/a | |
|---|
| 177 | n/a | if ((infolist = (ScrapFlavorInfo *)malloc(infoCount*sizeof(ScrapFlavorInfo))) == NULL ) |
|---|
| 178 | n/a | return PyErr_NoMemory(); |
|---|
| 179 | n/a | |
|---|
| 180 | n/a | _err = GetScrapFlavorInfoList(_self->ob_itself, &infoCount, infolist); |
|---|
| 181 | n/a | if (_err != noErr) { |
|---|
| 182 | n/a | free(infolist); |
|---|
| 183 | n/a | return NULL; |
|---|
| 184 | n/a | } |
|---|
| 185 | n/a | if ((_res = PyList_New(infoCount)) == NULL ) { |
|---|
| 186 | n/a | free(infolist); |
|---|
| 187 | n/a | return NULL; |
|---|
| 188 | n/a | } |
|---|
| 189 | n/a | for(i=0; i<infoCount; i++) { |
|---|
| 190 | n/a | item = Py_BuildValue("O&l", PyMac_BuildOSType, infolist[i].flavorType, |
|---|
| 191 | n/a | infolist[i].flavorFlags); |
|---|
| 192 | n/a | if ( !item || PyList_SetItem(_res, i, item) < 0 ) { |
|---|
| 193 | n/a | Py_DECREF(_res); |
|---|
| 194 | n/a | free(infolist); |
|---|
| 195 | n/a | return NULL; |
|---|
| 196 | n/a | } |
|---|
| 197 | n/a | } |
|---|
| 198 | n/a | free(infolist); |
|---|
| 199 | n/a | return _res; |
|---|
| 200 | n/a | } |
|---|
| 201 | n/a | |
|---|
| 202 | n/a | static PyMethodDef ScrapObj_methods[] = { |
|---|
| 203 | n/a | {"GetScrapFlavorFlags", (PyCFunction)ScrapObj_GetScrapFlavorFlags, 1, |
|---|
| 204 | n/a | PyDoc_STR("(ScrapFlavorType flavorType) -> (ScrapFlavorFlags flavorFlags)")}, |
|---|
| 205 | n/a | {"GetScrapFlavorSize", (PyCFunction)ScrapObj_GetScrapFlavorSize, 1, |
|---|
| 206 | n/a | PyDoc_STR("(ScrapFlavorType flavorType) -> (Size byteCount)")}, |
|---|
| 207 | n/a | {"GetScrapFlavorData", (PyCFunction)ScrapObj_GetScrapFlavorData, 1, |
|---|
| 208 | n/a | PyDoc_STR("(ScrapFlavorType flavorType, Buffer destination) -> (Size byteCount)")}, |
|---|
| 209 | n/a | {"PutScrapFlavor", (PyCFunction)ScrapObj_PutScrapFlavor, 1, |
|---|
| 210 | n/a | PyDoc_STR("(ScrapFlavorType flavorType, ScrapFlavorFlags flavorFlags, Size flavorSize, Buffer flavorData) -> None")}, |
|---|
| 211 | n/a | {"GetScrapFlavorCount", (PyCFunction)ScrapObj_GetScrapFlavorCount, 1, |
|---|
| 212 | n/a | PyDoc_STR("() -> (UInt32 infoCount)")}, |
|---|
| 213 | n/a | {"GetScrapFlavorInfoList", (PyCFunction)ScrapObj_GetScrapFlavorInfoList, 1, |
|---|
| 214 | n/a | PyDoc_STR("() -> ([(ScrapFlavorType, ScrapFlavorInfo), ...])")}, |
|---|
| 215 | n/a | {NULL, NULL, 0} |
|---|
| 216 | n/a | }; |
|---|
| 217 | n/a | |
|---|
| 218 | n/a | PyMethodChain ScrapObj_chain = { ScrapObj_methods, NULL }; |
|---|
| 219 | n/a | |
|---|
| 220 | n/a | static PyObject *ScrapObj_getattr(ScrapObject *self, char *name) |
|---|
| 221 | n/a | { |
|---|
| 222 | n/a | return Py_FindMethodInChain(&ScrapObj_chain, (PyObject *)self, name); |
|---|
| 223 | n/a | } |
|---|
| 224 | n/a | |
|---|
| 225 | n/a | #define ScrapObj_setattr NULL |
|---|
| 226 | n/a | |
|---|
| 227 | n/a | #define ScrapObj_compare NULL |
|---|
| 228 | n/a | |
|---|
| 229 | n/a | #define ScrapObj_repr NULL |
|---|
| 230 | n/a | |
|---|
| 231 | n/a | #define ScrapObj_hash NULL |
|---|
| 232 | n/a | |
|---|
| 233 | n/a | PyTypeObject Scrap_Type = { |
|---|
| 234 | n/a | PyObject_HEAD_INIT(NULL) |
|---|
| 235 | n/a | 0, /*ob_size*/ |
|---|
| 236 | n/a | "_Scrap.Scrap", /*tp_name*/ |
|---|
| 237 | n/a | sizeof(ScrapObject), /*tp_basicsize*/ |
|---|
| 238 | n/a | 0, /*tp_itemsize*/ |
|---|
| 239 | n/a | /* methods */ |
|---|
| 240 | n/a | (destructor) ScrapObj_dealloc, /*tp_dealloc*/ |
|---|
| 241 | n/a | 0, /*tp_print*/ |
|---|
| 242 | n/a | (getattrfunc) ScrapObj_getattr, /*tp_getattr*/ |
|---|
| 243 | n/a | (setattrfunc) ScrapObj_setattr, /*tp_setattr*/ |
|---|
| 244 | n/a | (cmpfunc) ScrapObj_compare, /*tp_compare*/ |
|---|
| 245 | n/a | (reprfunc) ScrapObj_repr, /*tp_repr*/ |
|---|
| 246 | n/a | (PyNumberMethods *)0, /* tp_as_number */ |
|---|
| 247 | n/a | (PySequenceMethods *)0, /* tp_as_sequence */ |
|---|
| 248 | n/a | (PyMappingMethods *)0, /* tp_as_mapping */ |
|---|
| 249 | n/a | (hashfunc) ScrapObj_hash, /*tp_hash*/ |
|---|
| 250 | n/a | }; |
|---|
| 251 | n/a | |
|---|
| 252 | n/a | /* --------------------- End object type Scrap ---------------------- */ |
|---|
| 253 | n/a | |
|---|
| 254 | n/a | static PyObject *Scrap_LoadScrap(PyObject *_self, PyObject *_args) |
|---|
| 255 | n/a | { |
|---|
| 256 | n/a | PyObject *_res = NULL; |
|---|
| 257 | n/a | OSStatus _err; |
|---|
| 258 | n/a | if (!PyArg_ParseTuple(_args, "")) |
|---|
| 259 | n/a | return NULL; |
|---|
| 260 | n/a | _err = LoadScrap(); |
|---|
| 261 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 262 | n/a | Py_INCREF(Py_None); |
|---|
| 263 | n/a | _res = Py_None; |
|---|
| 264 | n/a | return _res; |
|---|
| 265 | n/a | } |
|---|
| 266 | n/a | |
|---|
| 267 | n/a | static PyObject *Scrap_UnloadScrap(PyObject *_self, PyObject *_args) |
|---|
| 268 | n/a | { |
|---|
| 269 | n/a | PyObject *_res = NULL; |
|---|
| 270 | n/a | OSStatus _err; |
|---|
| 271 | n/a | if (!PyArg_ParseTuple(_args, "")) |
|---|
| 272 | n/a | return NULL; |
|---|
| 273 | n/a | _err = UnloadScrap(); |
|---|
| 274 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 275 | n/a | Py_INCREF(Py_None); |
|---|
| 276 | n/a | _res = Py_None; |
|---|
| 277 | n/a | return _res; |
|---|
| 278 | n/a | } |
|---|
| 279 | n/a | |
|---|
| 280 | n/a | static PyObject *Scrap_GetCurrentScrap(PyObject *_self, PyObject *_args) |
|---|
| 281 | n/a | { |
|---|
| 282 | n/a | PyObject *_res = NULL; |
|---|
| 283 | n/a | OSStatus _err; |
|---|
| 284 | n/a | ScrapRef scrap; |
|---|
| 285 | n/a | if (!PyArg_ParseTuple(_args, "")) |
|---|
| 286 | n/a | return NULL; |
|---|
| 287 | n/a | _err = GetCurrentScrap(&scrap); |
|---|
| 288 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 289 | n/a | _res = Py_BuildValue("O&", |
|---|
| 290 | n/a | ScrapObj_New, scrap); |
|---|
| 291 | n/a | return _res; |
|---|
| 292 | n/a | } |
|---|
| 293 | n/a | |
|---|
| 294 | n/a | static PyObject *Scrap_ClearCurrentScrap(PyObject *_self, PyObject *_args) |
|---|
| 295 | n/a | { |
|---|
| 296 | n/a | PyObject *_res = NULL; |
|---|
| 297 | n/a | OSStatus _err; |
|---|
| 298 | n/a | if (!PyArg_ParseTuple(_args, "")) |
|---|
| 299 | n/a | return NULL; |
|---|
| 300 | n/a | _err = ClearCurrentScrap(); |
|---|
| 301 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 302 | n/a | Py_INCREF(Py_None); |
|---|
| 303 | n/a | _res = Py_None; |
|---|
| 304 | n/a | return _res; |
|---|
| 305 | n/a | } |
|---|
| 306 | n/a | |
|---|
| 307 | n/a | static PyObject *Scrap_CallInScrapPromises(PyObject *_self, PyObject *_args) |
|---|
| 308 | n/a | { |
|---|
| 309 | n/a | PyObject *_res = NULL; |
|---|
| 310 | n/a | OSStatus _err; |
|---|
| 311 | n/a | if (!PyArg_ParseTuple(_args, "")) |
|---|
| 312 | n/a | return NULL; |
|---|
| 313 | n/a | _err = CallInScrapPromises(); |
|---|
| 314 | n/a | if (_err != noErr) return PyMac_Error(_err); |
|---|
| 315 | n/a | Py_INCREF(Py_None); |
|---|
| 316 | n/a | _res = Py_None; |
|---|
| 317 | n/a | return _res; |
|---|
| 318 | n/a | } |
|---|
| 319 | n/a | #endif /* __LP64__ */ |
|---|
| 320 | n/a | |
|---|
| 321 | n/a | static PyMethodDef Scrap_methods[] = { |
|---|
| 322 | n/a | #ifndef __LP64__ |
|---|
| 323 | n/a | {"LoadScrap", (PyCFunction)Scrap_LoadScrap, 1, |
|---|
| 324 | n/a | PyDoc_STR("() -> None")}, |
|---|
| 325 | n/a | {"UnloadScrap", (PyCFunction)Scrap_UnloadScrap, 1, |
|---|
| 326 | n/a | PyDoc_STR("() -> None")}, |
|---|
| 327 | n/a | {"GetCurrentScrap", (PyCFunction)Scrap_GetCurrentScrap, 1, |
|---|
| 328 | n/a | PyDoc_STR("() -> (ScrapRef scrap)")}, |
|---|
| 329 | n/a | {"ClearCurrentScrap", (PyCFunction)Scrap_ClearCurrentScrap, 1, |
|---|
| 330 | n/a | PyDoc_STR("() -> None")}, |
|---|
| 331 | n/a | {"CallInScrapPromises", (PyCFunction)Scrap_CallInScrapPromises, 1, |
|---|
| 332 | n/a | PyDoc_STR("() -> None")}, |
|---|
| 333 | n/a | #endif /* __LP64__ */ |
|---|
| 334 | n/a | {NULL, NULL, 0} |
|---|
| 335 | n/a | }; |
|---|
| 336 | n/a | |
|---|
| 337 | n/a | |
|---|
| 338 | n/a | |
|---|
| 339 | n/a | |
|---|
| 340 | n/a | void init_Scrap(void) |
|---|
| 341 | n/a | { |
|---|
| 342 | n/a | PyObject *m; |
|---|
| 343 | n/a | #ifndef __LP64__ |
|---|
| 344 | n/a | PyObject *d; |
|---|
| 345 | n/a | #endif /* __LP64__ */ |
|---|
| 346 | n/a | |
|---|
| 347 | n/a | |
|---|
| 348 | n/a | |
|---|
| 349 | n/a | |
|---|
| 350 | n/a | m = Py_InitModule("_Scrap", Scrap_methods); |
|---|
| 351 | n/a | #ifndef __LP64__ |
|---|
| 352 | n/a | d = PyModule_GetDict(m); |
|---|
| 353 | n/a | Scrap_Error = PyMac_GetOSErrException(); |
|---|
| 354 | n/a | if (Scrap_Error == NULL || |
|---|
| 355 | n/a | PyDict_SetItemString(d, "Error", Scrap_Error) != 0) |
|---|
| 356 | n/a | return; |
|---|
| 357 | n/a | Scrap_Type.ob_type = &PyType_Type; |
|---|
| 358 | n/a | Py_INCREF(&Scrap_Type); |
|---|
| 359 | n/a | if (PyDict_SetItemString(d, "ScrapType", (PyObject *)&Scrap_Type) != 0) |
|---|
| 360 | n/a | Py_FatalError("can't initialize ScrapType"); |
|---|
| 361 | n/a | #endif /* __LP64__ */ |
|---|
| 362 | n/a | } |
|---|
| 363 | n/a | |
|---|
| 364 | n/a | /* ======================= End module _Scrap ======================== */ |
|---|
| 365 | n/a | |
|---|