Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
6c4e6bd9ab
  1. 2
      iguana/SuperNET_category.c
  2. 2
      iguana/iguana_bitmap.c
  3. 1
      includes/iguana_apideclares.h

2
iguana/SuperNET_category.c

@ -32,7 +32,7 @@ bits256 calc_categoryhashes(bits256 *subhashp,char *category,char *subcategory)
struct category_info *category_find(bits256 categoryhash,bits256 subhash)
{
char str[65]; struct category_info *cat=0,*sub = 0;
struct category_info *cat=0,*sub = 0;
HASH_FIND(hh,Categories,categoryhash.bytes,sizeof(categoryhash),cat);
if ( cat != 0 )
{

2
iguana/iguana_bitmap.c

@ -1195,7 +1195,7 @@ STRING_AND_TWOINTS(mouse,image,name,x,y)
STRING_ARG(mouse,close,name)
{
printf("mouse CLOSE (%s) x.%d y.%d\n",name);
printf("mouse CLOSE (%s)\n",name);
return(clonestr("{\"result\":\"closed\"}"));
}
#include "../includes/iguana_apiundefs.h"

1
includes/iguana_apideclares.h

@ -53,6 +53,7 @@ STRING_AND_TWOINTS(mouse,change,name,x,y);
STRING_AND_TWOINTS(mouse,click,name,x,y);
STRING_ARG(mouse,close,name);
STRING_ARG(mouse,leave,name);
STRING_AND_INT(keyboard,key,name,c);
STRING_ARG(SuperNET,getpeers,activecoin);
TWO_ARRAYS(SuperNET,mypeers,supernet,rawpeers);

Loading…
Cancel
Save