On Wed, 26 Nov 2008 15:43:10 -0500 digger vermont <dv_ml...@verizon.net> babbled:
i'm baffled. staring at strcmp vs fnmatch bindings in embryo - they are IDENTICAL - except one calls strcmp with the 2 stgrings, the other fnmatch... i'm scratching my noggen. > Help! I give up! > > I'm getting this error with a mouse click using fnmatch in an Edje > script. > > EDJE: ERROR with embryo script. > ENTRY POINT: _p0 > ERROR: Invalid memory access > > I've reduced the Edje file to this and still can't see a problem. If > its not error in the code I'll file a ticket. > > Thanks for any help, > > digger > -------------------------------------------------------------- > collections { > group { > name: "main"; > script { > public toggle() { > set_state(PART:"button", "active", 0.0); > } > } > parts { > part { > name: "button"; > type: RECT; > mouse_events: 1; > description { > state: "default" 0.0; > color: 0 255 0 255; > } > description { > state: "active" 0.0; > color: 0 0 255 255; > } > } > } > programs { > program { > name: "set"; > signal: "mouse,clicked,1"; > source: "*button*"; > script { > // If call the function here it works > // toggle(); > new exp[] = "button"; > // These expressions work okay > //if ( !strcmp(exp, "button")) { > //if ( !fnmatch("button", src) ) { > if ( !fnmatch(exp, src) ) { > toggle(); > } > } > } > } > } > } > > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel