C.ulong(value)



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