Website hosting service by Active-Venture.com
  

 Back to Index

Magical Functions

mg_clear

Clear something magical that the SV represents. See sv_magic.

 
	int	mg_clear(SV* sv)  

mg_copy

Copies the magic from one SV to another. See sv_magic.

 
	int	mg_copy(SV* sv, SV* nsv, const char* key, I32 klen)  

mg_find

Finds the magic pointer for type matching the SV. See sv_magic.

 
	MAGIC*	mg_find(SV* sv, int type)  

mg_free

Free any magic storage used by the SV. See sv_magic.

 
	int	mg_free(SV* sv)  

mg_get

Do magic after a value is retrieved from the SV. See sv_magic.

 
	int	mg_get(SV* sv)  

mg_length

Report on the SV's length. See sv_magic.

 
	U32	mg_length(SV* sv)  

mg_magical

Turns on the magical status of an SV. See sv_magic.

 
	void	mg_magical(SV* sv)  

mg_set

Do magic after a value is assigned to the SV. See sv_magic.

 
	int	mg_set(SV* sv)  

SvGETMAGIC

Invokes mg_get on an SV if it has 'get' magic. This macro evaluates its argument more than once.

 
	void	SvGETMAGIC(SV* sv)  

SvLOCK

Arranges for a mutual exclusion lock to be obtained on sv if a suitable module has been loaded.

 
	void	SvLOCK(SV* sv)  

SvSETMAGIC

Invokes mg_set on an SV if it has 'set' magic. This macro evaluates its argument more than once.

 
	void	SvSETMAGIC(SV* sv)  

SvSetMagicSV

Like SvSetSV, but does any set magic required afterwards.

 
	void	SvSetMagicSV(SV* dsb, SV* ssv)  

SvSetMagicSV_nosteal

Like SvSetMagicSV, but does any set magic required afterwards.

 
	void	SvSetMagicSV_nosteal(SV* dsv, SV* ssv)  

SvSetSV

Calls sv_setsv if dsv is not the same as ssv. May evaluate arguments more than once.

 
	void	SvSetSV(SV* dsb, SV* ssv)  

SvSetSV_nosteal

Calls a non-destructive version of sv_setsv if dsv is not the same as ssv. May evaluate arguments more than once.

 
	void	SvSetSV_nosteal(SV* dsv, SV* ssv)  

SvSHARE

Arranges for sv to be shared between threads if a suitable module has been loaded.

 
	void	SvSHARE(SV* sv)  

 

  

 

Domain name registration - 
Register cheap domain name from $7.95 and enjoy free domain services 
 

Cheap domain name search service -
Domain name services at just
$8.95/year only
 

Register domain name -
Buy domain name registration and cheap domain transfer at low, affordable price.

© 2002-2004 Active-Venture.com Web Site Hosting Service

 

[ First we thought the PC was a calculator. Then we found out how to turn numbers into letters with ASCII — and we thought it was a typewriter. Then we discovered graphics, and we thought it was a television. With the World Wide Web, we've realized it's a brochure.   ]

 

 
 
 

Disclaimer: This documentation is provided only for the benefits of our web hosting customers.
For authoritative source of the documentation, please refer to http://www.perldoc.com