Changeset 62

Show
Ignore:
Timestamp:
12/01/04 22:49:36 (4 years ago)
Author:
aldacron
Message:

[DerelictPY]
* added marshal.d and patchlevel.d

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DerelictPY/Makefile

    r59 r62  
    3636    $(PY.SRC.DIR)\longobject.d \ 
    3737    $(PY.SRC.DIR)\listobject.d \ 
     38    $(PY.SRC.DIR)\marshal.d \ 
    3839    $(PY.SRC.DIR)\methodobject.d \ 
    3940    $(PY.SRC.DIR)\node.d \ 
    4041    $(PY.SRC.DIR)\object.d \ 
     42    $(PY.SRC.DIR)\patchlevel.d \ 
    4143    $(PY.SRC.DIR)\pyimport.d \ 
    4244    $(PY.SRC.DIR)\pystate.d \ 
     
    7476    $(PY.OBJ.DIR)\longobject.obj \ 
    7577    $(PY.OBJ.DIR)\listobject.obj \ 
     78    $(PY.OBJ.DIR)\marshal.obj \ 
    7679    $(PY.OBJ.DIR)\methodobject.obj \ 
    7780    $(PY.OBJ.DIR)\node.obj \ 
    7881    $(PY.OBJ.DIR)\object.obj \ 
     82    $(PY.OBJ.DIR)\patchlevel.obj \ 
    7983    $(PY.OBJ.DIR)\pyimport.obj \ 
    8084    $(PY.OBJ.DIR)\pystate.obj \ 
  • trunk/DerelictPY/derelict/python/python.d

    r59 r62  
    2727import derelict.python.longintrepr; 
    2828import derelict.python.longobject; 
     29import derelict.python.marshal; 
    2930import derelict.python.methodobject; 
    3031import derelict.python.node; 
     
    406407    } 
    407408 
     409    // marshal.d 
     410    PyMarshal_WriteLongToFile = cast(pfPyMarshal_WriteLongToFile)getProc("PyMarshal_WriteLongToFile"); 
     411    PyMarshal_WriteObjectToFile = cast(pfPyMarshal_WriteObjectToFile)getProc("PyMarshal_WriteObjectToFile"); 
     412    PyMarshal_WriteObjectToString = cast(pfPyMarshal_WriteObjectToString)getProc("PyMarshal_WriteObjectToString"); 
     413    PyMarshal_ReadLongFromFile = cast(pfPyMarshal_ReadLongFromFile)getProc("PyMarshal_ReadLongFromFile"); 
     414    PyMarshal_ReadShortFromFile = cast(pfPyMarshal_ReadShortFromFile)getProc("PyMarshal_ReadShortFromFile"); 
     415    PyMarshal_ReadObjectFromFile = cast(pfPyMarshal_ReadObjectFromFile)getProc("PyMarshal_ReadObjectFromFile"); 
     416    PyMarshal_ReadLastObjectFromFile = cast(pfPyMarshal_ReadLastObjectFromFile)getProc("PyMarshal_ReadLastObjectFromFile"); 
     417    PyMarshal_ReadObjectFromString = cast(pfPyMarshal_ReadObjectFromString)getProc("PyMarshal_ReadObjectFromString"); 
     418 
    408419    // methodobject.d 
    409420    PyCFunction_Type = cast(PyTypeObject*)getProc("PyCFunction_Type");