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

Function pointer naming #947

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

SunSerega
Copy link
Contributor

Currently, function pointers definitions are placed inside <command> and require full-on parsing to properly interpret, because there are no tags to separate parameters and return type.

Also, the cl_arm_printf extension requires its own function pointer type, but there is nowhere to define it in XML.


So, I've added <type category="function"> tags. I've also merged function pointer types with the same parameters under a common name. Including cases where original spacing differs:

clEnqueueSVMFreeARM:

void * svm_pointers[], void *user_data

clEnqueueSVMFree:

void* svm_pointers[], void* user_data

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.

1 participant