4 #include "ser/s_caosScript.h"
5 #include "ser/s_AgentRef.h"
6 #include "serialization.h"
7 #include "caosScript.h"
10 WRAP_SERIALIZE(vmStackItem
);
11 SER_PROTO(o_serialize
, vmStackItem
, ) {
18 WRAP_SERIALIZE(callStackItem
);
19 SER_PROTO(o_serialize
, callStackItem
, ) {
24 WRAP_SERIALIZE(caosVM
);
25 SER_PROTO(o_serialize
, caosVM
, ) {
29 ar
& obj
.currentscript
;
30 ar
& obj
.nip
& obj
.cip
;
32 ar
& obj
.inst
& obj
.lock
& obj
.stop_loop
;
35 ar
& obj
.valueStack
& obj
.callStack
;
37 // Don't serialize I/O stuff
40 ar
& obj
.targ
& obj
.owner
;
41 ar
& obj
._it_
& obj
.from
;
44 ar
& obj
.result
; // XXX: is this needed?