C.uchar(value)
Creates a new C Value of type unsigned char
. This function is a simplified wrapper around the Value constructor.
Return value
This function returns a ValueExample
local c = require 'c'
-- Defines a C Value of type "unsigned char", initialized with the value 128
local val = c.uchar(128)
-- Prints the C Value
print(val)