Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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