Vp int: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
|examples= | |examples= | ||
|seealso= | |seealso= | ||
* {{sdk method|int_get}} | |||
* {{sdk method|int_set}} | * {{sdk method|int_set}} | ||
}} | }} |
Revision as of 18:47, 12 December 2016
Method call snippet
vp_int(instance, attr);
Return the value of an integer attribute.
Parameters
These are the parameters that this method requires:
Parameter | Usage |
---|---|
VPInstance instance |
Pointer to the instance this method call is intended for |
vp_int_attribute_t attr |
Attribute to return value of |
Returns
integer
Behavior
- There is no special behavior for this method
Caveats
If an invalid value is passed for attr, then 0 will be returned.
Examples
- This method has no usage examples; please add at least one to this page
See also
vp_int_get()
vp_int_set()