Comment
Comment by mc808
Neither one of those is substantial enough for copyright. They should be considered in the context of a whole body of work. Using books as an analogy, an API most closely resembles chapters and headings. Is it copyright infringement to write a new book that follows the same outline as a previous book? (I don't know...)