// inject 'logme', 'becnhmark' aspects
void foo() { $$(logme) $$(benchmark)
/* ... */
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Merona.Client.cpp.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다. | |
// | |
#include "stdafx.h" | |
#include <string> | |
#include <winsock2.h> | |
#include <windows.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public sealed class Future<T> | |
{ | |
object m = new object(); | |
T storage; | |
bool hasValue = false; | |
public void Produce(T value) | |
{ | |
if (hasValue == true) | |
throw new InvalidProgramException (); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
item | |
quest | |
character | |
savedata | |
window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo | |
attr_accessor :bar | |
visible_owner :bar | |
end | |
class Chicken | |
def initialize | |
@foo = Foo.new | |
@foo.bar = 1234 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test_lemon.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다. | |
// | |
#include "stdafx.h" | |
#include <stdlib.h> | |
#include <Windows.h> | |
#include <setjmp.h> | |
//jmp_buf co; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Minipack | |
class Package | |
end | |
class Item | |
end | |
def load path | |
end | |
end |