Skip to content

string_methods.cpp does not support ChaiScript 6+ #26

Description

@suratovvlad

Function void vector_type(const std::string &type, Module& m) now accepts second parameter and returns nothing.
However you have following code:

  // Add the string_methods module.
  auto stringmethods = chaiscript::extras::string_methods::bootstrap();
  chai.add(chaiscript::bootstrap::standard_library::vector_type<std::vector<std::string>>("StringVector"));
  chai.add(stringmethods);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions