Namespace: ffi

Sk.ffi

Source:

Methods

(static) basicwrap()

for when the return type might be one of a variety of basic types. number|string, etc.

Source:

(static) remapToJs(obj)

Maps from Python dict/list/str/number to Javascript Object/Array/string/number.

If obj is a

Parameters:
Name Type Description
obj Object

Any Python object (except a function)

Source:

(static) remapToPy()

maps from Javascript Object/Array/string to Python dict/list/str.

only works on basic objects that are being used as storage, doesn't handle functions, etc.

Source: