[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is "off_cmn_" a global value?
It's not a global variable. See object.h. It appears only in
NsObject, while you are modifying TclObject, which is a superclass. I
guess, you want to use hdr_cmn::offset_ instead.
Keith Chow <keith@jupiter.nal.utoronto.ca> writes:
> Hi,
>
> I'm trying to modify PacketQueue::enque() and deque()
> to support queue length in bytes rather than in packet
> count.
> I did the following in enque() and deque() (in "queue.h")
[snip]
> When I compile it, I got error saying "off_cmn_" undefined.
> I suppose "off_cmn_" is a global value. If it is not, what
> particular .h file I should include? Or, did I do anything
> wrong?