Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
e80fd5539d
  1. 2
      iguana/main.c
  2. 2
      pnacl_main.h

2
iguana/main.c

@ -1303,7 +1303,7 @@ void iguana_main(void *arg)
if ( (BIGENDIAN= iguana_isbigendian()) > 0 ) if ( (BIGENDIAN= iguana_isbigendian()) > 0 )
printf("BIGENDIAN\n"); printf("BIGENDIAN\n");
else if ( BIGENDIAN == 0 ) else if ( BIGENDIAN == 0 )
printf("LITTLE ENDIAN\n"); printf("LITTLE ENDIAN arg.%p\n",arg);
else printf("ENDIAN ERROR\n"); else printf("ENDIAN ERROR\n");
mycalloc(0,0,0); mycalloc(0,0,0);
if ( 0 ) if ( 0 )

2
pnacl_main.h

@ -40,7 +40,7 @@ void *CHROMEAPP_NAME(void *arg)
while ( initflag == 0 ) while ( initflag == 0 )
usleep(1000000); usleep(1000000);
PNACL_message("%s start.(%s)\n",CHROMEAPP_STR,(char *)arg); PNACL_message("%s start.(%s)\n",CHROMEAPP_STR,(char *)arg);
CHROMEAPP_MAIN(0);//arg); CHROMEAPP_MAIN(arg);
return(0); return(0);
} }

Loading…
Cancel
Save