Forum > General >

who can tell me why return nil

Posts: 2

Threads: 1

Joined: Jan, 2021

Reputation: 0

Posted

static int auxupvalue(DWORD rL, int get) {

const char* name;

int n = r_lual_checkinteger(rL, 2);

rluaL_checktype(rL, 1, LUA_TFUNCTION);

if (lua_iscfunction(L, 1))  /* cannot touch C upvalues from Lua */

{

printf("f\n");

return 0;

}

else

{

name = get ? r_lua_getupvalue(rL, 1, n) : r_lua_setupvalue(rL, 1, n);

if (name == NULL)

{

return 0;

}

else

{

lua_pushstring(L, name);

lua_insert(L, -(get + 1));

return get + 1;

}

}

 

}

 

custom lib for luau transpiler.

  • 0

DeepPain

Wyvern

Posts: 349

Threads: 3

Joined: Jul, 2020

Reputation: 55

Replied

1.There are no upvalues

2.This won't touch roblox in anyway

3.This won't work in a transpiler

4.You're a skid

  • 0

My Discord is xwyvern

https://i.imgur.com/mH521VR.png

Posts: 2

Threads: 1

Joined: Jan, 2021

Reputation: 0

Replied

no way to do it?

  • 0

Moon

Moon

vip

Posts: 6166

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

@DeepPain

How is he a skid?

  • 0

DeepPain

Wyvern

Posts: 349

Threads: 3

Joined: Jul, 2020

Reputation: 55

Replied

@Moon That is not his

  • 0

My Discord is xwyvern

https://i.imgur.com/mH521VR.png

Moon

Moon

vip

Posts: 6166

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

@DeepPain

How do you know

  • 0

Posts: 1658

Threads: 10

Joined: Sep, 2020

Reputation: 59

Replied

@Moon I recognize that comment 

  • 0

Discord : Doctor Doom#0550

DeepPain

Wyvern

Posts: 349

Threads: 3

Joined: Jul, 2020

Reputation: 55

Replied

@Moon First of all from his buffonary, this would never in a million years work on a transpiler.

  • 0

My Discord is xwyvern

https://i.imgur.com/mH521VR.png

Posts: 673

Threads: 30

Joined: Aug, 2020

Reputation: 6

Replied

man got exposed by @DeepPain lol

  • 0

eb_

Formally known as Shade

vip

Posts: 920

Threads: 4

Joined: Jun, 2020

Reputation: 44

Replied

@Moon what ever deep says goes 

  • 0

https://media.discordapp.net/attachments/1010636204225601659/1012865624797610044/sKQybOLT.gif

Moon

Moon

vip

Posts: 6166

Threads: 262

Joined: Aug, 2020

Reputation: 78

Replied

@eb_

fair enough

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )