On Thu, 2009-01-01 at 12:58 +1100, Carsten Haitzler wrote: > 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. >
I'll take that to mean I'm not crazy and it is a bug. http://trac.enlightenment.org/e/ticket/178 > > 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(); > > } > > } > > } > > } > > } > > } > > > > > >
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel