sratom_set_env

void sratom_set_env(Sratom *sratom, SerdEnv *env)

Set the environment for reading or writing Turtle.

This can be used to set namespace prefixes and a base URI for sratom_to_turtle() and sratom_from_turtle().