mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
Fix signature of create_object. (#39)
This commit is contained in:
committed by
Philipp Moritz
parent
94ad12ff64
commit
1adafee6d3
+5
-5
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user