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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions