C.uint(value)



Creates a new C Value of type unsigned int. This function is a simplified wrapper around the Value constructor.

Return value

This function returns a Value

Example

local c = require 'c' -- Defines a C Value of type "unsigned int", initialized with the value 12800 local val = c.uint(12800) -- Prints the C Value print(val)