Define module's hooks with defparameter

When I need to recompile everything, the hooks should be emptied out.
This commit is contained in:
Renaud Casenave-Péré 2014-08-14 16:46:07 +09:00
parent 8107c9b76c
commit ac95e5b186

View file

@ -12,15 +12,15 @@
:initialize :finalize :update))
(in-package :stoe.modules)
(defvar *initialize-hook* nil
(defparameter *initialize-hook* nil
"Hook run on initialization.
Functions attached to this hook should expect an optional argument containing
the program argv.")
(defvar *finalize-hook* nil
(defparameter *finalize-hook* nil
"Hook run on finalization.")
(defvar *update-hook* nil
(defparameter *update-hook* nil
"Hook run each frame.")
(defun initialize (&optional argv)