Commit 4ad82b28 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e535113c
......@@ -394,8 +394,7 @@ func newGhost(class string, oid Oid, jar *Connection) IPersistent {
return persistentInit(xpobj, zc, jar, oid, InvalidTid, GHOST)
}
// persistentInit inits Persistent embedded into an object
// and returns .instance .
// persistentInit inits Persistent embedded into an object and returns .instance .
func persistentInit(xpobj reflect.Value, zc *zclass, jar *Connection, oid Oid, serial Tid, state ObjectState) IPersistent {
xobj := xpobj.Elem() // typ
pbase := xobj.FieldByName("Persistent").Addr().Interface().(*Persistent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment