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
(defun replace-word-at-point () | |
(interactive) | |
(save-excursion | |
(let ((regexp (concat "\\_<" (current-word) "\\_>")) | |
(replacement (read-from-minibuffer | |
(concat "Replace " (current-word) " with: ") ""))) | |
(re-search-backward "\\_<") | |
(replace-regexp regexp replacement)))) |
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
[ | |
{ | |
"tag": "typedef", | |
"name": "A_int", | |
"location": "test.cpp:9:19", | |
"type": { | |
"tag": ":class", | |
"name": "A", | |
"id": 1 | |
} |
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
[ | |
{ | |
"tag": "function", | |
"name": "fun", | |
"location": "test3.cpp:6:16", | |
"variadic": false, | |
"inline": false, | |
"storage_class": "none", | |
"template": [ | |
{ |
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
keycode 34 = parenleft braceleft | |
keycode 35 = parenright braceright | |
keycode 18 = 9 bracketleft | |
keycode 19 = 0 bracketright |
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
(defclass finalize-test () ()) | |
(defmethod initialize-instance ((instance finalize-test) &key &allow-other-keys) | |
(bt:make-thread (lambda () (sleep 300))) | |
(tg:finalize instance | |
(lambda () | |
(format t "I am all done.~%")))) | |
(make-instance 'finalize-test) |
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
(progn | |
(cffi:defcstruct #1=#:anon-type-1646 | |
(f :float)) | |
(cffi:defcstruct x | |
(a :int) | |
(b :int) | |
(j :int :count 2) | |
(n (:struct #1#)) | |
(m (:struct #1#)) | |
(next (:pointer (:struct x))))) |
NewerOlder