Changeset 256 for trunk/python
- Timestamp:
- 06/15/11 18:05:37 (13 years ago)
- Location:
- trunk/python/pyregfi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/pyregfi/__init__.py
r255 r256 509 509 510 510 elif name == "modified": 511 ret_val = regfi.regfi_nt2unix_time( byref(self._base.contents.mtime))511 ret_val = regfi.regfi_nt2unix_time(self._base.contents.mtime) 512 512 513 513 else: … … 764 764 765 765 elif name == "modified": 766 return regfi.regfi_nt2unix_time( byref(self._base.contents.mtime))766 return regfi.regfi_nt2unix_time(self._base.contents.mtime) 767 767 768 768 return getattr(self.file.contents, name) -
trunk/python/pyregfi/structures.py
r255 r256 279 279 280 280 regfi.regfi_find_value.argtypes = [POINTER(REGFI_FILE), POINTER(REGFI_NK), 281 281 c_char_p, POINTER(c_uint32)] 282 282 regfi.regfi_find_value.restype = c_bool 283 283 … … 287 287 288 288 regfi.regfi_get_value.argtypes = [POINTER(REGFI_FILE), POINTER(REGFI_NK), 289 289 c_uint32] 290 290 regfi.regfi_get_value.restype = POINTER(REGFI_VK) 291 291
Note: See TracChangeset
for help on using the changeset viewer.