Skip to content

Improvements  #6

@Islam0mar

Description

@Islam0mar

I have forked your library RCRL and used libclang with some changes as the following:

  • Text input is feed to clang.
  • Traverse the parsed code for functions & variables definition "ignore errors".
  • Add export prefix for them and put them in plugin.cpp.
  • Every non-parsed text would be regarded as once in plugin.cpp.
  • Append plugin.hpp with functions prototypes and extern variables.
  • Load library with RTLD_GLOBAL, so variables can be reused.

Your library is very very helpful. Thanks a bunch.

I attracted to your library when I was using a C++17 library and cling--clang5-- wasn't able to handle header files.

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions