]> asedeno.scripts.mit.edu Git - cl-protobufs.git/commitdiff
Add a to-do comment (low pri) and a bit of missing whitespace
authorScott McKay <swmckay@gmail.com>
Thu, 13 Jun 2013 14:07:58 +0000 (19:37 +0530)
committerScott McKay <swmckay@gmail.com>
Thu, 13 Jun 2013 14:07:58 +0000 (19:37 +0530)
serialize.lisp
utilities.lisp

index 178d34b03a7fdc52685bf8d98a033e67b0aa714f..eea0924f94dc04092baaa44b171bb2a22cd4f4ed 100644 (file)
       (serialization-error "Error deserializing buffer ~S: ~A" buffer (princ-to-string e))))))
 
 ;; The default method uses metadata from the protobuf "schema" for the message
+;;--- Maybe complain if there were any unsent required fields (see 'object-initialized-p'),
+;;--- but Lisp itself will complain if you try to access them, so not critical
 (defmethod deserialize-object ((message protobuf-message) buffer &optional start end (end-tag 0))
   (declare (type (simple-array (unsigned-byte 8)) buffer))
   (let ((index   (or start 0))
index 512a9f820b673d5a6fdc5b34b8e5a0bc55245850..c548ed40ee07291ec5da9d5c395469a9611fcd72 100644 (file)
@@ -75,6 +75,7 @@
 (defmacro ilogbitp (index integer)
   `(logbitp ,index (the fixnum ,integer)))
 
+
 ;;; String utilities
 
 (defun starts-with (string prefix &key (start 0))