diff --git a/HISTORY.rst b/HISTORY.rst index c4c8bdb6..0c3c42fe 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -4,7 +4,7 @@ History X.Y.Z (YYYY-MM-DD) ------------------ -* Introduce a more canonical C++ project structure (:pr:`57`) +* Introduce a more canonical C++ project structure (:pr:`57`. :pr:`59`) * Consistently use CamelCase throughout the C++ layer (:pr:`56`) * Support getcol, tabledesc and getcoldesc (:pr:`55`, :pr:`58`) * Enable initial OSX support in the build process (:pr:`54`) diff --git a/arcae/arrow_tables.pxd b/arcae/arrow_tables.pxd index e1ad8e26..613677f3 100644 --- a/arcae/arrow_tables.pxd +++ b/arcae/arrow_tables.pxd @@ -13,12 +13,12 @@ cdef extern from "" nogil: cdef unsigned int UINT_MAX -cdef extern from "../cpp/arcae/service_locator.h" namespace "arcae" nogil: +cdef extern from "arcae/service_locator.h" namespace "arcae" nogil: cdef cppclass CServiceLocator" arcae::ServiceLocator": @staticmethod CConfiguration & configuration" ServiceLocator::configuration"() -cdef extern from "../cpp/arcae/configuration.h" namespace "arcae" nogil: +cdef extern from "arcae/configuration.h" namespace "arcae" nogil: cdef cppclass CConfiguration" arcae::Configuration": void Set" Configuration::Set"(const string & key, string value) CResult[string] Get" Configuration::Get"(const string & key) @@ -26,10 +26,10 @@ cdef extern from "../cpp/arcae/configuration.h" namespace "arcae" nogil: vector[string] GetKeys" Configuration::GetKeys"() size_t Size" Configuration::Size"() -cdef extern from "../cpp/arcae/descriptor.h" namespace "arcae" nogil: +cdef extern from "arcae/descriptor.h" namespace "arcae" nogil: cdef CResult[string] CMSDescriptor" arcae::MSDescriptor"(const string & table, bool complete) -cdef extern from "../cpp/arcae/safe_table_proxy.h" namespace "arcae" nogil: +cdef extern from "arcae/safe_table_proxy.h" namespace "arcae" nogil: cdef cppclass CCasaTable" arcae::SafeTableProxy": @staticmethod CResult[bool] Close" SafeTableProxy::Close"() @@ -45,7 +45,7 @@ cdef extern from "../cpp/arcae/safe_table_proxy.h" namespace "arcae" nogil: CResult[bool] AddRows " SafeTableProxy::AddRows"(unsigned int nrows) -cdef extern from "../cpp/arcae/table_factory.h" namespace "arcae" nogil: +cdef extern from "arcae/table_factory.h" namespace "arcae" nogil: cdef CResult[shared_ptr[CCasaTable]] COpenTable" arcae::OpenTable"( const string & filename) cdef CResult[shared_ptr[CCasaTable]] CDefaultMS" arcae::DefaultMS"( @@ -55,7 +55,7 @@ cdef extern from "../cpp/arcae/table_factory.h" namespace "arcae" nogil: const string & json_dminfo) -cdef extern from "../cpp/arcae/complex_type.h" namespace "arcae" nogil: +cdef extern from "arcae/complex_type.h" namespace "arcae" nogil: cdef cppclass CComplexType" arcae::ComplexType"(CExtensionType): shared_ptr[CDataType] value_type" ComplexType::value_type"() string extension_name() diff --git a/arcae/tests/conftest.py b/arcae/tests/conftest.py index b6a640fa..dae113b4 100644 --- a/arcae/tests/conftest.py +++ b/arcae/tests/conftest.py @@ -396,9 +396,6 @@ def generate_getcol_table(path): T.putcell("TIME", i, i) T.putcell("STRING", i, str(i)) T.putcell("NESTED_STRING", i, {"shape": (2, 4), "array": [str(i)] * 2 * 4}) - #T.putcell("NESTED_STRING", i, np.full((2, i + 1), str(i))) - - #[str(i)] * 2 * (i+1) return table_name