Skip to content

How can I implement the following functionality? #11

Description

@King8611

Hello, I would like to implement a macro definition feature similar to C++. Here is an example code. Could you please guide me on how to achieve this?

#define GIsShipping

#if GIsShipping then
    #define Log(...) Log(...)
#else
    #define Log(...) 
#endif

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions