lock params from low level

lock params from low level

Postby Antonio Linares » Sun Dec 27, 2020 10:23 am

#include <hbapiitm.h>

PHB_ITEM pBlock = NULL;

...

pBlock = hb_itemParam( 1 ); // 1 for first parameter. Automatically calls hb_gcGripGet()

...

hb_evalBlock0( pBlock );

...

hb_itemRelease( pBlock ); // automatically calls hb_gcGripDrop()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Return to Utilities / Utilidades

Who is online

Users browsing this forum: No registered users and 7 guests