Skip to content

Module: global

Functions:

print (opt_any @Any?, output nom Output = stdout, endline: Bool = true) -> Bool
#Gambol.function.alwaysinline
puts (s String, output nom Output = stdout) -> Bool
#Gambol.function.alwaysinline
putc (c Char, output nom Output = stdout) -> Bool
#Gambol.function.alwaysinline
getc (inp nom Input = stdin) -> Char
#Gambol.function.alwaysinline
gets (inp nom Input, count Len) -> String
#Gambol.function.alwaysinline
read_until (inp nom Input = stdin, delim Char = 10, include_delim Bool = false) -> String
input (prompt String = ``) -> String
#extern
lt_dlopen (file_name global.PointerToVariable[global.Char]) -> global.Pointer
#extern
lt_dlopenext (file_name global.PointerToVariable[global.Char]) -> global.Pointer
#extern
lt_dlopenadvise (file_name global.PointerToVariable[global.Char], advice global.PointerToVariable[global.LT_Advice]) -> global.Pointer
#extern
lt_dladvise_init (advice global.PointerToVariable[global.LT_Advice]) -> global.Int32
#extern
lt_dladvise_destroy (advice global.PointerToVariable[global.LT_Advice]) -> global.Int32
#extern
lt_dladvise_ext (advice global.PointerToVariable[global.LT_Advice]) -> global.Int32
#extern
lt_dladvise_global (advice global.PointerToVariable[global.LT_Advice]) -> global.Int32
#extern
lt_dladvise_local (advice global.PointerToVariable[global.LT_Advice]) -> global.Int32
#extern
lt_dladvise_resident (advice global.PointerToVariable[global.LT_Advice]) -> global.Int32
#extern
lt_dladvise_preload (advice global.PointerToVariable[global.LT_Advice]) -> global.Int32
#extern
lt_dlclose (handle global.Pointer) -> global.Int32
#extern
lt_dlsym (handle global.Pointer, name global.PointerToVariable[global.Char]) -> global.Pointer
#extern
lt_dlerror () -> global.PointerToVariable[global.Char]
#extern
lt_dladdsearchdir (dir global.PointerToVariable[global.Char]) -> global.Int32
#extern
lt_dlinsertsearchdir (before global.PointerToVariable[global.Char], dir global.PointerToVariable[global.Char]) -> global.Int32
#extern
lt_dlsetsearchpath (dir global.PointerToVariable[global.Char]) -> global.Int32
#extern
lt_dlgetsearchpath () -> global.PointerToVariable[global.Char]
#extern
lt_dlforeachfile (path global.PointerToVariable[global.Char], function global.Pointer, data global.Pointer) -> global.Int32
#extern
lt_dlmakeresident (dir global.Pointer) -> global.Int32
#extern
lt_dlisresident (dir global.Pointer) -> global.Int32
lt_get_error () -> String
#Gambol.function.willreturn
#Gambol.function.alwayscalled
gambol_memory_allocate (size ULen, align ULen) -> Pointer
#Gambol.function.willreturn
#Gambol.function.alwayscalled
gambol_memory_allocate_atomic (size ULen, align ULen) -> Pointer
#Gambol.function.willreturn
#Gambol.function.alwayscalled
gambol_memory_allocate_ignore_off_page (size ULen, align ULen) -> Pointer
#Gambol.function.willreturn
#Gambol.function.alwayscalled
gambol_memory_allocate_atomic_ignore_off_page (size ULen, align ULen) -> Pointer
#Gambol.function.willreturn
#Gambol.function.alwayscalled
gambol_memory_reallocate (original Pointer, new_size ULen) -> Pointer
#Gambol.function.willreturn
#Gambol.function.alwayscalled
gambol_memory_allocate_uncollectable (size ULen, align ULen) -> Pointer
#Gambol.function.alwaysinline
#Gambol.function.willreturn
#default
memcpy (to Pointer, from Pointer, size ULen, volatile: Bool) -> Nil
#Gambol.function.alwaysinline
#Gambol.function.willreturn
#default
memset (ptr Pointer, value Int8, size ULen, volatile: Bool) -> Nil
#Gambol.function.alwaysinline
#Gambol.function.willreturn
#default
memmove (to Pointer, from Pointer, size ULen, volatile: Bool) -> Nil
abort () -> Nil
exit (status Int32 = 0) -> Nil
hash [ObjType, Hasher = MurMur3Hasher] (obj @ObjType) -> Hasher.HashValueType
a convenience function that will create a hasher of type Hasher, apply it to the given obj and return the hash value
str (opt_any @Any?, endline: Bool = false) -> String
will convert the argument passed to it to String. If the argument is a Stringable the str method will be called. Adds a new line character if endline
#Gambol.function.alwaysinline
get_val_ptr [T] (val @T) -> PointerToVariable[T]

Types:

  • IOBase
  • Output
  • Input
  • InputIterator
  • ASTLocation
  • Pointer
  • PointerToVariable
  • PointerToTypeDefinition
  • RVTypedPointer
  • Dynamic
  • Bool
  • Int512
  • Int256
  • Int128
  • Int64
  • Int32
  • Int16
  • Int8
  • NInt
  • Int
  • ISystemInt
  • UInt512
  • UInt256
  • UInt128
  • UInt64
  • UInt32
  • UInt16
  • UInt8
  • UNInt
  • ISystemUInt
  • Float32
  • Float64
  • NFloat
  • RoundingMode
  • Float
  • ISystemFloat
  • Number
  • IntegralNumber
  • RealNumber
  • Hashable
  • IHasher
  • MurMur3Hasher
  • Array
  • NonDestructiveDynamicArrayIterator
  • NonDestructiveDynamicArray
  • NonDestructiveFixedArray
  • ListBidirectionalIterator
  • ListBidirectionalModifiableIterator
  • ListRandomIterator
  • ListRandomModifiableIterator
  • List
  • DynamicList
  • Pair
  • Triplet
  • Quartet
  • Quintet
  • DictIterator
  • Dict
  • Set
  • ExceptionTrace
  • Exception
  • InvalidOperationException
  • DynamicOperationException
  • NilOperationException
  • EmptyException
  • AsOperationException
  • IndexOutOfRangeException
  • WrongArgumentException
  • OutOfMemoryException
  • AssignmentMismatchException
  • IteratorStopException
  • EndOfGeneratorException
  • DivisionByZeroException
  • ForeignException
  • InvalidAtomicOrderException
  • NotImplementedException
  • NotFoundException
  • IOException
  • Char
  • StringIterator
  • StringRandomIterator
  • StringAT
  • String
  • Stringable
  • IterableAT
  • Iterable
  • ModifiableIterable
  • BidirectionalIterable
  • BidirectionalModifiableIterable
  • ReverseIterable
  • ReverseModifiableIterable
  • Length
  • CollectionAT
  • UnpackableAT
  • Unpackable
  • RandomIterable
  • RandomModifiableIterable
  • IteratorAT
  • Iterator
  • ModifiableIterator
  • BidirectionalIterator
  • BidirectionalModifiableIterator
  • RandomIterator
  • RandomModifiableIterator
  • IndexRangeIterator
  • IndexRange
  • Any
  • Nil
  • Memory
  • GambolReference
  • GambolRefWithShouldCopy
  • GambolNillable
  • WellKnownMethods
  • ASTNodeTypes
  • Time