Re: [sv-cc] SV3.1A issues ... - garbage collection - see 26.4.1.4 + D.5.7


Subject: Re: [sv-cc] SV3.1A issues ... - garbage collection - see 26.4.1.4 + D.5.7
From: Andrzej Litwiniuk (Andrzej.Litwiniuk@synopsys.com)
Date: Wed Jul 16 2003 - 07:57:53 PDT


> ===== Garbage collection for C Handle ====

See also the subsection 26.4.1.4 "Memory management" which explicitly specifies
that SV code or Sv compiler must not free the memory allocated by the foreign
code. The same requirement is repeated in D.5.7 "Memory management".

Recall that non-null values to be assigned to chandles can come only from
the foreign code and therefore chandle may eventually refer only to the memory
allocated by the foreign code.

Andrzej



This archive was generated by hypermail 2b28 : Wed Jul 16 2003 - 07:58:55 PDT