Macros§
- count_
args_ space - emoji_
functions - Shorthand for defining functions compatible with the linking table, and an accompanying linking table.
- linking_
table - package_
version - Given the major and minor version this generate the package version.
- prepare_
class - Used for the “prepareClass” shenanigans. I suggest you look up the emojicode docs in order to figure out what to do here.
Structs§
- Emojicode_
Block - Emojicode_
Class - Emojicode_
Function - Emojicode_
Function Object Variable Record - Emojicode_
Object - Emojicode_
Object Variable Record - Used to signify the compiler that from the @c from -th instruction to the to @c to -th instruction the variable at index @c variableIndex contains an object reference.
- Emojicode_
Package Version - The version of a package. Must follow semantic versioning 2.0 http://semver.org
- Emojicode_
Protocol Dispatch Table - Emojicode_
Stack Frame - Emojicode_
Thread
Constants§
- Context
Type_ None - Context
Type_ Object - Context
Type_ Value Reference - Object
Variable Type_ Box - There is an object pointer a the given index if the value at @c condition is truthy
- Object
Variable Type_ Condition - There is an object pointer a the given index if the value at @c condition is truthy
- Object
Variable Type_ Conditional Skip - There is an object pointer a the given index if the value at @c condition is truthy
- Object
Variable Type_ Simple - There is an object pointer a the given index
Traits§
- Emojicode
Object Impl - Emojicode
Thread Impl - From
Value - ToValue
- Converts Rust types to Emojicode Values. Useful for example for returning things from a function.
Functions§
- Emojicode_
Class_ ⚠inherits From - Returns true if @c a inherits from class @c from
- Emojicode_
Thread_ ⚠popStack - Pops the stack associated with this thread
- Emojicode_
Thread_ ⚠push Reserved Frame - Pushes the reserved stack frame onto the stack
- Emojicode_
Thread_ ⚠push Stack - Pushes a new stack frame
- Emojicode_
Thread_ ⚠reserve Frame - Reserves a new stack frame which can later be pushed with @c stackPushReservedFrame /// @returns A pointer to the memory reserved for the variables.
- Emojicode_
execute ⚠Callable Extern - You can use this function to call a callable object. It’s internally Garbage-Collector safe.
- Emojicode_
string ⚠From Char - Creates a string from a UTF8 C string. The string must be null terminated!
- Emojicode_
string ⚠ToCString - Converts the string to a UTF8 char array and returns it. @warning The returned pointer points into an object allocated by the Emojicode memory manager. It must not be free’d and will not survive the imminent garbage collector cycle.
Type Aliases§
- Context
Type - Emojicode
Char - A Unicode codepoint
- Emojicode
Instruction - A byte-code instruction
- Emojicode_
Emojicode Integer - Emojicode_
Function Function Pointer - Object
Variable Type - __
uint16_ t - __
uint32_ t - int_
fast64_ t - uint_
fast16_ t
Unions§
- Emojicode_
Object__ bindgen_ ty_ 1 - Emojicode_
Value - A one-Emojicode-word large value without type information.