C.wchar_t(value)



Creates a new C Value of type wchar_t. 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 "wchar_t", initialized with the value 'Ô' local val = c.wchar_t('Ô') -- Prints the C Value print(val)