Skip to content

Instantly share code, notes, and snippets.

@asandroq
Created June 24, 2009 19:17
Show Gist options
  • Save asandroq/135461 to your computer and use it in GitHub Desktop.
Save asandroq/135461 to your computer and use it in GitHub Desktop.
void sly_io_write_c_string(sly_state_t *S, const char* s, sly_oport_t *port)
{
const char *p;
for(p = s; p; p++) {
port_write_char(S, port, (sly_char_t)*p);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment