Fix signature of create_object. (#39)

This commit is contained in:
Robert Nishihara
2016-10-12 12:58:15 -07:00
committed by Philipp Moritz
parent 94ad12ff64
commit 1adafee6d3
2 changed files with 11 additions and 11 deletions
+5 -5
View File
@@ -93,11 +93,11 @@ plasma_store_state *init_plasma_store(event_loop *loop) {
}
/* Create a new object buffer in the hash table. */
plasma_object create_object(plasma_store_state *s,
object_id object_id,
int64_t data_size,
int64_t metadata_size,
plasma_object *result) {
void create_object(plasma_store_state *s,
object_id object_id,
int64_t data_size,
int64_t metadata_size,
plasma_object *result) {
LOG_DEBUG("creating object"); /* TODO(pcm): add object_id here */
object_table_entry *entry;
+6 -6
View File
@@ -12,13 +12,13 @@ typedef struct plasma_store_state plasma_store_state;
* @param object_id Object ID of the object to be created.
* @param data_size Size in bytes of the object to be created.
* @param metadata_size Size in bytes of the object metadata.
* @return The new plasma object.
* @return Void.
*/
plasma_object create_object(plasma_store_state *s,
object_id object_id,
int64_t data_size,
int64_t metadata_size,
plasma_object *result);
void create_object(plasma_store_state *s,
object_id object_id,
int64_t data_size,
int64_t metadata_size,
plasma_object *result);
/**
* Get an object: