python-emscripten  Check-in [9b78bab422]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9b78bab42277f4ef64bbf8823f0996576693c7e1492ed48a23fdb9c7d11a9177
User & Date: Beuc 2020-03-07 12:11:42
Context
2020-04-18
11:53
Upgrade to new emscripten_log prototype in 1.39.12 check-in: fea1e09c30 user: Beuc tags: trunk
2020-03-07
12:11
Typo check-in: 9b78bab422 user: Beuc tags: trunk
2019-11-09
00:26
Update Fossil ignore list check-in: f139ce4ce9 user: Beuc tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to emscripten.pyx.

304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
# print(get_callstack(0))
# print(get_callstack(LOG_C_STACK|LOG_JS_STACK|LOG_DEMANGLE|LOG_NO_PATHS|LOG_FUNC_PARAMS))


# Pseudo-synchronous, requires ASYNCIFY
def wget(url, file):
    return emscripten_wget(url.encode('UTF-8'), file.encode('UTF-8'))
# emscripten.wget('/hello', '/hello'); open('/hell','rb').read()
# Notes:
# - FS error if file already exists
# - Download indicator showing up not going away
# - Download progress bar showing up not going away on error

# Wrap a malloc'd buffer with buffer interface and automatic free()
cdef class MallocBuffer:







|







304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
# print(get_callstack(0))
# print(get_callstack(LOG_C_STACK|LOG_JS_STACK|LOG_DEMANGLE|LOG_NO_PATHS|LOG_FUNC_PARAMS))


# Pseudo-synchronous, requires ASYNCIFY
def wget(url, file):
    return emscripten_wget(url.encode('UTF-8'), file.encode('UTF-8'))
# emscripten.wget('/hello', '/hello'); open('/hello','rb').read()
# Notes:
# - FS error if file already exists
# - Download indicator showing up not going away
# - Download progress bar showing up not going away on error

# Wrap a malloc'd buffer with buffer interface and automatic free()
cdef class MallocBuffer: