svalue
NAME svalue - internal type for storing Pike valuesDESCRIPTION The 'struct svalue' contains one Pike 'value', variables, arrays and the evaluator are all svalues. An svalue consists of three elements: type, subtype and a union containing the actual value. The type is a short which tells you what type the svalue is. The value is one of the following:- T_ARRAY: When type is T_ARRAY, the array is stored in the 'array' member of the union. So if sval is the pointer to the svalue, you would use sval->u.array to access the actual array.
Powered by PikeWiki2 |
|||
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University |