c.longlong(value)function

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

Parameters

value

A Lua value used to initialize the C Value (see Lua to C conversion rules)

Return value

This function returns a Value

Example

local c = require 'c' -- Defines a C Value of type "long long", initialized with the value 9876543210987654321 local val = c.longlong(9876543210987654321) -- Prints the C Value print(val)