Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc serialize_row*(source, destination: pointer) =
- if isNil(destination):
- echo "DEST IS 0"
- if isNil(source):
- echo "ROW IS NIL"
- echo destination
- echo source
- copyMem(destination + ID_OFFSET, source + ID_OFFSET, ID_SIZE)
- copyMem(destination + USERNAME_OFFSET, source + USERNAME_OFFSET, USERNAME_SIZE)
- copyMem(destination + EMAIL_OFFSET, source + EMAIL_OFFSET, EMAIL_SIZE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement