Commit 2906e83c authored by Jason Fried's avatar Jason Fried Committed by Facebook GitHub Bot

expose make_optional to cython

Summary: This definition is the same cython uses for make_shared and make_unique

Reviewed By: yfeldblum

Differential Revision: D30232407

fbshipit-source-id: 6a0cf4637721bc9d5e5f7f87f3c0f2b031810a5f
parent 23133cdb
......@@ -22,3 +22,5 @@ cdef extern from "folly/Optional.h" namespace "folly" nogil:
T* get_pointer()
void reset()
void assign(T&& newValue)
cOptional[T] make_optional[T](...) except +
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment