Skip to content

Support for "ref pointer" as arg in function calls#5

Open
step2back wants to merge 1 commit intomascarenhas:masterfrom
step2back:master
Open

Support for "ref pointer" as arg in function calls#5
step2back wants to merge 1 commit intomascarenhas:masterfrom
step2back:master

Conversation

@step2back
Copy link

C function interface

EXPORT(int) getSPAMREF(void **ptr)

handling by alien

f:types("int", "ref pointer")

Loot at test_alien.lua for completed test.

@mascarenhas
Copy link
Owner

HI, sorry for ignoring your pull request for so long. core.c is in flux right now, with changes from two other users. But your patch looks very interesting, so I will be reviewing it again after the others are done. Thanks!

@dalbani
Copy link

dalbani commented Jul 15, 2013

What's the status of this pull request?
I'd like to be able to call functions like int mosquitto_sub_topic_tokenise(const char *subtopic, char ***topics, int *count).
Shouldn't this ref pointer feature help me interact with this functions? (see the char *** parameter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants