Changeset 1105 for trunk/src/core


Ignore:
Timestamp:
Aug 9, 2008, 10:00:58 AM (16 years ago)
Author:
dkearney
Message:

adding grabdata to makefiles, changes to use a generic dictionary for objects in fortran bindings, updates to fortran progress function

Location:
trunk/src/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpLibraryFInterface.cc

    r1086 r1105  
    3535
    3636    if (lib) {
    37         handle = storeObject_Lib(lib);
     37        handle = storeObject_Void((void*)lib);
    3838    }
    3939
     
    6666
    6767            if (retObj) {
    68                 newObjHandle = storeObject_Lib(retObj);
     68                newObjHandle = storeObject_Void((void*)retObj);
    6969            }
    7070        }
     
    198198            if (childNode) {
    199199                if (*childHandle < 1) {
    200                     newObjHandle = storeObject_Lib(childNode);
     200                    newObjHandle = storeObject_Void((void*)childNode);
    201201                }
    202202                else {
    203                     newObjHandle = storeObject_Lib(childNode,*childHandle);
     203                    newObjHandle = storeObject_Void((void*)childNode,*childHandle);
    204204                }
    205205            }
     
    415415                    // store the whole list,
    416416                    // need to make a way to read the nodes
    417                     newObjHandle = storeObject_Lib(list);
     417                    newObjHandle = storeObject_Void((void*)list);
    418418                    // Py_DECREF(list);
    419419                }
     
    848848
    849849                if (removedObj) {
    850                     newObjHandle = storeObject_Lib(removedObj);
     850                    newObjHandle = storeObject_Void((void*)removedObj);
    851851                    // Py_DECREF(removedObj);
    852852                }
  • trunk/src/core/RpUtilsFInterface.cc

    r1090 r1105  
    3333{
    3434    const char* inText;
     35    int retVal;
    3536    inText = null_terminate(text, text_len);
    36     if (inText != NULL) {
    37         return 1;
    38     }
    39     int retVal;
    4037    retVal = Rappture::Utils::progress(*percentPtr, inText);
    4138    free((void*)inText);
     39    inText = NULL;
    4240    return retVal;
    4341}
Note: See TracChangeset for help on using the changeset viewer.