meaning - "Do not ... and ..." grammar confusion


I recently read this sentence:



Do not declare this callback function with a void return type and cast the function pointer to LPTHREAD_START_ROUTINE when creating the thread.



and wasn't sure if it was ambiguous or not. Which of these are correct interpretations:




  1. do not declare this callback function with a void return type

  2. do not cast the function pointer to LPTHREAD_START_ROUTINE when creating the thread

  3. do cast the function pointer to LPTHREAD_START_ROUTINE when creating the thread



Edit: I found some example code, seems like (1) and (3) is the intended interpretation.




Comments

Popular posts from this blog

verbs - "Baby is creeping" vs. "baby is crawling" in AmE

commas - Does this sentence have too many subjunctives?

time - English notation for hour, minutes and seconds

grammatical number - Use of lone apostrophe for plural?

etymology - Origin of "s--t eating grin"

etymology - Where does the phrase "doctored" originate?

word choice - Which is the correct spelling: “fairy” or “faerie”?