Changeset 926 for trunk/zoo-project/zoo-kernel/service_internal_python.c
- Timestamp:
- May 28, 2019, 11:33:18 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal_python.c
r921 r926 351 351 PyObject *ptype, *pvalue, *ptraceback,*pValue,*pArgs; 352 352 PyErr_Fetch(&ptype, &pvalue, &ptraceback); 353 c har *pStrErrorMessage = PyString_AsString(pvalue);353 const char *pStrErrorMessage = PyString_AsString(pvalue); 354 354 char *tmp0=_("Python module %s cannot be loaded. Message: %s\n"); 355 355 … … 698 698 if(strncmp(PyString_AsString(key),"child",5)!=0){ 699 699 if(strncmp(PyString_AsString(key),"value",5)==0){ 700 c har *buffer=NULL;700 const char *buffer=NULL; 701 701 Py_ssize_t size; 702 702 #if PY_MAJOR_VERSION >= 3 … … 720 720 res = addToMapWithSize(res,PyString_AsString(key),buffer,size); 721 721 }else{ 722 c har* lkey=PyString_AsString(key);723 c har* lvalue=PyString_AsString(value);722 const char* lkey=PyString_AsString(key); 723 const char* lvalue=PyString_AsString(value); 724 724 if(res!=NULL){ 725 725 if(PyString_Size(value)>0) … … 759 759 PyObject* key; 760 760 PyObject* value; 761 c har *buffer = NULL;761 const char *buffer = NULL; 762 762 Py_ssize_t size; 763 763 for(int i = 0; i < nb; i++) {
Note: See TracChangeset
for help on using the changeset viewer.