Advertisement
Hemirt

Untitled

Jul 20th, 2016
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. char** array;
  2.  
  3. if(ts3Functions.getPlaybackModeList(&array) == ERROR_ok) {
  4. for(int i=0; array[i] != NULL; ++i) {
  5. printf("Mode: %s\n", array[i]);
  6. ts3client_freeMemory(array[i]); // Free C-string
  7. }
  8. ts3client_freeMemory(array); // Free the array
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement