Exemple #1
0
static int b_test (lua_State *L) {
  lua_Unsigned r = andaux(L);
  lua_pushboolean(L, r != 0);
  return 1;
}
Exemple #2
0
static int b_test (lua_State *L) {
  b_uint r = andaux(L);
  lua_pushboolean(L, r != 0);
  return 1;
}
Exemple #3
0
static int b_and (lua_State *L) {
  lua_Unsigned r = andaux(L);
  lua_pushunsigned(L, r);
  return 1;
}
Exemple #4
0
static int b_and (lua_State *L) {
  b_uint r = andaux(L);
/*  printf("4 r=%d,%u,%x\n",r,r,r);*/
  lua_pushunsigned(L, r);
  return 1;
}