* Initializes an elementwriter to write to the specified field of an object. */
| 1634 | * Initializes an elementwriter to write to the specified field of an object. |
| 1635 | */ |
| 1636 | void |
| 1637 | PgbsonInitObjectElementWriter(pgbson_writer *objectWriter, |
| 1638 | pgbson_element_writer *elementWriter, |
| 1639 | const char *path, uint32_t pathLength) |
| 1640 | { |
| 1641 | elementWriter->isArray = false; |
| 1642 | elementWriter->objectWriterState.objectWriter = objectWriter; |
| 1643 | elementWriter->objectWriterState.path = path; |
| 1644 | elementWriter->objectWriterState.pathLength = pathLength; |
| 1645 | } |
| 1646 | |
| 1647 | |
| 1648 | /* |
no outgoing calls
no test coverage detected