Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #if code_completion
- class Some {
- public var value:Int;
- }
- #elseif neko
- typedef Some = package.neko.Some;
- #elseif
- typedef Some = package.other.Some;
- #else
- // What I want to do (probably similar to C++ declarations):
- function Some.square() {
- value *= value;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement