1
0
Fork 0

Avoid a naming clash on 'canvas'

This commit is contained in:
James Turner 2012-08-03 10:21:26 +01:00
parent c3de8851f8
commit f94b2d127b

View file

@ -232,7 +232,7 @@ static naRef f_canvas(naContext c, naRef me, int argc, naRef* args)
// Table of extension functions. Terminate with zeros.
static struct { const char* name; naCFunction func; } funcs[] = {
{ "canvas", f_canvas },
{ "getCanvas", f_canvas },
{ 0, 0 }
};