hb_gcCollectAll()

hb_gcCollectAll()

Scans all memory blocks and releases the garbage memory.

Syntax

      void hb_gcCollectAll( void );

Arguments

None.

Returns

Nothing.

Description

This function scans the eval stack, the memvars table, the array of static variables and table of created classes for referenced memory blocks. After scanning all unused memory blocks and blocks that are not locked are released.

Compliance

Harbour

Platforms

All

Files

src/vm/garbage.c

Seealso

hb_gcAlloc(), hb_gcFree()

Advertisements

3 responses to “hb_gcCollectAll()

  1. Pingback: Harbour All Functions – H | Viva Clipper !

  2. Pingback: Harbour Garbage Collection Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s