1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 02_lcms_wrap.cxx.dpatch by Oleksandr Moskalenko <malex@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
9
--- lcms-1.16/python/lcms_wrap.cxx 2006-12-13 04:22:44.000000000 -0700
10
+++ lcms-1.16-patched/python/lcms_wrap.cxx 2008-04-17 18:09:30.000000000 -0600
12
/* ----------------------------------------------------------------------------
13
* This file was automatically generated by SWIG (http://www.swig.org).
17
* This file is not intended to be easily readable and contains a number of
18
* coding conventions designed to improve portability and efficiency. Do not make
20
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
23
-template<class T> class SwigValueWrapper {
24
+template<typename T> class SwigValueWrapper {
27
SwigValueWrapper() : tt(0) { }
30
SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
33
+template <typename T> T SwigValueInit() {
38
/* -----------------------------------------------------------------------------
41
/* template workaround for compilers that cannot correctly implement the C++ standard */
42
#ifndef SWIGTEMPLATEDISAMBIGUATOR
43
-# if defined(__SUNPRO_CC)
44
-# if (__SUNPRO_CC <= 0x560)
45
-# define SWIGTEMPLATEDISAMBIGUATOR template
47
-# define SWIGTEMPLATEDISAMBIGUATOR
49
+# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
50
+# define SWIGTEMPLATEDISAMBIGUATOR template
51
+# elif defined(__HP_aCC)
52
+/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
53
+/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
54
+# define SWIGTEMPLATEDISAMBIGUATOR template
56
-# define SWIGTEMPLATEDISAMBIGUATOR
57
+# define SWIGTEMPLATEDISAMBIGUATOR
64
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
65
-#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
66
+#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
67
# define _CRT_SECURE_NO_DEPRECATE
70
+/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
71
+#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
72
+# define _SCL_SECURE_NO_DEPRECATE
77
/* Python.h has to appear first */
81
/* This should only be incremented when either the layout of swig_type_info changes,
82
or for whatever reason, the runtime changes incompatibly */
83
-#define SWIG_RUNTIME_VERSION "2"
84
+#define SWIG_RUNTIME_VERSION "4"
86
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
87
#ifdef SWIG_TYPE_TABLE
90
/* Flags for pointer conversions */
91
#define SWIG_POINTER_DISOWN 0x1
92
+#define SWIG_CAST_NEW_MEMORY 0x2
94
/* Flags for new pointer objects */
95
#define SWIG_POINTER_OWN 0x1
100
-typedef void *(*swig_converter_func)(void *);
101
+typedef void *(*swig_converter_func)(void *, int *);
102
typedef struct swig_type_info *(*swig_dycast_func)(void **);
104
-/* Structure to store inforomation on one type */
105
+/* Structure to store information on one type */
106
typedef struct swig_type_info {
107
const char *name; /* mangled name of this type */
108
const char *str; /* human readable name of this type */
110
while ((*f2 == ' ') && (f2 != l2)) ++f2;
111
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
113
- return (l1 - f1) - (l2 - f2);
114
+ return (int)((l1 - f1) - (l2 - f2));
119
Cast a pointer up an inheritance hierarchy
121
SWIGRUNTIMEINLINE void *
122
-SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
123
- return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
124
+SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
125
+ return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
133
-/* Python.h has to appear first */
136
/* Add PyOS_snprintf for old Pythons */
137
#if PY_VERSION_HEX < 0x02020000
142
+/* Py_ssize_t for old Pythons */
143
+/* This code is as recommended by: */
144
+/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
145
+#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
146
+typedef int Py_ssize_t;
147
+# define PY_SSIZE_T_MAX INT_MAX
148
+# define PY_SSIZE_T_MIN INT_MIN
151
/* -----------------------------------------------------------------------------
157
- PyErr_Format(PyExc_RuntimeError, mesg);
158
+ PyErr_SetString(PyExc_RuntimeError, mesg);
162
@@ -1101,14 +1118,14 @@
163
/* Unpack the argument tuple */
166
-SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
167
+SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
173
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
174
- name, (min == max ? "" : "at least "), min);
175
+ name, (min == max ? "" : "at least "), (int)min);
179
@@ -1116,14 +1133,14 @@
180
PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
183
- register int l = PyTuple_GET_SIZE(args);
184
+ register Py_ssize_t l = PyTuple_GET_SIZE(args);
186
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
187
- name, (min == max ? "" : "at least "), min, l);
188
+ name, (min == max ? "" : "at least "), (int)min, (int)l);
190
} else if (l > max) {
191
PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
192
- name, (min == max ? "" : "at most "), max, l);
193
+ name, (min == max ? "" : "at most "), (int)max, (int)l);
197
@@ -1189,7 +1206,7 @@
198
SWIGRUNTIMEINLINE PyObject *
201
- PyObject *none = Py_BuildValue("");
202
+ PyObject *none = Py_BuildValue((char*)"");
206
@@ -1421,7 +1438,7 @@
208
PySwigObject *sobj = (PySwigObject *) v;
209
PyObject *next = sobj->next;
211
+ if (sobj->own == SWIG_POINTER_OWN) {
212
swig_type_info *ty = sobj->ty;
213
PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
214
PyObject *destroy = data ? data->destroy : 0;
215
@@ -1439,12 +1456,13 @@
216
res = ((*meth)(mself, v));
220
- const char *name = SWIG_TypePrettyName(ty);
222
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
223
- printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
226
+ const char *name = SWIG_TypePrettyName(ty);
227
+ printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
233
@@ -1602,9 +1620,11 @@
234
(unaryfunc)0, /*nb_float*/
235
(unaryfunc)PySwigObject_oct, /*nb_oct*/
236
(unaryfunc)PySwigObject_hex, /*nb_hex*/
237
-#if PY_VERSION_HEX >= 0x02020000
238
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
239
-#elif PY_VERSION_HEX >= 0x02000000
240
+#if PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
241
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
242
+#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
243
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
244
+#elif PY_VERSION_HEX >= 0x02000000 /* 2.0.0 */
245
0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
248
@@ -1947,7 +1967,7 @@
251
SWIG_Python_AcquirePtr(PyObject *obj, int own) {
253
+ if (own == SWIG_POINTER_OWN) {
254
PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
256
int oldown = sobj->own;
257
@@ -1968,6 +1988,8 @@
260
PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
264
void *vptr = sobj->ptr;
266
@@ -1981,7 +2003,15 @@
268
sobj = (PySwigObject *)sobj->next;
270
- if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
273
+ *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
274
+ if (newmemory == SWIG_CAST_NEW_MEMORY) {
277
+ *own = *own | SWIG_CAST_NEW_MEMORY;
283
@@ -1991,7 +2021,8 @@
287
- if (own) *own = sobj->own;
289
+ *own = *own | sobj->own;
290
if (flags & SWIG_POINTER_DISOWN) {
293
@@ -2048,7 +2079,7 @@
296
/* here we get the method pointer for callbacks */
297
- char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
298
+ const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
299
const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
301
desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
302
@@ -2056,8 +2087,13 @@
305
swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
306
- if (!tc) return SWIG_ERROR;
307
- *ptr = SWIG_TypeCast(tc,vptr);
310
+ *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
311
+ assert(!newmemory); /* newmemory handling not yet implemented */
318
@@ -2169,7 +2205,7 @@
322
- dict = PyObject_GetAttrString(inst, "__dict__");
323
+ dict = PyObject_GetAttrString(inst, (char*)"__dict__");
324
PyDict_SetItem(dict, SWIG_This(), swig_this);
327
@@ -2310,7 +2346,7 @@
329
/* The python cached type query */
330
SWIGRUNTIME PyObject *
331
-SWIG_Python_TypeCache() {
332
+SWIG_Python_TypeCache(void) {
333
static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
336
@@ -2551,7 +2587,7 @@
338
#if (PY_VERSION_HEX <= 0x02000000)
339
# if !defined(SWIG_PYTHON_CLASSIC)
340
-# error "This python version requires to use swig with the '-classic' option"
341
+# error "This python version requires swig to be run with the '-classic' option"
345
@@ -2562,7 +2598,8 @@
347
#define SWIG_name "_lcms"
349
-#define SWIGVERSION 0x010329
350
+#define SWIGVERSION 0x010335
351
+#define SWIG_VERSION SWIGVERSION
354
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
355
@@ -2589,7 +2626,9 @@
357
PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
359
- if (initial_ref) Py_XINCREF(_obj);
365
PyObject_ptr & operator=(const PyObject_ptr& item)
366
@@ -2687,7 +2726,7 @@
369
SWIGINTERN swig_type_info*
370
-SWIG_pchar_descriptor()
371
+SWIG_pchar_descriptor(void)
374
static swig_type_info* info = 0;
375
@@ -2724,14 +2763,12 @@
380
-# define LLONG_MIN LONG_LONG_MIN
383
-# define LLONG_MAX LONG_LONG_MAX
386
-# define ULLONG_MAX ULONG_LONG_MAX
387
+#if !defined(SWIG_NO_LLONG_MAX)
388
+# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
389
+# define LLONG_MAX __LONG_LONG_MAX__
390
+# define LLONG_MIN (-LLONG_MAX - 1LL)
391
+# define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
396
@@ -2916,7 +2953,7 @@
397
SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
399
if (PyString_Check(obj)) {
400
- char *cstr; int len;
401
+ char *cstr; Py_ssize_t len;
402
PyString_AsStringAndSize(obj, &cstr, &len);
405
@@ -3529,7 +3566,7 @@
406
result = (char *)COLORW___repr__(arg1);
407
if (InErrorFlag) SWIG_fail;
409
- resultobj = SWIG_FromCharPtr(result);
410
+ resultobj = SWIG_FromCharPtr((const char *)result);
414
@@ -3645,7 +3682,7 @@
416
SWIGINTERN PyObject *COLORW_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
418
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
419
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
420
SWIG_TypeNewClientData(SWIGTYPE_p_COLORW, SWIG_NewClientData(obj));
421
return SWIG_Py_Void();
423
@@ -3774,7 +3811,7 @@
424
result = (char *)COLORB___repr__(arg1);
425
if (InErrorFlag) SWIG_fail;
427
- resultobj = SWIG_FromCharPtr(result);
428
+ resultobj = SWIG_FromCharPtr((const char *)result);
432
@@ -3863,7 +3900,7 @@
434
SWIGINTERN PyObject *COLORB_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
436
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
437
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
438
SWIG_TypeNewClientData(SWIGTYPE_p_COLORB, SWIG_NewClientData(obj));
439
return SWIG_Py_Void();
441
@@ -3933,7 +3970,7 @@
442
if (!SWIG_IsOK(res1)) {
443
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_IT8" "', argument " "1"" of type '" "char const *""'");
446
+ arg1 = reinterpret_cast< char * >(buf1);
450
@@ -3973,7 +4010,7 @@
453
if (!PyTuple_Check(args)) SWIG_fail;
454
- argc = PyObject_Length(args);
455
+ argc = (int)PyObject_Length(args);
456
for (ii = 0; (ii < argc) && (ii < 1); ii++) {
457
argv[ii] = PyTuple_GET_ITEM(args,ii);
459
@@ -3990,7 +4027,10 @@
463
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_IT8'");
464
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_IT8'.\n"
465
+ " Possible C/C++ prototypes are:\n"
466
+ " IT8(char const *)\n"
471
@@ -4042,7 +4082,7 @@
472
result = (char *)IT8___repr__(arg1);
473
if (InErrorFlag) SWIG_fail;
475
- resultobj = SWIG_FromCharPtr(result);
476
+ resultobj = SWIG_FromCharPtr((const char *)result);
480
@@ -4072,7 +4112,7 @@
481
if (!SWIG_IsOK(res2)) {
482
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_saveToFile" "', argument " "2"" of type '" "char const *""'");
485
+ arg2 = reinterpret_cast< char * >(buf2);
489
@@ -4171,7 +4211,7 @@
490
result = (char *)IT8_getSheetType(arg1);
491
if (InErrorFlag) SWIG_fail;
493
- resultobj = SWIG_FromCharPtr(result);
494
+ resultobj = SWIG_FromCharPtr((const char *)result);
498
@@ -4201,7 +4241,7 @@
499
if (!SWIG_IsOK(res2)) {
500
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setSheetType" "', argument " "2"" of type '" "char const *""'");
503
+ arg2 = reinterpret_cast< char * >(buf2);
507
@@ -4240,7 +4280,7 @@
508
if (!SWIG_IsOK(res2)) {
509
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_addComment" "', argument " "2"" of type '" "char const *""'");
512
+ arg2 = reinterpret_cast< char * >(buf2);
516
@@ -4284,12 +4324,12 @@
517
if (!SWIG_IsOK(res2)) {
518
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setProperty" "', argument " "2"" of type '" "char const *""'");
521
+ arg2 = reinterpret_cast< char * >(buf2);
522
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
523
if (!SWIG_IsOK(res3)) {
524
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_setProperty" "', argument " "3"" of type '" "char const *""'");
527
+ arg3 = reinterpret_cast< char * >(buf3);
531
@@ -4334,7 +4374,7 @@
532
if (!SWIG_IsOK(res2)) {
533
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setProperty" "', argument " "2"" of type '" "char const *""'");
536
+ arg2 = reinterpret_cast< char * >(buf2);
537
ecode3 = SWIG_AsVal_double(obj2, &val3);
538
if (!SWIG_IsOK(ecode3)) {
539
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IT8_setProperty" "', argument " "3"" of type '" "double""'");
540
@@ -4361,7 +4401,7 @@
543
if (!PyTuple_Check(args)) SWIG_fail;
544
- argc = PyObject_Length(args);
545
+ argc = (int)PyObject_Length(args);
546
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
547
argv[ii] = PyTuple_GET_ITEM(args,ii);
549
@@ -4403,7 +4443,10 @@
553
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'IT8_setProperty'");
554
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'IT8_setProperty'.\n"
555
+ " Possible C/C++ prototypes are:\n"
556
+ " setProperty(IT8 *,char const *,char const *)\n"
557
+ " setProperty(IT8 *,char const *,double)\n");
561
@@ -4435,7 +4478,7 @@
562
if (!SWIG_IsOK(res2)) {
563
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setPropertyAsHex" "', argument " "2"" of type '" "char const *""'");
566
+ arg2 = reinterpret_cast< char * >(buf2);
567
ecode3 = SWIG_AsVal_int(obj2, &val3);
568
if (!SWIG_IsOK(ecode3)) {
569
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IT8_setPropertyAsHex" "', argument " "3"" of type '" "int""'");
570
@@ -4484,12 +4527,12 @@
571
if (!SWIG_IsOK(res2)) {
572
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setPropertyUncooked" "', argument " "2"" of type '" "char const *""'");
575
+ arg2 = reinterpret_cast< char * >(buf2);
576
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
577
if (!SWIG_IsOK(res3)) {
578
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_setPropertyUncooked" "', argument " "3"" of type '" "char const *""'");
581
+ arg3 = reinterpret_cast< char * >(buf3);
585
@@ -4530,14 +4573,14 @@
586
if (!SWIG_IsOK(res2)) {
587
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_getProperty" "', argument " "2"" of type '" "char const *""'");
590
+ arg2 = reinterpret_cast< char * >(buf2);
594
result = (char *)IT8_getProperty(arg1,(char const *)arg2);
595
if (InErrorFlag) SWIG_fail;
597
- resultobj = SWIG_FromCharPtr(result);
598
+ resultobj = SWIG_FromCharPtr((const char *)result);
599
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
602
@@ -4569,7 +4612,7 @@
603
if (!SWIG_IsOK(res2)) {
604
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_getPropertyAsDbl" "', argument " "2"" of type '" "char const *""'");
607
+ arg2 = reinterpret_cast< char * >(buf2);
611
@@ -4623,7 +4666,7 @@
612
result = (char *)IT8_getData__SWIG_0(arg1,arg2,arg3);
613
if (InErrorFlag) SWIG_fail;
615
- resultobj = SWIG_FromCharPtr(result);
616
+ resultobj = SWIG_FromCharPtr((const char *)result);
620
@@ -4658,19 +4701,19 @@
621
if (!SWIG_IsOK(res2)) {
622
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_getData" "', argument " "2"" of type '" "char const *""'");
625
+ arg2 = reinterpret_cast< char * >(buf2);
626
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
627
if (!SWIG_IsOK(res3)) {
628
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_getData" "', argument " "3"" of type '" "char const *""'");
631
+ arg3 = reinterpret_cast< char * >(buf3);
635
result = (char *)IT8_getData__SWIG_1(arg1,(char const *)arg2,(char const *)arg3);
636
if (InErrorFlag) SWIG_fail;
638
- resultobj = SWIG_FromCharPtr(result);
639
+ resultobj = SWIG_FromCharPtr((const char *)result);
640
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
641
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
643
@@ -4687,7 +4730,7 @@
646
if (!PyTuple_Check(args)) SWIG_fail;
647
- argc = PyObject_Length(args);
648
+ argc = (int)PyObject_Length(args);
649
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
650
argv[ii] = PyTuple_GET_ITEM(args,ii);
652
@@ -4731,7 +4774,10 @@
656
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'IT8_getData'");
657
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'IT8_getData'.\n"
658
+ " Possible C/C++ prototypes are:\n"
659
+ " getData(IT8 *,int,int)\n"
660
+ " getData(IT8 *,char const *,char const *)\n");
664
@@ -4809,12 +4855,12 @@
665
if (!SWIG_IsOK(res2)) {
666
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_getDataAsDbl" "', argument " "2"" of type '" "char const *""'");
669
+ arg2 = reinterpret_cast< char * >(buf2);
670
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
671
if (!SWIG_IsOK(res3)) {
672
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_getDataAsDbl" "', argument " "3"" of type '" "char const *""'");
675
+ arg3 = reinterpret_cast< char * >(buf3);
679
@@ -4838,7 +4884,7 @@
682
if (!PyTuple_Check(args)) SWIG_fail;
683
- argc = PyObject_Length(args);
684
+ argc = (int)PyObject_Length(args);
685
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
686
argv[ii] = PyTuple_GET_ITEM(args,ii);
688
@@ -4882,7 +4928,10 @@
692
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'IT8_getDataAsDbl'");
693
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'IT8_getDataAsDbl'.\n"
694
+ " Possible C/C++ prototypes are:\n"
695
+ " getDataAsDbl(IT8 *,int,int)\n"
696
+ " getDataAsDbl(IT8 *,char const *,char const *)\n");
700
@@ -4928,7 +4977,7 @@
701
if (!SWIG_IsOK(res4)) {
702
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "IT8_setData" "', argument " "4"" of type '" "char const *""'");
705
+ arg4 = reinterpret_cast< char * >(buf4);
709
@@ -5031,17 +5080,17 @@
710
if (!SWIG_IsOK(res2)) {
711
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setData" "', argument " "2"" of type '" "char const *""'");
714
+ arg2 = reinterpret_cast< char * >(buf2);
715
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
716
if (!SWIG_IsOK(res3)) {
717
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_setData" "', argument " "3"" of type '" "char const *""'");
720
+ arg3 = reinterpret_cast< char * >(buf3);
721
res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
722
if (!SWIG_IsOK(res4)) {
723
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "IT8_setData" "', argument " "4"" of type '" "char const *""'");
726
+ arg4 = reinterpret_cast< char * >(buf4);
730
@@ -5093,12 +5142,12 @@
731
if (!SWIG_IsOK(res2)) {
732
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setData" "', argument " "2"" of type '" "char const *""'");
735
+ arg2 = reinterpret_cast< char * >(buf2);
736
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
737
if (!SWIG_IsOK(res3)) {
738
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_setData" "', argument " "3"" of type '" "char const *""'");
741
+ arg3 = reinterpret_cast< char * >(buf3);
742
ecode4 = SWIG_AsVal_double(obj3, &val4);
743
if (!SWIG_IsOK(ecode4)) {
744
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IT8_setData" "', argument " "4"" of type '" "double""'");
745
@@ -5127,7 +5176,7 @@
748
if (!PyTuple_Check(args)) SWIG_fail;
749
- argc = PyObject_Length(args);
750
+ argc = (int)PyObject_Length(args);
751
for (ii = 0; (ii < argc) && (ii < 4); ii++) {
752
argv[ii] = PyTuple_GET_ITEM(args,ii);
754
@@ -5229,7 +5278,12 @@
758
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'IT8_setData'");
759
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'IT8_setData'.\n"
760
+ " Possible C/C++ prototypes are:\n"
761
+ " setData(IT8 *,int,int,char const *)\n"
762
+ " setData(IT8 *,int,int,double)\n"
763
+ " setData(IT8 *,char const *,char const *,char const *)\n"
764
+ " setData(IT8 *,char const *,char const *,double)\n");
768
@@ -5266,7 +5320,7 @@
769
if (!SWIG_IsOK(res3)) {
770
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_setDataFormat" "', argument " "3"" of type '" "char const *""'");
773
+ arg3 = reinterpret_cast< char * >(buf3);
777
@@ -5311,7 +5365,7 @@
778
result = (char *)IT8_getPatchName(arg1,arg2);
779
if (InErrorFlag) SWIG_fail;
781
- resultobj = SWIG_FromCharPtr(result);
782
+ resultobj = SWIG_FromCharPtr((const char *)result);
786
@@ -5341,7 +5395,7 @@
787
if (!SWIG_IsOK(res2)) {
788
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_getDataFormat" "', argument " "2"" of type '" "char const *""'");
791
+ arg2 = reinterpret_cast< char * >(buf2);
795
@@ -5444,17 +5498,17 @@
796
if (!SWIG_IsOK(res2)) {
797
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setTableByLabel" "', argument " "2"" of type '" "char const *""'");
800
+ arg2 = reinterpret_cast< char * >(buf2);
801
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
802
if (!SWIG_IsOK(res3)) {
803
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_setTableByLabel" "', argument " "3"" of type '" "char const *""'");
806
+ arg3 = reinterpret_cast< char * >(buf3);
807
res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
808
if (!SWIG_IsOK(res4)) {
809
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "IT8_setTableByLabel" "', argument " "4"" of type '" "char const *""'");
812
+ arg4 = reinterpret_cast< char * >(buf4);
816
@@ -5502,12 +5556,12 @@
817
if (!SWIG_IsOK(res2)) {
818
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setTableByLabel" "', argument " "2"" of type '" "char const *""'");
821
+ arg2 = reinterpret_cast< char * >(buf2);
822
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
823
if (!SWIG_IsOK(res3)) {
824
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IT8_setTableByLabel" "', argument " "3"" of type '" "char const *""'");
827
+ arg3 = reinterpret_cast< char * >(buf3);
831
@@ -5548,7 +5602,7 @@
832
if (!SWIG_IsOK(res2)) {
833
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_setTableByLabel" "', argument " "2"" of type '" "char const *""'");
836
+ arg2 = reinterpret_cast< char * >(buf2);
840
@@ -5570,7 +5624,7 @@
843
if (!PyTuple_Check(args)) SWIG_fail;
844
- argc = PyObject_Length(args);
845
+ argc = (int)PyObject_Length(args);
846
for (ii = 0; (ii < argc) && (ii < 4); ii++) {
847
argv[ii] = PyTuple_GET_ITEM(args,ii);
849
@@ -5627,7 +5681,11 @@
853
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'IT8_setTableByLabel'");
854
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'IT8_setTableByLabel'.\n"
855
+ " Possible C/C++ prototypes are:\n"
856
+ " setTableByLabel(IT8 *,char const *,char const *,char const *)\n"
857
+ " setTableByLabel(IT8 *,char const *,char const *)\n"
858
+ " setTableByLabel(IT8 *,char const *)\n");
862
@@ -5691,7 +5749,7 @@
863
if (!SWIG_IsOK(res2)) {
864
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IT8_getCol" "', argument " "2"" of type '" "char const *""'");
867
+ arg2 = reinterpret_cast< char * >(buf2);
871
@@ -5709,7 +5767,7 @@
873
SWIGINTERN PyObject *IT8_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
875
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
876
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
877
SWIG_TypeNewClientData(SWIGTYPE_p_IT8, SWIG_NewClientData(obj));
878
return SWIG_Py_Void();
880
@@ -6064,7 +6122,7 @@
882
SWIGINTERN PyObject *icCLutStruct_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
884
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
885
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
886
SWIG_TypeNewClientData(SWIGTYPE_p_icCLutStruct, SWIG_NewClientData(obj));
887
return SWIG_Py_Void();
889
@@ -6665,7 +6723,7 @@
891
SWIGINTERN PyObject *icLutAtoB_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
893
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
894
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
895
SWIG_TypeNewClientData(SWIGTYPE_p_icLutAtoB, SWIG_NewClientData(obj));
896
return SWIG_Py_Void();
898
@@ -7266,7 +7324,7 @@
900
SWIGINTERN PyObject *icLutBtoA_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
902
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
903
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
904
SWIG_TypeNewClientData(SWIGTYPE_p_icLutBtoA, SWIG_NewClientData(obj));
905
return SWIG_Py_Void();
907
@@ -7483,7 +7541,7 @@
909
SWIGINTERN PyObject *LCMSGAMMAPARAMS_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
911
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
912
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
913
SWIG_TypeNewClientData(SWIGTYPE_p_LCMSGAMMAPARAMS, SWIG_NewClientData(obj));
914
return SWIG_Py_Void();
916
@@ -7722,7 +7780,7 @@
919
if (!PyTuple_Check(args)) SWIG_fail;
920
- argc = PyObject_Length(args);
921
+ argc = (int)PyObject_Length(args);
922
for (ii = 0; (ii < argc) && (ii < 2); ii++) {
923
argv[ii] = PyTuple_GET_ITEM(args,ii);
925
@@ -7754,7 +7812,10 @@
929
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_GAMMATABLE'");
930
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_GAMMATABLE'.\n"
931
+ " Possible C/C++ prototypes are:\n"
932
+ " GAMMATABLE(double,int)\n"
933
+ " GAMMATABLE(double)\n");
937
@@ -7806,7 +7867,7 @@
938
result = (char *)GAMMATABLE___repr__(arg1);
939
if (InErrorFlag) SWIG_fail;
941
- resultobj = SWIG_FromCharPtr(result);
942
+ resultobj = SWIG_FromCharPtr((const char *)result);
946
@@ -7895,7 +7956,7 @@
948
SWIGINTERN PyObject *GAMMATABLE_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
950
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
951
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
952
SWIG_TypeNewClientData(SWIGTYPE_p_GAMMATABLE, SWIG_NewClientData(obj));
953
return SWIG_Py_Void();
955
@@ -8091,7 +8152,7 @@
958
if (!PyTuple_Check(args)) SWIG_fail;
959
- argc = PyObject_Length(args);
960
+ argc = (int)PyObject_Length(args);
961
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
962
argv[ii] = PyTuple_GET_ITEM(args,ii);
964
@@ -8148,7 +8209,12 @@
968
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_VEC3'");
969
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_VEC3'.\n"
970
+ " Possible C/C++ prototypes are:\n"
971
+ " VEC3(double,double,double)\n"
972
+ " VEC3(double,double)\n"
978
@@ -8280,7 +8346,7 @@
979
result = (char *)VEC3___repr__(arg1);
980
if (InErrorFlag) SWIG_fail;
982
- resultobj = SWIG_FromCharPtr(result);
983
+ resultobj = SWIG_FromCharPtr((const char *)result);
987
@@ -8289,7 +8355,7 @@
989
SWIGINTERN PyObject *VEC3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
991
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
992
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
993
SWIG_TypeNewClientData(SWIGTYPE_p_VEC3, SWIG_NewClientData(obj));
994
return SWIG_Py_Void();
996
@@ -8400,7 +8466,7 @@
998
SWIGINTERN PyObject *MAT3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1000
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1001
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1002
SWIG_TypeNewClientData(SWIGTYPE_p_MAT3, SWIG_NewClientData(obj));
1003
return SWIG_Py_Void();
1005
@@ -8696,7 +8762,7 @@
1008
if (!PyTuple_Check(args)) SWIG_fail;
1009
- argc = PyObject_Length(args);
1010
+ argc = (int)PyObject_Length(args);
1011
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1012
argv[ii] = PyTuple_GET_ITEM(args,ii);
1014
@@ -8753,7 +8819,12 @@
1018
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_cmsCIEXYZ'");
1019
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_cmsCIEXYZ'.\n"
1020
+ " Possible C/C++ prototypes are:\n"
1021
+ " cmsCIEXYZ(double,double,double)\n"
1022
+ " cmsCIEXYZ(double,double)\n"
1023
+ " cmsCIEXYZ(double)\n"
1024
+ " cmsCIEXYZ()\n");
1028
@@ -8805,7 +8876,7 @@
1029
result = (char *)cmsCIEXYZ___repr__(arg1);
1030
if (InErrorFlag) SWIG_fail;
1032
- resultobj = SWIG_FromCharPtr(result);
1033
+ resultobj = SWIG_FromCharPtr((const char *)result);
1037
@@ -8814,7 +8885,7 @@
1039
SWIGINTERN PyObject *cmsCIEXYZ_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1041
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1042
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1043
SWIG_TypeNewClientData(SWIGTYPE_p_cmsCIEXYZ, SWIG_NewClientData(obj));
1044
return SWIG_Py_Void();
1046
@@ -9110,7 +9181,7 @@
1049
if (!PyTuple_Check(args)) SWIG_fail;
1050
- argc = PyObject_Length(args);
1051
+ argc = (int)PyObject_Length(args);
1052
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1053
argv[ii] = PyTuple_GET_ITEM(args,ii);
1055
@@ -9167,7 +9238,12 @@
1059
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_cmsCIExyY'");
1060
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_cmsCIExyY'.\n"
1061
+ " Possible C/C++ prototypes are:\n"
1062
+ " cmsCIExyY(double,double,double)\n"
1063
+ " cmsCIExyY(double,double)\n"
1064
+ " cmsCIExyY(double)\n"
1065
+ " cmsCIExyY()\n");
1069
@@ -9219,7 +9295,7 @@
1070
result = (char *)cmsCIExyY___repr__(arg1);
1071
if (InErrorFlag) SWIG_fail;
1073
- resultobj = SWIG_FromCharPtr(result);
1074
+ resultobj = SWIG_FromCharPtr((const char *)result);
1078
@@ -9228,7 +9304,7 @@
1080
SWIGINTERN PyObject *cmsCIExyY_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1082
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1083
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1084
SWIG_TypeNewClientData(SWIGTYPE_p_cmsCIExyY, SWIG_NewClientData(obj));
1085
return SWIG_Py_Void();
1087
@@ -9524,7 +9600,7 @@
1090
if (!PyTuple_Check(args)) SWIG_fail;
1091
- argc = PyObject_Length(args);
1092
+ argc = (int)PyObject_Length(args);
1093
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1094
argv[ii] = PyTuple_GET_ITEM(args,ii);
1096
@@ -9581,7 +9657,12 @@
1100
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_cmsCIELab'");
1101
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_cmsCIELab'.\n"
1102
+ " Possible C/C++ prototypes are:\n"
1103
+ " cmsCIELab(double,double,double)\n"
1104
+ " cmsCIELab(double,double)\n"
1105
+ " cmsCIELab(double)\n"
1106
+ " cmsCIELab()\n");
1110
@@ -9633,7 +9714,7 @@
1111
result = (char *)cmsCIELab___repr__(arg1);
1112
if (InErrorFlag) SWIG_fail;
1114
- resultobj = SWIG_FromCharPtr(result);
1115
+ resultobj = SWIG_FromCharPtr((const char *)result);
1119
@@ -9678,7 +9759,7 @@
1121
SWIGINTERN PyObject *cmsCIELab_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1123
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1124
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1125
SWIG_TypeNewClientData(SWIGTYPE_p_cmsCIELab, SWIG_NewClientData(obj));
1126
return SWIG_Py_Void();
1128
@@ -9974,7 +10055,7 @@
1131
if (!PyTuple_Check(args)) SWIG_fail;
1132
- argc = PyObject_Length(args);
1133
+ argc = (int)PyObject_Length(args);
1134
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1135
argv[ii] = PyTuple_GET_ITEM(args,ii);
1137
@@ -10031,7 +10112,12 @@
1141
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_cmsCIELCh'");
1142
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_cmsCIELCh'.\n"
1143
+ " Possible C/C++ prototypes are:\n"
1144
+ " cmsCIELCh(double,double,double)\n"
1145
+ " cmsCIELCh(double,double)\n"
1146
+ " cmsCIELCh(double)\n"
1147
+ " cmsCIELCh()\n");
1151
@@ -10083,7 +10169,7 @@
1152
result = (char *)cmsCIELCh___repr__(arg1);
1153
if (InErrorFlag) SWIG_fail;
1155
- resultobj = SWIG_FromCharPtr(result);
1156
+ resultobj = SWIG_FromCharPtr((const char *)result);
1160
@@ -10092,7 +10178,7 @@
1162
SWIGINTERN PyObject *cmsCIELCh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1164
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1165
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1166
SWIG_TypeNewClientData(SWIGTYPE_p_cmsCIELCh, SWIG_NewClientData(obj));
1167
return SWIG_Py_Void();
1169
@@ -10388,7 +10474,7 @@
1172
if (!PyTuple_Check(args)) SWIG_fail;
1173
- argc = PyObject_Length(args);
1174
+ argc = (int)PyObject_Length(args);
1175
for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1176
argv[ii] = PyTuple_GET_ITEM(args,ii);
1178
@@ -10445,7 +10531,12 @@
1182
- SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_cmsJCh'");
1183
+ SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_cmsJCh'.\n"
1184
+ " Possible C/C++ prototypes are:\n"
1185
+ " cmsJCh(double,double,double)\n"
1186
+ " cmsJCh(double,double)\n"
1187
+ " cmsJCh(double)\n"
1192
@@ -10497,7 +10588,7 @@
1193
result = (char *)cmsJCh___repr__(arg1);
1194
if (InErrorFlag) SWIG_fail;
1196
- resultobj = SWIG_FromCharPtr(result);
1197
+ resultobj = SWIG_FromCharPtr((const char *)result);
1201
@@ -10506,7 +10597,7 @@
1203
SWIGINTERN PyObject *cmsJCh_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1205
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1206
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1207
SWIG_TypeNewClientData(SWIGTYPE_p_cmsJCh, SWIG_NewClientData(obj));
1208
return SWIG_Py_Void();
1210
@@ -10762,7 +10853,7 @@
1211
result = (char *)cmsCIEXYZTRIPLE___repr__(arg1);
1212
if (InErrorFlag) SWIG_fail;
1214
- resultobj = SWIG_FromCharPtr(result);
1215
+ resultobj = SWIG_FromCharPtr((const char *)result);
1219
@@ -10771,7 +10862,7 @@
1221
SWIGINTERN PyObject *cmsCIEXYZTRIPLE_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1223
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1224
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1225
SWIG_TypeNewClientData(SWIGTYPE_p_cmsCIEXYZTRIPLE, SWIG_NewClientData(obj));
1226
return SWIG_Py_Void();
1228
@@ -11027,7 +11118,7 @@
1229
result = (char *)cmsCIExyYTRIPLE___repr__(arg1);
1230
if (InErrorFlag) SWIG_fail;
1232
- resultobj = SWIG_FromCharPtr(result);
1233
+ resultobj = SWIG_FromCharPtr((const char *)result);
1237
@@ -11036,7 +11127,7 @@
1239
SWIGINTERN PyObject *cmsCIExyYTRIPLE_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1241
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1242
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1243
SWIG_TypeNewClientData(SWIGTYPE_p_cmsCIExyYTRIPLE, SWIG_NewClientData(obj));
1244
return SWIG_Py_Void();
1246
@@ -11096,12 +11187,12 @@
1247
if (!SWIG_IsOK(res1)) {
1248
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cmsOpenProfileFromFile" "', argument " "1"" of type '" "char const *""'");
1251
+ arg1 = reinterpret_cast< char * >(buf1);
1252
res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
1253
if (!SWIG_IsOK(res2)) {
1254
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsOpenProfileFromFile" "', argument " "2"" of type '" "char const *""'");
1257
+ arg2 = reinterpret_cast< char * >(buf2);
1261
@@ -12557,7 +12648,7 @@
1262
result = (char *)cmsViewingConditions___repr__(arg1);
1263
if (InErrorFlag) SWIG_fail;
1265
- resultobj = SWIG_FromCharPtr(result);
1266
+ resultobj = SWIG_FromCharPtr((const char *)result);
1270
@@ -12566,7 +12657,7 @@
1272
SWIGINTERN PyObject *cmsViewingConditions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1274
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1275
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1276
SWIG_TypeNewClientData(SWIGTYPE_p_cmsViewingConditions, SWIG_NewClientData(obj));
1277
return SWIG_Py_Void();
1279
@@ -13270,7 +13361,7 @@
1280
SWIGINTERN PyObject *_wrap_cmsReadICCGamma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1281
PyObject *resultobj = 0;
1282
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1283
- SwigValueWrapper<icTagSignature > arg2 ;
1284
+ SwigValueWrapper< icTagSignature > arg2 ;
1285
LPGAMMATABLE result;
1288
@@ -13312,7 +13403,7 @@
1289
SWIGINTERN PyObject *_wrap_cmsReadICCGammaReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1290
PyObject *resultobj = 0;
1291
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1292
- SwigValueWrapper<icTagSignature > arg2 ;
1293
+ SwigValueWrapper< icTagSignature > arg2 ;
1294
LPGAMMATABLE result;
1297
@@ -13590,7 +13681,7 @@
1298
result = (char *)cmsTakeProductName(arg1);
1299
if (InErrorFlag) SWIG_fail;
1301
- resultobj = SWIG_FromCharPtr(result);
1302
+ resultobj = SWIG_FromCharPtr((const char *)result);
1306
@@ -13615,7 +13706,7 @@
1307
result = (char *)cmsTakeProductDesc(arg1);
1308
if (InErrorFlag) SWIG_fail;
1310
- resultobj = SWIG_FromCharPtr(result);
1311
+ resultobj = SWIG_FromCharPtr((const char *)result);
1315
@@ -13640,7 +13731,7 @@
1316
result = (char *)cmsTakeProductInfo(arg1);
1317
if (InErrorFlag) SWIG_fail;
1319
- resultobj = SWIG_FromCharPtr(result);
1320
+ resultobj = SWIG_FromCharPtr((const char *)result);
1324
@@ -13665,7 +13756,7 @@
1325
result = (char *)cmsTakeManufacturer(arg1);
1326
if (InErrorFlag) SWIG_fail;
1328
- resultobj = SWIG_FromCharPtr(result);
1329
+ resultobj = SWIG_FromCharPtr((const char *)result);
1333
@@ -13690,7 +13781,7 @@
1334
result = (char *)cmsTakeModel(arg1);
1335
if (InErrorFlag) SWIG_fail;
1337
- resultobj = SWIG_FromCharPtr(result);
1338
+ resultobj = SWIG_FromCharPtr((const char *)result);
1342
@@ -13715,7 +13806,7 @@
1343
result = (char *)cmsTakeCopyright(arg1);
1344
if (InErrorFlag) SWIG_fail;
1346
- resultobj = SWIG_FromCharPtr(result);
1347
+ resultobj = SWIG_FromCharPtr((const char *)result);
1351
@@ -13818,7 +13909,7 @@
1352
SWIGINTERN PyObject *_wrap_cmsIsTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1353
PyObject *resultobj = 0;
1354
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1355
- SwigValueWrapper<icTagSignature > arg2 ;
1356
+ SwigValueWrapper< icTagSignature > arg2 ;
1360
@@ -13928,7 +14019,7 @@
1361
SWIGINTERN PyObject *_wrap_cmsReadICCTextEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1362
PyObject *resultobj = 0;
1363
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1364
- SwigValueWrapper<icTagSignature > arg2 ;
1365
+ SwigValueWrapper< icTagSignature > arg2 ;
1366
char *arg3 = (char *) 0 ;
1369
@@ -13967,7 +14058,7 @@
1370
if (!SWIG_IsOK(res3)) {
1371
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsReadICCTextEx" "', argument " "3"" of type '" "char *""'");
1374
+ arg3 = reinterpret_cast< char * >(buf3);
1375
ecode4 = SWIG_AsVal_size_t(obj3, &val4);
1376
if (!SWIG_IsOK(ecode4)) {
1377
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cmsReadICCTextEx" "', argument " "4"" of type '" "size_t""'");
1378
@@ -13991,7 +14082,7 @@
1379
SWIGINTERN PyObject *_wrap_cmsReadICCText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1380
PyObject *resultobj = 0;
1381
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1382
- SwigValueWrapper<icTagSignature > arg2 ;
1383
+ SwigValueWrapper< icTagSignature > arg2 ;
1384
char *arg3 = (char *) 0 ;
1387
@@ -14026,7 +14117,7 @@
1388
if (!SWIG_IsOK(res3)) {
1389
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsReadICCText" "', argument " "3"" of type '" "char *""'");
1392
+ arg3 = reinterpret_cast< char * >(buf3);
1396
@@ -14305,7 +14396,7 @@
1397
if (!SWIG_IsOK(res2)) {
1398
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsPSEQDESC_Manufacturer_set" "', argument " "2"" of type '" "char [512]""'");
1401
+ arg2 = reinterpret_cast< char * >(temp2);
1402
if (arg2) memcpy(arg1->Manufacturer,arg2,512*sizeof(char));
1403
else memset(arg1->Manufacturer,0,512*sizeof(char));
1404
resultobj = SWIG_Py_Void();
1405
@@ -14364,7 +14455,7 @@
1406
if (!SWIG_IsOK(res2)) {
1407
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsPSEQDESC_Model_set" "', argument " "2"" of type '" "char [512]""'");
1410
+ arg2 = reinterpret_cast< char * >(temp2);
1411
if (arg2) memcpy(arg1->Model,arg2,512*sizeof(char));
1412
else memset(arg1->Model,0,512*sizeof(char));
1413
resultobj = SWIG_Py_Void();
1414
@@ -14449,7 +14540,7 @@
1416
SWIGINTERN PyObject *cmsPSEQDESC_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1418
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1419
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1420
SWIG_TypeNewClientData(SWIGTYPE_p_cmsPSEQDESC, SWIG_NewClientData(obj));
1421
return SWIG_Py_Void();
1423
@@ -14613,7 +14704,7 @@
1425
SWIGINTERN PyObject *cmsSEQ_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1427
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1428
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1429
SWIG_TypeNewClientData(SWIGTYPE_p_cmsSEQ, SWIG_NewClientData(obj));
1430
return SWIG_Py_Void();
1432
@@ -14881,7 +14972,7 @@
1433
if (!SWIG_IsOK(res2)) {
1434
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsGAMUTEX_Description_set" "', argument " "2"" of type '" "char [512]""'");
1437
+ arg2 = reinterpret_cast< char * >(temp2);
1438
if (arg2) memcpy(arg1->Description,arg2,512*sizeof(char));
1439
else memset(arg1->Description,0,512*sizeof(char));
1440
resultobj = SWIG_Py_Void();
1441
@@ -15139,7 +15230,7 @@
1443
SWIGINTERN PyObject *cmsGAMUTEX_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1445
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1446
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1447
SWIG_TypeNewClientData(SWIGTYPE_p_cmsGAMUTEX, SWIG_NewClientData(obj));
1448
return SWIG_Py_Void();
1450
@@ -15539,7 +15630,7 @@
1451
PyObject *resultobj = 0;
1452
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1453
icInt32Number arg2 ;
1454
- SwigValueWrapper<icTagSignature > result;
1455
+ SwigValueWrapper< icTagSignature > result;
1459
@@ -16332,7 +16423,7 @@
1460
if (!SWIG_IsOK(res2)) {
1461
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsNAMEDCOLOR_Name_set" "', argument " "2"" of type '" "char [(256)]""'");
1464
+ arg2 = reinterpret_cast< char * >(temp2);
1465
if (arg2) memcpy(arg1->Name,arg2,(256)*sizeof(char));
1466
else memset(arg1->Name,0,(256)*sizeof(char));
1467
resultobj = SWIG_Py_Void();
1468
@@ -16535,7 +16626,7 @@
1470
SWIGINTERN PyObject *cmsNAMEDCOLOR_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1472
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1473
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1474
SWIG_TypeNewClientData(SWIGTYPE_p_cmsNAMEDCOLOR, SWIG_NewClientData(obj));
1475
return SWIG_Py_Void();
1477
@@ -16720,7 +16811,7 @@
1478
if (!SWIG_IsOK(res2)) {
1479
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsNAMEDCOLORLIST_Prefix_set" "', argument " "2"" of type '" "char [33]""'");
1482
+ arg2 = reinterpret_cast< char * >(temp2);
1483
if (arg2) memcpy(arg1->Prefix,arg2,33*sizeof(char));
1484
else memset(arg1->Prefix,0,33*sizeof(char));
1485
resultobj = SWIG_Py_Void();
1486
@@ -16779,7 +16870,7 @@
1487
if (!SWIG_IsOK(res2)) {
1488
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsNAMEDCOLORLIST_Suffix_set" "', argument " "2"" of type '" "char [33]""'");
1491
+ arg2 = reinterpret_cast< char * >(temp2);
1492
if (arg2) memcpy(arg1->Suffix,arg2,33*sizeof(char));
1493
else memset(arg1->Suffix,0,33*sizeof(char));
1494
resultobj = SWIG_Py_Void();
1495
@@ -16923,7 +17014,7 @@
1497
SWIGINTERN PyObject *cmsNAMEDCOLORLIST_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1499
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1500
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1501
SWIG_TypeNewClientData(SWIGTYPE_p_cmsNAMEDCOLORLIST, SWIG_NewClientData(obj));
1502
return SWIG_Py_Void();
1504
@@ -16993,17 +17084,17 @@
1505
if (!SWIG_IsOK(res3)) {
1506
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsNamedColorInfo" "', argument " "3"" of type '" "char *""'");
1509
+ arg3 = reinterpret_cast< char * >(buf3);
1510
res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
1511
if (!SWIG_IsOK(res4)) {
1512
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "cmsNamedColorInfo" "', argument " "4"" of type '" "char *""'");
1515
+ arg4 = reinterpret_cast< char * >(buf4);
1516
res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5);
1517
if (!SWIG_IsOK(res5)) {
1518
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "cmsNamedColorInfo" "', argument " "5"" of type '" "char *""'");
1521
+ arg5 = reinterpret_cast< char * >(buf5);
1525
@@ -17044,7 +17135,7 @@
1526
if (!SWIG_IsOK(res2)) {
1527
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsNamedColorIndex" "', argument " "2"" of type '" "char const *""'");
1530
+ arg2 = reinterpret_cast< char * >(buf2);
1534
@@ -17063,7 +17154,7 @@
1535
SWIGINTERN PyObject *_wrap_cmsReadColorantTable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1536
PyObject *resultobj = 0;
1537
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1538
- SwigValueWrapper<icTagSignature > arg2 ;
1539
+ SwigValueWrapper< icTagSignature > arg2 ;
1540
LPcmsNAMEDCOLORLIST result;
1543
@@ -17105,7 +17196,7 @@
1544
SWIGINTERN PyObject *_wrap_cmsAddTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1545
PyObject *resultobj = 0;
1546
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1547
- SwigValueWrapper<icTagSignature > arg2 ;
1548
+ SwigValueWrapper< icTagSignature > arg2 ;
1549
void *arg3 = (void *) 0 ;
1552
@@ -17239,7 +17330,7 @@
1553
if (!SWIG_IsOK(res2)) {
1554
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsSaveProfile" "', argument " "2"" of type '" "char const *""'");
1557
+ arg2 = reinterpret_cast< char * >(buf2);
1561
@@ -17841,7 +17932,7 @@
1562
SWIGINTERN PyObject *_wrap_cmsReadICCLut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1563
PyObject *resultobj = 0;
1564
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1565
- SwigValueWrapper<icTagSignature > arg2 ;
1566
+ SwigValueWrapper< icTagSignature > arg2 ;
1570
@@ -18191,7 +18282,7 @@
1571
if (!SWIG_IsOK(res1)) {
1572
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "cmsIT8LoadFromFile" "', argument " "1"" of type '" "char const *""'");
1575
+ arg1 = reinterpret_cast< char * >(buf1);
1579
@@ -18262,7 +18353,7 @@
1580
if (!SWIG_IsOK(res2)) {
1581
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SaveToFile" "', argument " "2"" of type '" "char const *""'");
1584
+ arg2 = reinterpret_cast< char * >(buf2);
1588
@@ -18337,7 +18428,7 @@
1589
result = (char *)cmsIT8GetSheetType(arg1);
1590
if (InErrorFlag) SWIG_fail;
1592
- resultobj = SWIG_FromCharPtr(result);
1593
+ resultobj = SWIG_FromCharPtr((const char *)result);
1597
@@ -18365,7 +18456,7 @@
1598
if (!SWIG_IsOK(res2)) {
1599
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetSheetType" "', argument " "2"" of type '" "char const *""'");
1602
+ arg2 = reinterpret_cast< char * >(buf2);
1606
@@ -18402,7 +18493,7 @@
1607
if (!SWIG_IsOK(res2)) {
1608
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetComment" "', argument " "2"" of type '" "char const *""'");
1611
+ arg2 = reinterpret_cast< char * >(buf2);
1615
@@ -18444,12 +18535,12 @@
1616
if (!SWIG_IsOK(res2)) {
1617
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetPropertyStr" "', argument " "2"" of type '" "char const *""'");
1620
+ arg2 = reinterpret_cast< char * >(buf2);
1621
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
1622
if (!SWIG_IsOK(res3)) {
1623
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8SetPropertyStr" "', argument " "3"" of type '" "char const *""'");
1626
+ arg3 = reinterpret_cast< char * >(buf3);
1630
@@ -18492,7 +18583,7 @@
1631
if (!SWIG_IsOK(res2)) {
1632
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetPropertyDbl" "', argument " "2"" of type '" "char const *""'");
1635
+ arg2 = reinterpret_cast< char * >(buf2);
1636
ecode3 = SWIG_AsVal_double(obj2, &val3);
1637
if (!SWIG_IsOK(ecode3)) {
1638
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cmsIT8SetPropertyDbl" "', argument " "3"" of type '" "double""'");
1639
@@ -18538,7 +18629,7 @@
1640
if (!SWIG_IsOK(res2)) {
1641
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetPropertyHex" "', argument " "2"" of type '" "char const *""'");
1644
+ arg2 = reinterpret_cast< char * >(buf2);
1645
ecode3 = SWIG_AsVal_int(obj2, &val3);
1646
if (!SWIG_IsOK(ecode3)) {
1647
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "cmsIT8SetPropertyHex" "', argument " "3"" of type '" "int""'");
1648
@@ -18585,12 +18676,12 @@
1649
if (!SWIG_IsOK(res2)) {
1650
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetPropertyUncooked" "', argument " "2"" of type '" "char const *""'");
1653
+ arg2 = reinterpret_cast< char * >(buf2);
1654
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
1655
if (!SWIG_IsOK(res3)) {
1656
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8SetPropertyUncooked" "', argument " "3"" of type '" "char const *""'");
1659
+ arg3 = reinterpret_cast< char * >(buf3);
1663
@@ -18629,14 +18720,14 @@
1664
if (!SWIG_IsOK(res2)) {
1665
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8GetProperty" "', argument " "2"" of type '" "char const *""'");
1668
+ arg2 = reinterpret_cast< char * >(buf2);
1672
result = (char *)cmsIT8GetProperty(arg1,(char const *)arg2);
1673
if (InErrorFlag) SWIG_fail;
1675
- resultobj = SWIG_FromCharPtr(result);
1676
+ resultobj = SWIG_FromCharPtr((const char *)result);
1677
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
1680
@@ -18666,7 +18757,7 @@
1681
if (!SWIG_IsOK(res2)) {
1682
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8GetPropertyDbl" "', argument " "2"" of type '" "char const *""'");
1685
+ arg2 = reinterpret_cast< char * >(buf2);
1689
@@ -18752,7 +18843,7 @@
1690
result = (char *)cmsIT8GetDataRowCol(arg1,arg2,arg3);
1691
if (InErrorFlag) SWIG_fail;
1693
- resultobj = SWIG_FromCharPtr(result);
1694
+ resultobj = SWIG_FromCharPtr((const char *)result);
1698
@@ -18841,7 +18932,7 @@
1699
if (!SWIG_IsOK(res4)) {
1700
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "cmsIT8SetDataRowCol" "', argument " "4"" of type '" "char const *""'");
1703
+ arg4 = reinterpret_cast< char * >(buf4);
1707
@@ -18935,19 +19026,19 @@
1708
if (!SWIG_IsOK(res2)) {
1709
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8GetData" "', argument " "2"" of type '" "char const *""'");
1712
+ arg2 = reinterpret_cast< char * >(buf2);
1713
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
1714
if (!SWIG_IsOK(res3)) {
1715
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8GetData" "', argument " "3"" of type '" "char const *""'");
1718
+ arg3 = reinterpret_cast< char * >(buf3);
1722
result = (char *)cmsIT8GetData(arg1,(char const *)arg2,(char const *)arg3);
1723
if (InErrorFlag) SWIG_fail;
1725
- resultobj = SWIG_FromCharPtr(result);
1726
+ resultobj = SWIG_FromCharPtr((const char *)result);
1727
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
1728
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
1730
@@ -18984,12 +19075,12 @@
1731
if (!SWIG_IsOK(res2)) {
1732
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8GetDataDbl" "', argument " "2"" of type '" "char const *""'");
1735
+ arg2 = reinterpret_cast< char * >(buf2);
1736
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
1737
if (!SWIG_IsOK(res3)) {
1738
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8GetDataDbl" "', argument " "3"" of type '" "char const *""'");
1741
+ arg3 = reinterpret_cast< char * >(buf3);
1745
@@ -19038,17 +19129,17 @@
1746
if (!SWIG_IsOK(res2)) {
1747
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetData" "', argument " "2"" of type '" "char const *""'");
1750
+ arg2 = reinterpret_cast< char * >(buf2);
1751
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
1752
if (!SWIG_IsOK(res3)) {
1753
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8SetData" "', argument " "3"" of type '" "char const *""'");
1756
+ arg3 = reinterpret_cast< char * >(buf3);
1757
res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
1758
if (!SWIG_IsOK(res4)) {
1759
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "cmsIT8SetData" "', argument " "4"" of type '" "char const *""'");
1762
+ arg4 = reinterpret_cast< char * >(buf4);
1766
@@ -19098,12 +19189,12 @@
1767
if (!SWIG_IsOK(res2)) {
1768
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetDataDbl" "', argument " "2"" of type '" "char const *""'");
1771
+ arg2 = reinterpret_cast< char * >(buf2);
1772
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
1773
if (!SWIG_IsOK(res3)) {
1774
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8SetDataDbl" "', argument " "3"" of type '" "char const *""'");
1777
+ arg3 = reinterpret_cast< char * >(buf3);
1778
ecode4 = SWIG_AsVal_double(obj3, &val4);
1779
if (!SWIG_IsOK(ecode4)) {
1780
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "cmsIT8SetDataDbl" "', argument " "4"" of type '" "double""'");
1781
@@ -19147,7 +19238,7 @@
1782
if (!SWIG_IsOK(res2)) {
1783
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8GetDataFormat" "', argument " "2"" of type '" "char const *""'");
1786
+ arg2 = reinterpret_cast< char * >(buf2);
1790
@@ -19193,7 +19284,7 @@
1791
if (!SWIG_IsOK(res3)) {
1792
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8SetDataFormat" "', argument " "3"" of type '" "char const *""'");
1795
+ arg3 = reinterpret_cast< char * >(buf3);
1799
@@ -19273,14 +19364,14 @@
1800
if (!SWIG_IsOK(res3)) {
1801
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8GetPatchName" "', argument " "3"" of type '" "char *""'");
1804
+ arg3 = reinterpret_cast< char * >(buf3);
1808
result = (char *)cmsIT8GetPatchName(arg1,arg2,arg3);
1809
if (InErrorFlag) SWIG_fail;
1811
- resultobj = SWIG_FromCharPtr(result);
1812
+ resultobj = SWIG_FromCharPtr((const char *)result);
1813
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
1816
@@ -19320,17 +19411,17 @@
1817
if (!SWIG_IsOK(res2)) {
1818
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8SetTableByLabel" "', argument " "2"" of type '" "char const *""'");
1821
+ arg2 = reinterpret_cast< char * >(buf2);
1822
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
1823
if (!SWIG_IsOK(res3)) {
1824
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsIT8SetTableByLabel" "', argument " "3"" of type '" "char const *""'");
1827
+ arg3 = reinterpret_cast< char * >(buf3);
1828
res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
1829
if (!SWIG_IsOK(res4)) {
1830
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "cmsIT8SetTableByLabel" "', argument " "4"" of type '" "char const *""'");
1833
+ arg4 = reinterpret_cast< char * >(buf4);
1837
@@ -19370,7 +19461,7 @@
1838
if (!SWIG_IsOK(res2)) {
1839
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsIT8DefineDblFormat" "', argument " "2"" of type '" "char const *""'");
1842
+ arg2 = reinterpret_cast< char * >(buf2);
1846
@@ -19599,7 +19690,7 @@
1847
SWIGINTERN PyObject *_wrap__cmsAddTextTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1848
PyObject *resultobj = 0;
1849
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1850
- SwigValueWrapper<icTagSignature > arg2 ;
1851
+ SwigValueWrapper< icTagSignature > arg2 ;
1852
char *arg3 = (char *) 0 ;
1855
@@ -19634,7 +19725,7 @@
1856
if (!SWIG_IsOK(res3)) {
1857
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "_cmsAddTextTag" "', argument " "3"" of type '" "char const *""'");
1860
+ arg3 = reinterpret_cast< char * >(buf3);
1864
@@ -19653,7 +19744,7 @@
1865
SWIGINTERN PyObject *_wrap__cmsAddXYZTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1866
PyObject *resultobj = 0;
1867
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1868
- SwigValueWrapper<icTagSignature > arg2 ;
1869
+ SwigValueWrapper< icTagSignature > arg2 ;
1870
cmsCIEXYZ *arg3 = (cmsCIEXYZ *) 0 ;
1873
@@ -19704,7 +19795,7 @@
1874
SWIGINTERN PyObject *_wrap__cmsAddLUTTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1875
PyObject *resultobj = 0;
1876
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1877
- SwigValueWrapper<icTagSignature > arg2 ;
1878
+ SwigValueWrapper< icTagSignature > arg2 ;
1879
void *arg3 = (void *) 0 ;
1882
@@ -19753,7 +19844,7 @@
1883
SWIGINTERN PyObject *_wrap__cmsAddGammaTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1884
PyObject *resultobj = 0;
1885
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1886
- SwigValueWrapper<icTagSignature > arg2 ;
1887
+ SwigValueWrapper< icTagSignature > arg2 ;
1888
LPGAMMATABLE arg3 = (LPGAMMATABLE) 0 ;
1891
@@ -19804,7 +19895,7 @@
1892
SWIGINTERN PyObject *_wrap__cmsAddChromaticityTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1893
PyObject *resultobj = 0;
1894
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1895
- SwigValueWrapper<icTagSignature > arg2 ;
1896
+ SwigValueWrapper< icTagSignature > arg2 ;
1897
LPcmsCIExyYTRIPLE arg3 = (LPcmsCIExyYTRIPLE) 0 ;
1900
@@ -19855,7 +19946,7 @@
1901
SWIGINTERN PyObject *_wrap__cmsAddSequenceDescriptionTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1902
PyObject *resultobj = 0;
1903
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1904
- SwigValueWrapper<icTagSignature > arg2 ;
1905
+ SwigValueWrapper< icTagSignature > arg2 ;
1909
@@ -19914,7 +20005,7 @@
1910
SWIGINTERN PyObject *_wrap__cmsAddNamedColorTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1911
PyObject *resultobj = 0;
1912
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1913
- SwigValueWrapper<icTagSignature > arg2 ;
1914
+ SwigValueWrapper< icTagSignature > arg2 ;
1915
LPcmsNAMEDCOLORLIST arg3 ;
1918
@@ -19973,7 +20064,7 @@
1919
SWIGINTERN PyObject *_wrap__cmsAddDateTimeTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1920
PyObject *resultobj = 0;
1921
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1922
- SwigValueWrapper<icTagSignature > arg2 ;
1923
+ SwigValueWrapper< icTagSignature > arg2 ;
1924
tm *arg3 = (tm *) 0 ;
1927
@@ -20024,7 +20115,7 @@
1928
SWIGINTERN PyObject *_wrap__cmsAddColorantTableTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1929
PyObject *resultobj = 0;
1930
cmsHPROFILE arg1 = (cmsHPROFILE) 0 ;
1931
- SwigValueWrapper<icTagSignature > arg2 ;
1932
+ SwigValueWrapper< icTagSignature > arg2 ;
1933
LPcmsNAMEDCOLORLIST arg3 ;
1936
@@ -20161,12 +20252,12 @@
1937
if (!SWIG_IsOK(res2)) {
1938
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsSignalError" "', argument " "2"" of type '" "char const *""'");
1941
+ arg2 = reinterpret_cast< char * >(buf2);
1942
res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
1943
if (!SWIG_IsOK(res3)) {
1944
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsSignalError" "', argument " "3"" of type '" "char *""'");
1947
+ arg3 = reinterpret_cast< char * >(buf3);
1951
@@ -20353,7 +20444,7 @@
1953
SWIGINTERN PyObject *_cmsTestAlign16_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1955
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1956
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1957
SWIG_TypeNewClientData(SWIGTYPE_p__cmsTestAlign16, SWIG_NewClientData(obj));
1958
return SWIG_Py_Void();
1960
@@ -20527,7 +20618,7 @@
1962
SWIGINTERN PyObject *_cmsTestAlign8_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1964
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1965
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1966
SWIG_TypeNewClientData(SWIGTYPE_p__cmsTestAlign8, SWIG_NewClientData(obj));
1967
return SWIG_Py_Void();
1969
@@ -20900,7 +20991,7 @@
1971
SWIGINTERN PyObject *WVEC3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1973
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1974
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1975
SWIG_TypeNewClientData(SWIGTYPE_p_WVEC3, SWIG_NewClientData(obj));
1976
return SWIG_Py_Void();
1978
@@ -21011,7 +21102,7 @@
1980
SWIGINTERN PyObject *WMAT3_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1982
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1983
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1984
SWIG_TypeNewClientData(SWIGTYPE_p_WMAT3, SWIG_NewClientData(obj));
1985
return SWIG_Py_Void();
1987
@@ -22714,7 +22805,7 @@
1989
SWIGINTERN PyObject *L8PARAMS_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1991
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
1992
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
1993
SWIG_TypeNewClientData(SWIGTYPE_p__lcms_l8opt_struc, SWIG_NewClientData(obj));
1994
return SWIG_Py_Void();
1996
@@ -23507,7 +23598,7 @@
1998
SWIGINTERN PyObject *L16PARAMS_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2000
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
2001
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
2002
SWIG_TypeNewClientData(SWIGTYPE_p__lcms_l16params_struc, SWIG_NewClientData(obj));
2003
return SWIG_Py_Void();
2005
@@ -25471,7 +25562,7 @@
2007
SWIGINTERN PyObject *_lcms_LUT_struc_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2009
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
2010
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
2011
SWIG_TypeNewClientData(SWIGTYPE_p__lcms_LUT_struc, SWIG_NewClientData(obj));
2012
return SWIG_Py_Void();
2014
@@ -26290,7 +26381,7 @@
2016
SWIGINTERN PyObject *MATSHAPER_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2018
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
2019
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
2020
SWIG_TypeNewClientData(SWIGTYPE_p_MATSHAPER, SWIG_NewClientData(obj));
2021
return SWIG_Py_Void();
2023
@@ -26811,7 +26902,7 @@
2024
if (!SWIG_IsOK(res1)) {
2025
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_cmsIdentifyWhitePoint" "', argument " "1"" of type '" "char *""'");
2028
+ arg1 = reinterpret_cast< char * >(buf1);
2029
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_cmsCIEXYZ, 0 | 0 );
2030
if (!SWIG_IsOK(res2)) {
2031
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_cmsIdentifyWhitePoint" "', argument " "2"" of type '" "LPcmsCIEXYZ""'");
2032
@@ -26899,7 +26990,7 @@
2033
PyObject *resultobj = 0;
2034
cmsHTRANSFORM arg1 = (cmsHTRANSFORM) 0 ;
2035
cmsHPROFILE arg2 = (cmsHPROFILE) 0 ;
2036
- SwigValueWrapper<icTagSignature > arg3 ;
2037
+ SwigValueWrapper< icTagSignature > arg3 ;
2041
@@ -27007,7 +27098,7 @@
2042
if (!SWIG_IsOK(res2)) {
2043
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "cmsAppendNamedColor" "', argument " "2"" of type '" "char const *""'");
2046
+ arg2 = reinterpret_cast< char * >(buf2);
2047
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_unsigned_short, 0 | 0 );
2048
if (!SWIG_IsOK(res3)) {
2049
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "cmsAppendNamedColor" "', argument " "3"" of type '" "WORD [3]""'");
2050
@@ -28100,7 +28191,7 @@
2051
if (!SWIG_IsOK(res2)) {
2052
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LCMSICCPROFILE_PhysicalFile_set" "', argument " "2"" of type '" "char [(256)]""'");
2055
+ arg2 = reinterpret_cast< char * >(temp2);
2056
if (arg2) memcpy(arg1->PhysicalFile,arg2,(256)*sizeof(char));
2057
else memset(arg1->PhysicalFile,0,(256)*sizeof(char));
2058
resultobj = SWIG_Py_Void();
2059
@@ -28665,7 +28756,7 @@
2061
SWIGINTERN PyObject *LCMSICCPROFILE_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2063
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
2064
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
2065
SWIG_TypeNewClientData(SWIGTYPE_p__lcms_iccprofile_struct, SWIG_NewClientData(obj));
2066
return SWIG_Py_Void();
2068
@@ -28691,7 +28782,7 @@
2069
SWIGINTERN PyObject *_wrap__cmsSearchTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2070
PyObject *resultobj = 0;
2071
LPLCMSICCPROFILE arg1 = (LPLCMSICCPROFILE) 0 ;
2072
- SwigValueWrapper<icTagSignature > arg2 ;
2073
+ SwigValueWrapper< icTagSignature > arg2 ;
2075
icInt32Number result;
2077
@@ -28744,7 +28835,7 @@
2078
SWIGINTERN PyObject *_wrap__cmsInitTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2079
PyObject *resultobj = 0;
2080
LPLCMSICCPROFILE arg1 = (LPLCMSICCPROFILE) 0 ;
2081
- SwigValueWrapper<icTagSignature > arg2 ;
2082
+ SwigValueWrapper< icTagSignature > arg2 ;
2084
void *arg4 = (void *) 0 ;
2086
@@ -28815,7 +28906,7 @@
2087
if (!SWIG_IsOK(res1)) {
2088
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_cmsCreateProfileFromFilePlaceholder" "', argument " "1"" of type '" "char const *""'");
2091
+ arg1 = reinterpret_cast< char * >(buf1);
2095
@@ -28887,7 +28978,7 @@
2096
if (!SWIG_IsOK(res2)) {
2097
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_cmsSetSaveToDisk" "', argument " "2"" of type '" "char const *""'");
2100
+ arg2 = reinterpret_cast< char * >(buf2);
2104
@@ -31318,7 +31409,7 @@
2106
SWIGINTERN PyObject *_cmsTRANSFORM_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2108
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
2109
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
2110
SWIG_TypeNewClientData(SWIGTYPE_p__cmstransform_struct, SWIG_NewClientData(obj));
2111
return SWIG_Py_Void();
2113
@@ -32185,7 +32276,7 @@
2115
SWIGINTERN PyObject *icTagSignature_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2117
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
2118
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
2119
SWIG_TypeNewClientData(SWIGTYPE_p_icTagSignature, SWIG_NewClientData(obj));
2120
return SWIG_Py_Void();
2122
@@ -32204,7 +32295,7 @@
2123
if (!SWIG_IsOK(res1)) {
2124
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StrPointer" "', argument " "1"" of type '" "char *""'");
2127
+ arg1 = reinterpret_cast< char * >(buf1);
2131
@@ -32249,7 +32340,7 @@
2133
SWIGINTERN PyObject *StrPointer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
2135
- if (!PyArg_ParseTuple(args,(char*)"O|swigregister", &obj)) return NULL;
2136
+ if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
2137
SWIG_TypeNewClientData(SWIGTYPE_p_StrPointer, SWIG_NewClientData(obj));
2138
return SWIG_Py_Void();
2140
@@ -33133,47 +33224,47 @@
2141
static swig_type_info _swigt__p_LPcmsGAMUTEX = {"_p_LPcmsGAMUTEX", "LPcmsGAMUTEX *", 0, 0, (void*)0, 0};
2142
static swig_type_info _swigt__p_LPcmsNAMEDCOLORLIST = {"_p_LPcmsNAMEDCOLORLIST", "LPcmsNAMEDCOLORLIST *", 0, 0, (void*)0, 0};
2143
static swig_type_info _swigt__p_LPcmsSEQ = {"_p_LPcmsSEQ", "LPcmsSEQ *", 0, 0, (void*)0, 0};
2144
-static swig_type_info _swigt__p_MAT3 = {"_p_MAT3", "MAT3 *|LPMAT3", 0, 0, (void*)0, 0};
2145
+static swig_type_info _swigt__p_MAT3 = {"_p_MAT3", "LPMAT3|MAT3 *", 0, 0, (void*)0, 0};
2146
static swig_type_info _swigt__p_MATSHAPER = {"_p_MATSHAPER", "MATSHAPER *", 0, 0, (void*)0, 0};
2147
-static swig_type_info _swigt__p_SAMPLEDCURVE = {"_p_SAMPLEDCURVE", "SAMPLEDCURVE *|LPSAMPLEDCURVE", 0, 0, (void*)0, 0};
2148
+static swig_type_info _swigt__p_SAMPLEDCURVE = {"_p_SAMPLEDCURVE", "LPSAMPLEDCURVE|SAMPLEDCURVE *", 0, 0, (void*)0, 0};
2149
static swig_type_info _swigt__p_StrPointer = {"_p_StrPointer", "StrPointer *", 0, 0, (void*)0, 0};
2150
static swig_type_info _swigt__p_VEC3 = {"_p_VEC3", "VEC3 *|LPVEC3", 0, 0, (void*)0, 0};
2151
static swig_type_info _swigt__p_WMAT3 = {"_p_WMAT3", "WMAT3 *", 0, 0, (void*)0, 0};
2152
static swig_type_info _swigt__p_WVEC3 = {"_p_WVEC3", "WVEC3 *", 0, 0, (void*)0, 0};
2153
static swig_type_info _swigt__p__cmsTestAlign16 = {"_p__cmsTestAlign16", "_cmsTestAlign16 *", 0, 0, (void*)0, 0};
2154
static swig_type_info _swigt__p__cmsTestAlign8 = {"_p__cmsTestAlign8", "_cmsTestAlign8 *", 0, 0, (void*)0, 0};
2155
-static swig_type_info _swigt__p__cmstransform_struct = {"_p__cmstransform_struct", "_cmstransform_struct *|_LPcmsTRANSFORM", 0, 0, (void*)0, 0};
2156
-static swig_type_info _swigt__p__lcms_LUT_struc = {"_p__lcms_LUT_struc", "_lcms_LUT_struc *|LPLUT", 0, 0, (void*)0, 0};
2157
-static swig_type_info _swigt__p__lcms_iccprofile_struct = {"_p__lcms_iccprofile_struct", "_lcms_iccprofile_struct *|LPLCMSICCPROFILE", 0, 0, (void*)0, 0};
2158
-static swig_type_info _swigt__p__lcms_l16params_struc = {"_p__lcms_l16params_struc", "_lcms_l16params_struc *|L16PARAMS *", 0, 0, (void*)0, 0};
2159
-static swig_type_info _swigt__p__lcms_l8opt_struc = {"_p__lcms_l8opt_struc", "_lcms_l8opt_struc *|LPL8PARAMS", 0, 0, (void*)0, 0};
2160
+static swig_type_info _swigt__p__cmstransform_struct = {"_p__cmstransform_struct", "_cmsTRANSFORM *|_LPcmsTRANSFORM|_cmstransform_struct *", 0, 0, (void*)0, 0};
2161
+static swig_type_info _swigt__p__lcms_LUT_struc = {"_p__lcms_LUT_struc", "_lcms_LUT_struc *|LPLUT|LUT *", 0, 0, (void*)0, 0};
2162
+static swig_type_info _swigt__p__lcms_iccprofile_struct = {"_p__lcms_iccprofile_struct", "LCMSICCPROFILE *|LPLCMSICCPROFILE|_lcms_iccprofile_struct *", 0, 0, (void*)0, 0};
2163
+static swig_type_info _swigt__p__lcms_l16params_struc = {"_p__lcms_l16params_struc", "_lcms_l16params_struc *|L16PARAMS *|LPL16PARAMS", 0, 0, (void*)0, 0};
2164
+static swig_type_info _swigt__p__lcms_l8opt_struc = {"_p__lcms_l8opt_struc", "_lcms_l8opt_struc *|L8PARAMS *|LPL8PARAMS", 0, 0, (void*)0, 0};
2165
static swig_type_info _swigt__p_a_16__LCMSGAMMAPARAMS = {"_p_a_16__LCMSGAMMAPARAMS", "LCMSGAMMAPARAMS (*)[16]", 0, 0, (void*)0, 0};
2166
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
2167
-static swig_type_info _swigt__p_cmsCIELCh = {"_p_cmsCIELCh", "cmsCIELCh *", 0, 0, (void*)0, 0};
2168
-static swig_type_info _swigt__p_cmsCIELab = {"_p_cmsCIELab", "cmsCIELab *", 0, 0, (void*)0, 0};
2169
-static swig_type_info _swigt__p_cmsCIEXYZ = {"_p_cmsCIEXYZ", "cmsCIEXYZ *|LPcmsCIEXYZ", 0, 0, (void*)0, 0};
2170
+static swig_type_info _swigt__p_cmsCIELCh = {"_p_cmsCIELCh", "LPcmsCIELCh|cmsCIELCh *", 0, 0, (void*)0, 0};
2171
+static swig_type_info _swigt__p_cmsCIELab = {"_p_cmsCIELab", "cmsCIELab *|LPcmsCIELab", 0, 0, (void*)0, 0};
2172
+static swig_type_info _swigt__p_cmsCIEXYZ = {"_p_cmsCIEXYZ", "LPcmsCIEXYZ|cmsCIEXYZ *", 0, 0, (void*)0, 0};
2173
static swig_type_info _swigt__p_cmsCIEXYZTRIPLE = {"_p_cmsCIEXYZTRIPLE", "cmsCIEXYZTRIPLE *|LPcmsCIEXYZTRIPLE", 0, 0, (void*)0, 0};
2174
static swig_type_info _swigt__p_cmsCIExyY = {"_p_cmsCIExyY", "cmsCIExyY *|LPcmsCIExyY", 0, 0, (void*)0, 0};
2175
static swig_type_info _swigt__p_cmsCIExyYTRIPLE = {"_p_cmsCIExyYTRIPLE", "cmsCIExyYTRIPLE *|LPcmsCIExyYTRIPLE", 0, 0, (void*)0, 0};
2176
static swig_type_info _swigt__p_cmsGAMUTEX = {"_p_cmsGAMUTEX", "cmsGAMUTEX *", 0, 0, (void*)0, 0};
2177
-static swig_type_info _swigt__p_cmsJCh = {"_p_cmsJCh", "cmsJCh *|LPcmsJCh", 0, 0, (void*)0, 0};
2178
+static swig_type_info _swigt__p_cmsJCh = {"_p_cmsJCh", "LPcmsJCh|cmsJCh *", 0, 0, (void*)0, 0};
2179
static swig_type_info _swigt__p_cmsNAMEDCOLOR = {"_p_cmsNAMEDCOLOR", "cmsNAMEDCOLOR *", 0, 0, (void*)0, 0};
2180
static swig_type_info _swigt__p_cmsNAMEDCOLORLIST = {"_p_cmsNAMEDCOLORLIST", "cmsNAMEDCOLORLIST *", 0, 0, (void*)0, 0};
2181
static swig_type_info _swigt__p_cmsPSEQDESC = {"_p_cmsPSEQDESC", "cmsPSEQDESC *", 0, 0, (void*)0, 0};
2182
static swig_type_info _swigt__p_cmsSEQ = {"_p_cmsSEQ", "cmsSEQ *", 0, 0, (void*)0, 0};
2183
-static swig_type_info _swigt__p_cmsViewingConditions = {"_p_cmsViewingConditions", "cmsViewingConditions *", 0, 0, (void*)0, 0};
2184
+static swig_type_info _swigt__p_cmsViewingConditions = {"_p_cmsViewingConditions", "cmsViewingConditions *|LPcmsViewingConditions", 0, 0, (void*)0, 0};
2185
static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
2186
static swig_type_info _swigt__p_f_a___unsigned_short_a___unsigned_short_LPWMAT3_LPWVEC3__void = {"_p_f_a___unsigned_short_a___unsigned_short_LPWMAT3_LPWVEC3__void", "void (*)(unsigned short [],unsigned short [],LPWMAT3,LPWVEC3)|_cmsADJFN", 0, 0, (void*)0, 0};
2187
-static swig_type_info _swigt__p_f_a___unsigned_short_a___unsigned_short_a___unsigned_short_p__lcms_l16params_struc__void = {"_p_f_a___unsigned_short_a___unsigned_short_a___unsigned_short_p__lcms_l16params_struc__void", "void (*)(unsigned short [],unsigned short [],unsigned short [],_lcms_l16params_struc *)|_cms3DLERP", 0, 0, (void*)0, 0};
2188
+static swig_type_info _swigt__p_f_a___unsigned_short_a___unsigned_short_a___unsigned_short_p__lcms_l16params_struc__void = {"_p_f_a___unsigned_short_a___unsigned_short_a___unsigned_short_p__lcms_l16params_struc__void", "_cms3DLERP|void (*)(unsigned short [],unsigned short [],unsigned short [],_lcms_l16params_struc *)", 0, 0, (void*)0, 0};
2189
static swig_type_info _swigt__p_f_a___unsigned_short_a___unsigned_short_p_void__int = {"_p_f_a___unsigned_short_a___unsigned_short_p_void__int", "int (*)(unsigned short [],unsigned short [],void *)|_cmsSAMPLER", 0, 0, (void*)0, 0};
2190
static swig_type_info _swigt__p_f_int_p_q_const__char__int = {"_p_f_int_p_q_const__char__int", "int (*)(int,char const *)|cmsErrorHandlerFunction", 0, 0, (void*)0, 0};
2191
-static swig_type_info _swigt__p_f_p__cmstransform_struct_a___unsigned_short_a___unsigned_short__void = {"_p_f_p__cmstransform_struct_a___unsigned_short_a___unsigned_short__void", "void (*)(_cmstransform_struct *,unsigned short [],unsigned short [])|_cmsTRANSFN", 0, 0, (void*)0, 0};
2192
-static swig_type_info _swigt__p_f_p__cmstransform_struct_a___unsigned_short_p_unsigned_char__p_unsigned_char = {"_p_f_p__cmstransform_struct_a___unsigned_short_p_unsigned_char__p_unsigned_char", "unsigned char *(*)(_cmstransform_struct *,unsigned short [],unsigned char *)|_cmsFIXFN", 0, 0, (void*)0, 0};
2193
+static swig_type_info _swigt__p_f_p__cmstransform_struct_a___unsigned_short_a___unsigned_short__void = {"_p_f_p__cmstransform_struct_a___unsigned_short_a___unsigned_short__void", "_cmsTRANSFN|void (*)(_cmstransform_struct *,unsigned short [],unsigned short [])", 0, 0, (void*)0, 0};
2194
+static swig_type_info _swigt__p_f_p__cmstransform_struct_a___unsigned_short_p_unsigned_char__p_unsigned_char = {"_p_f_p__cmstransform_struct_a___unsigned_short_p_unsigned_char__p_unsigned_char", "_cmsFIXFN|unsigned char *(*)(_cmstransform_struct *,unsigned short [],unsigned char *)", 0, 0, (void*)0, 0};
2195
static swig_type_info _swigt__p_f_p__cmstransform_struct_p_void_p_void_unsigned_int__void = {"_p_f_p__cmstransform_struct_p_void_p_void_unsigned_int__void", "void (*)(_cmstransform_struct *,void *,void *,unsigned int)|_cmsCOLORCALLBACKFN", 0, 0, (void*)0, 0};
2196
static swig_type_info _swigt__p_f_p__lcms_iccprofile_struct__int = {"_p_f_p__lcms_iccprofile_struct__int", "int (*)(_lcms_iccprofile_struct *)|BOOL (*)(_lcms_iccprofile_struct *)", 0, 0, (void*)0, 0};
2197
static swig_type_info _swigt__p_f_p__lcms_iccprofile_struct__size_t = {"_p_f_p__lcms_iccprofile_struct__size_t", "size_t (*)(_lcms_iccprofile_struct *)", 0, 0, (void*)0, 0};
2198
static swig_type_info _swigt__p_f_p__lcms_iccprofile_struct_size_t__int = {"_p_f_p__lcms_iccprofile_struct_size_t__int", "int (*)(_lcms_iccprofile_struct *,size_t)|BOOL (*)(_lcms_iccprofile_struct *,size_t)", 0, 0, (void*)0, 0};
2199
-static swig_type_info _swigt__p_f_p__lcms_iccprofile_struct_size_t_p_void__int = {"_p_f_p__lcms_iccprofile_struct_size_t_p_void__int", "int (*)(_lcms_iccprofile_struct *,size_t,void *)|BOOL (*)(_lcms_iccprofile_struct *,size_t,LPVOID)", 0, 0, (void*)0, 0};
2200
+static swig_type_info _swigt__p_f_p__lcms_iccprofile_struct_size_t_p_void__int = {"_p_f_p__lcms_iccprofile_struct_size_t_p_void__int", "BOOL (*)(_lcms_iccprofile_struct *,size_t,LPVOID)|int (*)(_lcms_iccprofile_struct *,size_t,void *)", 0, 0, (void*)0, 0};
2201
static swig_type_info _swigt__p_f_p_void_a___unsigned_short_p_unsigned_char__p_unsigned_char = {"_p_f_p_void_a___unsigned_short_p_unsigned_char__p_unsigned_char", "unsigned char *(*)(void *,unsigned short [],unsigned char *)|cmsFORMATTER", 0, 0, (void*)0, 0};
2202
static swig_type_info _swigt__p_f_p_void_size_t_size_t_p__lcms_iccprofile_struct__size_t = {"_p_f_p_void_size_t_size_t_p__lcms_iccprofile_struct__size_t", "size_t (*)(void *,size_t,size_t,_lcms_iccprofile_struct *)", 0, 0, (void*)0, 0};
2203
static swig_type_info _swigt__p_icCLutStruct = {"_p_icCLutStruct", "icCLutStruct *", 0, 0, (void*)0, 0};
2204
@@ -33190,21 +33281,21 @@
2205
static swig_type_info _swigt__p_icUInt16Number = {"_p_icUInt16Number", "icUInt16Number *", 0, 0, (void*)0, 0};
2206
static swig_type_info _swigt__p_icUInt32Number = {"_p_icUInt32Number", "icUInt32Number *", 0, 0, (void*)0, 0};
2207
static swig_type_info _swigt__p_icUInt8Number = {"_p_icUInt8Number", "icUInt8Number *", 0, 0, (void*)0, 0};
2208
-static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
2209
+static swig_type_info _swigt__p_int = {"_p_int", "BOOL *|int *|LCMS_RWLOCK_T *", 0, 0, (void*)0, 0};
2210
static swig_type_info _swigt__p_p_GAMMATABLE = {"_p_p_GAMMATABLE", "GAMMATABLE **|LPGAMMATABLE *", 0, 0, (void*)0, 0};
2211
static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
2212
static swig_type_info _swigt__p_p_f_a___unsigned_short_a___unsigned_short_LPWMAT3_LPWVEC3__void = {"_p_p_f_a___unsigned_short_a___unsigned_short_LPWMAT3_LPWVEC3__void", "void (**)(unsigned short [],unsigned short [],LPWMAT3,LPWVEC3)|_cmsADJFN *", 0, 0, (void*)0, 0};
2213
-static swig_type_info _swigt__p_p_f_p_void_a___unsigned_short_p_unsigned_char__p_unsigned_char = {"_p_p_f_p_void_a___unsigned_short_p_unsigned_char__p_unsigned_char", "unsigned char *(**)(void *,unsigned short [],unsigned char *)|cmsFORMATTER *", 0, 0, (void*)0, 0};
2214
+static swig_type_info _swigt__p_p_f_p_void_a___unsigned_short_p_unsigned_char__p_unsigned_char = {"_p_p_f_p_void_a___unsigned_short_p_unsigned_char__p_unsigned_char", "cmsFORMATTER *|unsigned char *(**)(void *,unsigned short [],unsigned char *)", 0, 0, (void*)0, 0};
2215
static swig_type_info _swigt__p_p_p_char = {"_p_p_p_char", "char ***", 0, 0, (void*)0, 0};
2216
-static swig_type_info _swigt__p_p_unsigned_short = {"_p_p_unsigned_short", "unsigned short **|WORD **", 0, 0, (void*)0, 0};
2217
-static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **|cmsHTRANSFORM *", 0, 0, (void*)0, 0};
2218
+static swig_type_info _swigt__p_p_unsigned_short = {"_p_p_unsigned_short", "WORD **|LPWORD *|unsigned short **", 0, 0, (void*)0, 0};
2219
+static swig_type_info _swigt__p_p_void = {"_p_p_void", "cmsHTRANSFORM *|cmsHPROFILE *|LPVOID *|void **", 0, 0, (void*)0, 0};
2220
static swig_type_info _swigt__p_size_t = {"_p_size_t", "size_t *", 0, 0, (void*)0, 0};
2221
static swig_type_info _swigt__p_tm = {"_p_tm", "tm *", 0, 0, (void*)0, 0};
2222
-static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|BYTE *", 0, 0, (void*)0, 0};
2223
+static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|BYTE *|LPBYTE", 0, 0, (void*)0, 0};
2224
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *", 0, 0, (void*)0, 0};
2225
-static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|LPDWORD", 0, 0, (void*)0, 0};
2226
-static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "unsigned short *|WORD *", 0, 0, (void*)0, 0};
2227
-static swig_type_info _swigt__p_void = {"_p_void", "void *|cmsHPROFILE", 0, 0, (void*)0, 0};
2228
+static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "LPDWORD|DWORD *|unsigned long *", 0, 0, (void*)0, 0};
2229
+static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "WORD *|unsigned short *|LPWORD", 0, 0, (void*)0, 0};
2230
+static swig_type_info _swigt__p_void = {"_p_void", "cmsHTRANSFORM|LCMSHANDLE|cmsHPROFILE|LPVOID|void *", 0, 0, (void*)0, 0};
2232
static swig_type_info *swig_type_initial[] = {
2234
@@ -33485,7 +33576,7 @@
2235
* structures together.
2237
* The generated swig_type_info structures are assigned staticly to an initial
2238
- * array. We just loop though that array, and handle each type individually.
2239
+ * array. We just loop through that array, and handle each type individually.
2240
* First we lookup if this type has been already loaded, and if so, use the
2241
* loaded structure instead of the generated one. Then we have to fill in the
2242
* cast linked list. The cast data is initially stored in something like a
2243
@@ -33523,32 +33614,58 @@
2244
#define SWIGRUNTIME_DEBUG
2249
SWIG_InitializeModule(void *clientdata) {
2251
- swig_module_info *module_head;
2252
- static int init_run = 0;
2253
+ swig_module_info *module_head, *iter;
2256
clientdata = clientdata;
2258
- if (init_run) return;
2261
- /* Initialize the swig_module */
2262
- swig_module.type_initial = swig_type_initial;
2263
- swig_module.cast_initial = swig_cast_initial;
2264
+ /* check to see if the circular list has been setup, if not, set it up */
2265
+ if (swig_module.next==0) {
2266
+ /* Initialize the swig_module */
2267
+ swig_module.type_initial = swig_type_initial;
2268
+ swig_module.cast_initial = swig_cast_initial;
2269
+ swig_module.next = &swig_module;
2275
/* Try and load any already created modules */
2276
module_head = SWIG_GetModule(clientdata);
2277
- if (module_head) {
2278
+ if (!module_head) {
2279
+ /* This is the first module loaded for this interpreter */
2280
+ /* so set the swig module into the interpreter */
2281
+ SWIG_SetModule(clientdata, &swig_module);
2282
+ module_head = &swig_module;
2284
+ /* the interpreter has loaded a SWIG module, but has it loaded this one? */
2288
+ if (iter==&swig_module) {
2293
+ } while (iter!= module_head);
2295
+ /* if the is found in the list, then all is done and we may leave */
2296
+ if (found) return;
2297
+ /* otherwise we must add out module into the list */
2298
swig_module.next = module_head->next;
2299
module_head->next = &swig_module;
2301
- /* This is the first module loaded */
2302
- swig_module.next = &swig_module;
2303
- SWIG_SetModule(clientdata, &swig_module);
2306
+ /* When multiple interpeters are used, a module could have already been initialized in
2307
+ a different interpreter, but not yet have a pointer in this interpreter.
2308
+ In this case, we do not want to continue adding types... everything should be
2310
+ if (init == 0) return;
2312
/* Now work on filling in swig_module.types */
2313
#ifdef SWIGRUNTIME_DEBUG
2314
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
2315
@@ -33859,7 +33976,7 @@
2318
SWIGINTERN PyObject *
2320
+ SWIG_globals(void) {
2321
static PyObject *_SWIG_globals = 0;
2322
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
2323
return _SWIG_globals;
2324
@@ -33904,11 +34021,11 @@
2325
swig_type_info **types_initial) {
2327
for (i = 0; methods[i].ml_name; ++i) {
2328
- char *c = methods[i].ml_doc;
2329
+ const char *c = methods[i].ml_doc;
2330
if (c && (c = strstr(c, "swig_ptr: "))) {
2332
swig_const_info *ci = 0;
2333
- char *name = c + 10;
2334
+ const char *name = c + 10;
2335
for (j = 0; const_table[j].type; ++j) {
2336
if (strncmp(const_table[j].name, name,
2337
strlen(const_table[j].name)) == 0) {