View Issue Details

IDProjectCategoryView StatusLast Update
0003912Talerwallet (WebExtension)public2019-12-26 21:37
ReporterMarcello Stanisci Assigned ToMarcello Stanisci  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.0Fixed in Version0.0 
Summary0003912: different way of handling strings when passed to emscripted functions
DescriptionNot properly an issue, but a "memo" about this aspect.

The functions DEBUG_WR_test_string and DEBUG_WR_test_string_cmp in wrap.c
want their 'string' parameter passed differently by JavaScript code.

For DEBUG_WR_test_string, it is possible to call (from JavaScript) DEBUG_WR_test_string(.., "some_string")
whereas for DEBUG_WR_test_string_cmp that doesn't work. To make it work, it's mandatory
to first allocate the string on the emscripten's heap, with

let ptr = ALLstr("some_string");

then call

DEBUG_WR_test_string_cmp(ptr);
TagsNo tags attached.

Activities

Marcello Stanisci

2015-07-29 11:26

reporter   ~0009506

fixed while implementing withdraw

Issue History

Date Modified Username Field Change
2015-07-24 12:38 Marcello Stanisci New Issue
2015-07-24 12:38 Marcello Stanisci Status new => assigned
2015-07-24 12:38 Marcello Stanisci Assigned To => Marcello Stanisci
2015-07-24 12:44 Marcello Stanisci Description Updated
2015-07-29 11:26 Marcello Stanisci Note Added: 0009506
2015-07-29 11:26 Marcello Stanisci Status assigned => resolved
2015-07-29 11:26 Marcello Stanisci Resolution open => fixed
2015-08-02 21:45 Christian Grothoff Product Version => git (master)
2015-08-02 21:45 Christian Grothoff Fixed in Version => 0.0
2015-08-02 21:45 Christian Grothoff Target Version => 0.0
2015-08-02 21:46 Christian Grothoff Status resolved => closed
2019-12-26 21:37 Florian Dold Category wallet (browser-based) => wallet (WebExtensions)
2023-04-13 20:37 Florian Dold Category wallet (WebExtensions) => wallet (WebExtension)