« Home » « Learn » « Download » « Github »

logo

Cello High Level C

Methods

c_int

int64_t c_int(var self);

Returns the object self represented as a int64_t.

Examples

Usage

printf("%li", c_int($I(5))); /* 5 */
printf("%li", c_int($I(6))); /* 6 */

C_Int


Interpret as C Integer

The C_Int class should be overridden by types which are representable as a C style Integer of the type int64_t.

Definition

struct C_Int {
  int64_t (*c_int)(var);
};

Implementers

  • Int |     Integer Object
  • Thread |     Concurrent Execution

Back