Skip to content

A library with interop / utils used by other dropecho libs.

License

Notifications You must be signed in to change notification settings

dropecho/interop

Repository files navigation

A haxe library with utils used by other dropecho libs.

Mostly for internal use.

This libary contains "abstract" classes that allow easier interop with native code for dropecho libraries.

For example:

AbstractArray

in C# acts as a List. in JS acts as a native array.

AbstractMap

in C# acts as a native dictionary<K,V>. in JS acts as a native object. (ref by obj[key])

AbstractFunc

in C# will convert to action_X or func_X where X is # of inputs/type params. in JS is a function.